#1
  1. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Apr 2008
    Posts
    2
    Rep Power
    0

    Div not wrapping with float left


    Hi. I'm trying to create a page with a menu on the lefthand side and a main text area besides it, but firefox renders it with the text area way down below my menu. I cannot figure what I'm doing wrong.
    The page validates as xhtml 1.0 strict.

    The menu bar has float:left and clear:none. the main text area has float:left clear:none. It works in IE, why?

    Please help me or I may be forced to go back to using tables.
    Carol.
  2. #2
  3. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Apr 2008
    Posts
    2
    Rep Power
    0

    Smile


    Originally Posted by carolthom
    firefox renders it with the text area way down below my menu. I cannot figure what I'm doing wrong.
    Well, i figured a way around it, and that was not to float the main text area, putting some padding on the menu div.

    I have a new problem now. (I'm obviously a css beginner ) I want a border down the left and righthand side of my main container div. I've set it to 100% height so that it fills the browser window, but when the page is longer than the browser window, the line stops at only being the height of the window. My menu container div, though, extends down to the bottom of the content with a border longer than the main container. Any ideas why please?

    Carol.

Similar Threads

  1. Need Help on Javascript Menu
    By alfidino in forum HTML, JavaScript And CSS Help
    Replies: 1
    Last Post: April 23rd, 2007, 06:50 AM
  2. Under IE6 my web site renders differently
    By deniz_seasdie in forum HTML, JavaScript And CSS Help
    Replies: 5
    Last Post: March 13th, 2007, 09:27 AM
  3. I'm back!! - Touble with css
    By Megster in forum ASP Development
    Replies: 6
    Last Post: January 26th, 2006, 06:02 AM
  4. Problems with a Query!!
    By balwani_prem in forum ASP Development
    Replies: 2
    Last Post: February 23rd, 2005, 06:11 PM

IMN logo majestic logo threadwatch logo seochat tools logo