Why is the div background box not growing?

Discussion in 'HTML' started by saurabh9, Oct 10, 2008.

  1. saurabh9

    saurabh9 Guest

    Hi,
    if you open the following site in Firefox 3, the green background is
    not growing in height with the text content. This seems to be working
    fine in Internet Explorer 6 though. What have I done wrong?

    http://www.saurabhkumar.com/rac/school/
    saurabh9, Oct 10, 2008
    #1
    1. Advertising

  2. saurabh9

    saurabh9 Guest

    On Oct 10, 12:17 pm, Ben C <> wrote:
    > On 2008-10-10, saurabh9 <> wrote:
    >
    > > Hi,
    > > if you open the following site in Firefox 3, the green background is
    > > not growing in height with the text content. This seems to be working
    > > fine in Internet Explorer 6 though. What have I done wrong?

    >
    > >http://www.saurabhkumar.com/rac/school/

    >
    > Replace height: 30em on #body with overflow: hidden.
    >
    > Seehttp://netweaver.com.au/floatHousefor explanation.


    Thanks it worked!
    saurabh9, Oct 10, 2008
    #2
    1. Advertising

  3. saurabh9

    Bergamot Guest

    saurabh9 wrote:
    > On Oct 10, 12:17 pm, Ben C <> wrote:
    >> On 2008-10-10, saurabh9 <> wrote:
    >>
    >> > if you open the following site in Firefox 3, the green background is
    >> > not growing in height with the text content.

    >>
    >> >http://www.saurabhkumar.com/rac/school/

    >>
    >> Replace height: 30em on #body with overflow: hidden.

    >
    > Thanks it worked!


    Now you can fix the next problem - spacing in the navigation bar when
    the text line wraps. Try making your text size larger and/or the browser
    window narrower and see what happens.

    --
    Berg
    Bergamot, Oct 10, 2008
    #3
    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. Gnarlodious
    Replies:
    4
    Views:
    17,558
    elizas
    May 5, 2010
  2. growing <div>

    , Sep 25, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    457
    Cowboy \(Gregory A. Beamer\)
    Sep 25, 2006
  3. Replies:
    0
    Views:
    407
  4. growing <div>s

    , Sep 25, 2006, in forum: HTML
    Replies:
    6
    Views:
    625
    Andy Dingley
    Sep 25, 2006
  5. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,762
    Smokey Grindel
    Dec 2, 2006
Loading...

Share This Page