How can I tab text? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How can I tab text?

I want to indent the text in the update log on this code. I want it to be in line with the first character after the date. I can't find it in the SL courses, unfortunately. Suggestions? https://code.sololearn.com/WNU99ShCSlNn/?ref=app

6th Jan 2018, 1:39 AM
Dutch
Dutch - avatar
2 Answers
+ 2
@WASP I can't understand any of that but the css at the beginning might be what I'm looking for! Thanks!
6th Jan 2018, 1:52 PM
Dutch
Dutch - avatar
+ 1
I'm not sure exactly what the desired output is based on the description, but I'll take a stab at it. This answer assumes that what you were referring to by saying "the first character after the date" are the hyphens ("-") and that you want the next line of text to not start directly under the hyphen. There are several ways to tackle this issue with list items, but you have them in a <dt> element, so I won't go over those. For <dt>s, I would try "text-indent: -1em;" or whatever fraction of an em gives you the desired effect. If this causes the hyphen to become hidden, then adding some "padding-left" and fine tuning the measurements should help. If you have any other questions, please don't hesitate to reach out! :)
13th Jun 2018, 11:26 AM
Janningā­
Janningā­ - avatar