Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with table display in Internet Explorer 8

    I'm working on a web page and I'm having trouble with table height. I just updated to IE8, and noticed that my tables seem to have a minimum height of 60 pixels. I have a horizontal menu bar with table properties defined in css. I had it at 50 pixels high, I even experimented with smaller heights with no trouble controlling the height in IE7. I first thought it had something to do with the css, but then I noticed that another table, this one just straight html with no frills, also increased to 60px high when I updated to IE8.

    I found that I could increase the height as much as I want, but can't reduce it below 60px. I'm not sure how to fix this other than settling for 60px high tables, or passing out leaflets convincing people not to update to IE8.

    I would include code, but it's basic: table, tr, td, etc. I am using php with an Apache server. I can't imagine that I would have to alter my configurations just to have a plain html table at less than 60px. Any suggestions?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Any suggestions?
    Yes, the use of tables for making layout is very bad!

    Can we have a link to your page?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post
    Do the cells have anything in them? If there is text in there, or even   then it will not allow you to make it smaller than the text.

    Also, try ensuring the cell-padding is set to 0.

    Hope this helps
    www.WeDoHost.co.uk - Affordable & Friendly UK Web Hosting, Domains and Web Design services.
    Hosting starting at less than £1 with 40% off voucher "ForumFriend40"

  • #4
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I discovered something since I posted my question

    In my tables, even in the ones with just text, I was using css classes to format the type. When I removed the classes, the cell heights returned to normal. I'll experiment some more, I may even discard the tables and use css. I'm new at this and I actually learned css layout before html tables and found css easier to control. I got conflicting advice about which is best, but I think I'll go with my first instinct and 86 the tables.

    Thanks for taking the time to respond, I can see that coding for IE8 will be more of a process than a quick fix.

    My site is for a personal business that is in development, so no link yet. And yes, the cell-padding was at 0, it was just the link to my css that seems to be the culprit in changing the cell heights.
    Last edited by Crescent City; 09-04-2010 at 02:11 PM.


  •  

    Posting Permissions

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