By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,790 Members | 1,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,790 IT Pros & Developers. It's quick & easy.

Different table size in IE6 and N7

P: n/a
Hello,

I was creating a table inside a div element that positions the table.
However, the table (which is "styled" by CSS) does have a different size
in IE6 and N7. Can anyone help me and tell me what´s the reason for this?

Thanks, Horst

CSS stylesheet:

// the table cells
..tab_zellen {
padding:3px;
font-size:16px;
font-family:helvetica,arial,sans-serif;
font-weight:bold;
}

// div element for positioning the table
#SpielTab {
position:absolute;
left:21%;
right:21%;
top:102%;
}

// the table
..hr_tabelle {
border-collapse:collapse;
border-style:solid;
border-width:1px;
}

Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a


Horst Rotenholzer wrote:
I was creating a table inside a div element that positions the table.
However, the table (which is "styled" by CSS) does have a different size
in IE6 and N7. Can anyone help me and tell me what´s the reason for this?
CSS stylesheet:

// the table cells
.tab_zellen {
padding:3px;
font-size:16px;
font-family:helvetica,arial,sans-serif;
font-weight:bold;
}

// div element for positioning the table
#SpielTab {
position:absolute;
left:21%;
right:21%;
top:102%;
}

// the table
.hr_tabelle {
border-collapse:collapse;
border-style:solid;
border-width:1px;
}

It is hard to tell without seeing the markup.
Are you aware that IE6 doesn't implement the CSS box model unless you
force it to standards compliant rendering mode by providing a HTML
DOCTYPE declaration?
http://msdn.microsoft.com/library/de...hancements.asp

Maybe IE6 is in quirks mode and that causes the difference.
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

P: n/a
Hello,

thanks for the tip with the link at MS. Maybe I find there the problem.
However, IE should not be in quirks mode, because I have a xhtml-Doctype
declaration.

Thanks, Horst

Martin Honnen wrote:


Horst Rotenholzer wrote:
I was creating a table inside a div element that positions the table.
However, the table (which is "styled" by CSS) does have a different
size in IE6 and N7. Can anyone help me and tell me what´s the reason
for this? CSS stylesheet:

// the table cells
.tab_zellen {
padding:3px;
font-size:16px;
font-family:helvetica,arial,sans-serif;
font-weight:bold;
}

// div element for positioning the table
#SpielTab {
position:absolute;
left:21%;
right:21%;
top:102%;
}

// the table
.hr_tabelle {
border-collapse:collapse;
border-style:solid;
border-width:1px;
}


It is hard to tell without seeing the markup.
Are you aware that IE6 doesn't implement the CSS box model unless you
force it to standards compliant rendering mode by providing a HTML
DOCTYPE declaration?
http://msdn.microsoft.com/library/de...hancements.asp
Maybe IE6 is in quirks mode and that causes the difference.


Jul 20 '05 #3

P: n/a
Horst Rotenholzer wrote:
Martin Honnen wrote:
Maybe IE6 is in quirks mode and that causes the difference.


thanks for the tip with the link at MS. Maybe I find there the
problem. However, IE should not be in quirks mode, because I have
a xhtml-Doctype declaration.


It might be in Quirks mode if you have an XML prolog. What's the URL?
Matthias

Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.