0
position: fixed; doesn't work...
Hi. I don't understand why when I write h1{ position: fixed;} in CSS for any element, that element disapears in a navigator. Help...
5 Respuestas
+ 4
Rigobert EKWA MOUNGUI
Can you please share the code here
+ 2
https://code.sololearn.com/WQIPJlBNjxSF/?ref=app
This may help.
Position:fixed is used to make element fixed when you scroll the page.
+ 1
In HTML, for exemple,when I write
<h1>homepage<\h1>
Then in CSS, I write
h1
{position :fixed;
}
The h1 element disapears in a navigator. Why?
+ 1
<h1>homepage</h1>
Sorry.
But any kind of position works.
+ 1
Ok. I try. Thanks