Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-01-2010, 05:03 PM   PM User | #1
Crescent City
New to the CF scene

 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Crescent City is an unknown quantity at this point
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?
Crescent City is offline   Reply With Quote
Old 09-02-2010, 07:30 AM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
Any suggestions?
Yes, the use of tables for making layout is very bad!

Can we have a link to your page?
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 09-02-2010, 03:54 PM   PM User | #3
DomH
New to the CF scene

 
Join Date: Aug 2010
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
DomH is an unknown quantity at this point
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"
DomH is offline   Reply With Quote
Old 09-04-2010, 02:07 PM   PM User | #4
Crescent City
New to the CF scene

 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Crescent City is an unknown quantity at this point
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..
Crescent City is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:09 PM.


Advertisement
Log in to turn off these ads.