HighDots Forums  

Different table size in IE6 and N7

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Different table size in IE6 and N7 in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Horst Rotenholzer
 
Posts: n/a

Default Different table size in IE6 and N7 - 12-07-2003 , 10:37 AM






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;
}


Reply With Quote
  #2  
Old   
Martin Honnen
 
Posts: n/a

Default Re: Different table size in IE6 and N7 - 12-07-2003 , 11:46 AM








Horst Rotenholzer wrote:

Quote:
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/



Reply With Quote
  #3  
Old   
Horst Rotenholzer
 
Posts: n/a

Default Re: Different table size in IE6 and N7 - 12-08-2003 , 09:26 AM



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:

Quote:

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.


Reply With Quote
  #4  
Old   
Matthias Gutfeldt
 
Posts: n/a

Default Re: Different table size in IE6 and N7 - 12-08-2003 , 09:31 AM



Horst Rotenholzer wrote:
Quote:
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



Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.