css width help

Discussion in 'HTML' started by prins.henrik@gmail.com, Feb 17, 2007.

  1. Guest

    My problem is that i can seem to find a cross browser way to force the
    content div to use 100% width when i set the menu div to
    display:none;

    I use left floating for the menu div and the content area right now.

    design with menu
    http://www.lojohnson.se/1.gif

    design without menu
    http://www.lojohnson.se/2.gif

    Please help!
    , Feb 17, 2007
    #1
    1. Advertising

  2. Guest

    On Feb 17, 9:39 am, wrote:
    > My problem is that i can seem to find a cross browser way to force the
    > content div to use 100% width when i set the menu div to
    > display:none;
    >
    > I use left floating for the menu div and the content area right now.
    >
    > design with menuhttp://www.lojohnson.se/1.gif
    >
    > design without menuhttp://www.lojohnson.se/2.gif
    >
    > Please help!


    Try making the content div display to "Block"
    That way when the menu hides it moves the Content block to %100 of
    what's left (only the content)
    , Feb 19, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AndrewF
    Replies:
    1
    Views:
    762
    Bruce Barker
    Oct 10, 2005
  2. Lois
    Replies:
    1
    Views:
    3,215
    Ryan Stewart
    Dec 27, 2004
  3. ppcguy
    Replies:
    3
    Views:
    1,254
    Toby Inkster
    Aug 26, 2005
  4. cera
    Replies:
    1
    Views:
    1,260
    Neredbojias
    Aug 18, 2007
  5. Replies:
    1
    Views:
    736
    Beauregard T. Shagnasty
    Dec 29, 2007
Loading...

Share This Page