0

How do I move paragraphs around with CSS?

I've been trying to move paragraphs and text around with CSS, but it hasn't been working. I've been doing this: HTML: <p class="welcome"> some text here </p> CSS: p.welcome { top: 20px; } But it's not working. Am I doing it wrong?

9th Jan 2017, 1:28 AM
TheDwarvesCarst
3 Answers
+ 5
add in position: relative
9th Jan 2017, 2:02 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
You have the right idea because I see what your trying to do. This link might help you out. http://www.homeandlearn.co.uk/WD/wds6p2.html Let me know if it helps :)
9th Jan 2017, 2:04 AM
Aquarius
Aquarius - avatar
0
thanks people, the advice really helped! :D
9th Jan 2017, 2:38 AM
TheDwarvesCarst