dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: DIV height percentage ignored???

  1. #1
    Join Date
    Jan 2003
    Location
    UK
    Posts
    267

    DIV height percentage ignored???

    Hi I was wondering if you'd mind taking a look at this: http://adkm.x10.mx/grr/

    Each navtab's height is set to 23% but this is being ignored - seemingly in favour of wrapping to the content of the layers.

    I don't want to set the height in pixels because I want the page to be scalable for multiple screen resolutions.

    I've tried researching but all I can find is how to make a layer height 100%.

    The navtabs should fill the grey area vertically, but be scalable.

    *sigh* @ divs

    thanks

  2. #2
    Join Date
    Jan 2003
    Location
    UK
    Posts
    267
    It's alright I sorted it. I thought again about the fact that you need to define the parent div's height. I hadn't defined #cell1's height as 100%.

    I love it when a plan comes together!

  3. #3
    Join Date
    Aug 2011
    Posts
    4

    Post div

    in the Div tag just give the height in the style of the div tag.

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