Jump to content
Sign in to follow this  

Moving a Div down

Recommended Posts

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">
                <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>
        </div><!-- navigation end-->


and the CSS


        display: block;
        float: left;
        clear: both;
        width: 960px;
        height: 98px;
        float: left;
        clear: both;


Thanks  :-)


Share this post

Link to post
Share on other sites

Give it a top margin equal to the height of the image. You do not need to float it

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this