www.webdeveloper.com
Results 1 to 2 of 2

Thread: firefox float right column issues

  1. #1
    Join Date
    Nov 2007
    Posts
    38

    firefox float right column issues

    Hi,

    Could someone please correct my CSS as to why it will not float the contents section to the right. I want a two column layout with my navigation on the left and main content on the right. It looks fine in IE.

    Thank you!
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2006
    Location
    Newcastle NSW Australia
    Posts
    4,033
    You aren't telling the div how wide it should be - it will widen with contents and drop below the left column if it needs to. Rather than float the #contents div, just give it a left margin sufficient to clear the left column :
    Code:
    #contents
    {
    	margin: 0 20px 40px 200px;
    }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles