+ 1

Why the margin top of p1 is not changing

https://code.sololearn.com/WYIrBbFkl5Xb/?ref=app

24th Jun 2021, 2:44 PM
Harshita Kumari
Harshita Kumari - avatar
5 Respostas
+ 3
Well there is no tag p1 as far as I know.Instead of p1 tag use p tag and use id p1 and then use the id to design the element with css.I think this will work: https://code.sololearn.com/WZ9zcYMtpum8/?ref=app
24th Jun 2021, 3:08 PM
The future is now thanks to science
The future is now thanks to science - avatar
+ 3
write anything instead of p1 try this one <h6 class="date">12/2026</h6> .date{ margin-left:50px; margin-top:30px; }
24th Jun 2021, 3:10 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
24th Jun 2021, 3:12 PM
Harshita Kumari
Harshita Kumari - avatar
0
Heard about p tag but never heard of p1 tag before.
24th Jun 2021, 3:01 PM
The future is now thanks to science
The future is now thanks to science - avatar
0
The future is now thanks to science[LESS ACTIVE] Everything is changing except margin top
24th Jun 2021, 3:03 PM
Harshita Kumari
Harshita Kumari - avatar