473,382 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

IE ignorming my th or td CSS table height, any fixes?

dlite922
1,584 Expert 1GB
My site has multiple section each divided into tables (I'm using tables because the other developers slept through HTML 101)

The section table must be a certain height and contains a header (th) cell and a td body cell. What IE6 ignores is the height of the th element (which is 20 or 30px). it works fine in FF but in IE6 it takes up almost 40% of the table. As I put content into the body cells it pushes the TH back to correct size in IE6.

IE6 does this because the table height is set to a static value (300px for example), when I remove the value, the table shrinks and the header is the correct size. But A shrunk table does me no good.

Should I just use <DIV>s or do you have a fix for this problem?

To see this in affect until tomorrow (2:00 AM now, going to sleep) my site is at:

http://ctubooks.designsbydan.com/

I'm Using XHTML 1.0 Transitional and yes it does validate :)

I've removed the following code from index.css so it is now empty. To see the affect, add this code in.

Expand|Select|Wrap|Line Numbers
  1. #searchSection {
  2.     width: 100%;
  3.     height: 100px;
  4. }
  5. #browseSection{
  6.     width: 200px;
  7.     height: 300px;
  8. }
simply put: How can I get IE6 to look like what FF looks at this point.

thanks,


Dan
Oct 28 '08 #1
2 3083
Markus
6,050 Expert 4TB
How can I get IE6 to look like what FF looks at this point.
Stop using it ;]
Oct 28 '08 #2
dlite922
1,584 Expert 1GB
How can I get IE6 to look like what FF looks at this point.
Stop using it ;]
Great Advice! But sorry buddy, the world does not like change.

I voted for Obama though!

^.^


Dandrizall
Oct 28 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jochen Daum | last post by:
Hi! Just would be interested, if someone has seen the same behaviour: I have a page with a table, all formatted by CSS where table.classname{ table-layout: fixed; }
12
by: John Robin Devany | last post by:
Hello ciwas world. I've just found this newsgroup, and it looks really useful. I've put an example of some really irritating IE6 behaviour at: http://www.devany.com/example.html This is a...
7
by: Robert Blasius | last post by:
Hello, I've a problem displaying a header content in Internet Explorer. You can view the problem on www.robert-blasius.de The upperimage should be on the left of the middle "line" and the lower...
3
by: TheXenocide | last post by:
Hello, First and foremost I'll describe a bit about my problem: I'm trying to make a site layout using ASP.NET 2.0 in Visual Studio .NET 2005 Beta 2. The site is a table based layout that is...
3
by: Chifo | last post by:
hello. i have a problem with a populate html table with data from table here it's the problem two querys retrieving data from table, one of querys show me a colletion of data from 6:00 am to...
5
by: Michael | last post by:
Is there a way to specify a background-image for a html table cell in a theme's css file. I know a lot of things I can't do... can't figure out one that I can do: 1) ~/ Images/logo.gif...
11
by: Aljosa Mohorovic | last post by:
i would like to recreate table displayed at http://fakanana.com/test/layout_1-3-1.html using css with doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
2
by: A Question | last post by:
Hi, I have a table which I need to display within a div of a fixed width. The length of the table exceeds the width of the div which is ok as I can make the div scrollable. The problem that I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.