+ 3
Nothing happened...
i wrote a css code inside head tag using style tag. <style> p{ position:fixed; } </style> </head> <body> <hr color="red"> <p><b><font color="red">W</font>ildlife</b></p> . . . . . </body> </html> everything is working fine but position fixed has no effect..what is wrong? i have saved it as main.html
4 Answers
+ 1
i have try this also but nothing happened
+ 1
do you have somewhere other position instructions? maybe it's getting overwritten by someting.
what marco has written should work.
+ 1
oohh
+ 1
after removing <h1> it worked...i.e-
<p><h1>.........</p>