[TYPO3-dev] BrowserInfo going beserk...
Martin Kutschker
masi-no at spam-typo3.org
Fri May 21 10:56:56 CEST 2010
JoH asenau schrieb:
>> For the Install Tool I already proposed a change to Patrick Broens to
>> simply use conditional comments for the IE6/7 CSS, but this problem
>> still affects the Typoscript conditions for browser type and version.
>
> Well - maybe you should report these issues here:
> http://forge.typo3.org/projects/backend-cleanup/issues
>
> IMHO we should aim for a solution that will work with each of the supported
> browsers without having to use conditional comments and/or hacks.
Oh yes!
> Since IE6
> currently is setting the least common denominator, we setup some rules in
> our team, to get a CSS that will do a workaround for most of the bugs
> without triggering weird behaviour in other browsers.
>
> *Don't use padding and width/height for the same element
> *Use position:absolute instead of float wherever possible
> *Use float:left and float:right with proper width instead of float:left only
> and marign-right to position 2 "column" elements side by side
> *If you had to use float, use a clearing HTML element instead of the
> clearfix hack
> *Use zoom:1 to trigger "hasLayout"
> *Use filter for transparent PNG files
And for you can use those HTML comment conditions. They are handy and much less hacky then anything
else (in case you need extra CSS for IE).
Masi
More information about the TYPO3-dev
mailing list