How to change text position in html (as like height and width) . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to change text position in html (as like height and width) .

5th Dec 2021, 2:53 AM
Sunny Sarovar
7 Answers
+ 2
1. text-align 2. Margin 3. Position 4. Display Flex 5. Float
5th Dec 2021, 3:10 AM
zexu knub
zexu knub - avatar
+ 1
Sunny Sarovar, To be on the same page, can you share a link to your code in your thread Description above? ☝ Here's how ... https://www.sololearn.com/post/75089/?ref=app
5th Dec 2021, 3:53 AM
Ipang
+ 1
p.line2{ margin-left: 15px; } p.line3{ padding-left: 15px; } https://code.sololearn.com/W5KRhvH2ME71/?ref=app
6th Dec 2021, 9:29 AM
Gordon
Gordon - avatar
0
I know about text-align,margin,float but it is not working . In my code I am only using text-align :right ;but I want to change position like 15px or etc
5th Dec 2021, 3:43 AM
Sunny Sarovar
0
привет
15th Dec 2021, 4:49 AM
Валичон
0
Мне нужно твое помош
15th Dec 2021, 4:49 AM
Валичон
0
друзя
15th Dec 2021, 4:49 AM
Валичон