SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    May 2008
    Location
    Missouri, USA
    Posts
    273
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Table Height IE Bug

    Hello,

    I've been struggling with IE and trying to get a real simple table working. The CSS I have works fine in firefox and chrome but is not working in IE.

    You can view an example of the problem by opening this URL in IE:
    http://jsfiddle.net/3jeUa/

    My goal is to have the inner table expand to the full height of the outer table.

    Any advice would be greatly appreciated.
    Follow Me On Twitter: BryceRay

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,786
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Why are you using nested tables in the first place? Even in those extremely rare situations where nesting one table inside another makes sense the size of the inner table will always be irrelevant.

    That you are worried about the height indicates that you shouldn't be using a table in the first place and should be setting up the desired layout using CSS instead.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,456
    Mentioned
    61 Post(s)
    Tagged
    2 Thread(s)
    Not an IE bug. height:100% doesn't work that way.

    See the following FAQ post for an explanation about 100% height:
    http://www.sitepoint.com/forums/show...41#post1243541


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
  •