[TYPO3] IE messes with css
Tyler Kraft
headhunterxiii at yahoo.ca
Wed Jan 4 14:49:52 CET 2006
But AFAIK only if the content is a block level item or it has assign
width that exceeds the column width.
Elise Daans wrote:
> yess, if the content you put in tis too big then IE just makes the culomn
> more wide ..
>
> "Tim Riemenschneider" <lists-05 at tim-riemenschneider.de> wrote in message
> news:mailman.1.1136380998.10143.typo3-english at lists.netfielders.de...
>
>>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