[TYPO3] IE messes with css

tapio tapio.markula at dnainternet.net
Wed Jan 4 23:08:24 CET 2006


Ries van Twisk wrote:
> You can use padding actually, because sometimes you need them.
> 
> .column160left {
>    width:152px !important;
>    width:160px;
>    float:left;
>    padding:4px;
> }
> 
> The above is a example.
> One width is for IE, the other one for FF.

FF reads both of them like IE.
I can't figure how this could be a working solution
becaus the width is now 152px both for IE and FF.
IE supports !important properly.


At least this works

  .column160left {
     width:160px;
     float:left;
     padding:4px;
  }

*[class=""]{width:152px} /* MS IE doesn't understant this but FF and 
Opera does */
If you use *[id=... put !important.



More information about the TYPO3-english mailing list