SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard Wolf_22's Avatar
    Join Date
    Jul 2005
    Posts
    1,714
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Question about body height...

    I've made a div inside my xhtml that I've dubbed "body" as my container div. If I set the height of this to 50%, will it only fill out to 50% and then have the rest of the content that is filled in it run off the space provded for it???

    The reason I'm asking is because I'm trying to set some sort of growing/floating text in my page, and I'm needing this to be able to have the space to grow into without giving it too much space...

    Thanks

  2. #2
    SitePoint Addict
    Join Date
    Sep 2004
    Location
    uk
    Posts
    240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    it's probably best if you start putting a page together and then post again with any problems you might have.
    i wouldn't call your main container div 'body' though...it's probably best if you name it 'container'. The box will expand to your content though with the correct settings on your content div.

    hope that helps.

  3. #3
    SitePoint Wizard Wolf_22's Avatar
    Join Date
    Jul 2005
    Posts
    1,714
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for the synonomous threads...

    http://www.sitepoint.com/forums/show...08#post2269008


Bookmarks

Posting Permissions

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