Hello, I have a problem with the code that I created. Is there a possibility to ask for help over here? My problem is the following:
I have a webpage with a full-width title bar at the top. Below that is a navigation bar with 4
Hello, I have a problem with the code that I created. Is there a possibility to ask for help over here? My problem is the following:
I have a webpage with a full-width title bar at the top. Below that is a navigation bar with 4
Why do you have position: relative
on that title?
Hello,
??? I don’t see ‘position: relative’ ???
HTML:
<div class="introductie">Welkom bij deze Nederlandse cursus over HTML, CSS, en JavaScript.</div>
CSS:
.introductie {
margin-top: 100px;
font-weight: bold;
position: relative;
text-align: center;
font-size: 30px;
}
Remove the relative positioning and notice that the text now goes under the two sticky elements.
Thank you very much! It works perfectly now…
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.