Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    15
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Text Zoom Makes one DIV go "under" the one below it

    When I enlarge the text in my browser, my menu grows larger and longer but my div below it with the two rollover images stay put. How do I make them move down when the text resizes so that the menu doesn't get covered up by them?

    Here is the page link:

  • #2
    Regular Coder BoldUlysses's Avatar
    Join Date
    Jan 2008
    Location
    Winston-Salem, NC
    Posts
    938
    Thanks
    10
    Thanked 190 Times in 187 Posts
    Float your #links div. Adding positioning (position:relative or absolute) removes the element from the document flow and causes it to be unaffected by other elements (including being moved around by them when they resize for whatever reason).

    Code:
    #links {
    	margin-top: 40px;
    	float: left;
    }
    matt | design | blog

  • Users who have thanked BoldUlysses for this post:

    glowingnova (04-10-2009)

  • #3
    New Coder
    Join Date
    Jan 2009
    Posts
    15
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thank you so much. That works. I love it when the answer is easy!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •