ricardo_t Posted February 1, 2018 Share Posted February 1, 2018 Hi Guys How can I move a Div down (red maeked) I want to position the div under the Header Image. here is my code <div id="navigation"> <ul> <li><a href="index.html">Home</a></li> <li><a href="unser_betrieb.html">Unser Betrieb</a></li> <li><a href="unsere_produkte.html">Unsere Produkte</a></li> <li><a href="markt.html">Markt</a></li> <li><a href="catering.html">Catering</a></li> <li><a href="kontakt.html">Unser Kontakt</a></li> </ul> </div><!-- navigation end--> and the CSS #navigation{ display: block; float: left; clear: both; width: 960px; height: 98px; float: left; clear: both; } Thanks :-) Link to comment Share on other sites More sharing options...
Ingolme Posted February 1, 2018 Share Posted February 1, 2018 Give it a top margin equal to the height of the image. You do not need to float it Link to comment Share on other sites More sharing options...
ricardo_t Posted February 1, 2018 Author Share Posted February 1, 2018 thanks Man :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now