[TYPO3] IE messes with css

Tim Riemenschneider lists-05 at tim-riemenschneider.de
Wed Jan 4 14:23:18 CET 2006


Tyler Kraft schrieb:
> It invloves IE being in quirks mode (like dmitry said) and the box model
> 
> So it should actually be:
> TD#content {
>  padding-left: 0px;
>  padding-right: 5px;
>  padding-top: 15px;
>  vertical-align: top;
>  width: 300px;
>  word-wrap: break-word;
>  overflow: hidden;
> }
> 
> * html TD#content {
>   width: 305px; /* IE 5 */
>   w\idth: 300px; /* IE 6 */
> }

wouldn't that mean that IE6 uses the same width as Firefox?

The site I had this problem on was http://www.p-g-e.de/
(instead of the css-hack I used conditions and two different stylesheet 
files
http://www.p-g-e.de/fileadmin/template/stylepge_ie.css
and
http://www.p-g-e.de/fileadmin/template/stylepge.css
since I didn't know of the hack that time.)

the stylesheets only differ in
IE:
#content {
	width:710px;  /* <--------
                 padding:5px;
}
other:
#content {
	width:700px;  /* <--------
                 padding:5px;
}

but as I said, here the content-area was too small in IE,
whereas in the example of the orig. poster it was too wide
in IE, so is this still the same problem?

cu
   Tim



More information about the TYPO3-english mailing list