[TYPO3] Image right or below text depending on layout width?
bedlamhotel at gmail.com
Fri Apr 28 16:29:23 CEST 2006
On 4/28/06, Gebhardt Thomas <gebhardt at hrz.uni-marburg.de> wrote:
> You're right. "display: inline;" is nonsense here and has no effect.
> 1. Is there some strange reason why the author of css-styled-imgtext
> uses " float: left; display: inline; " here?
Most of the time when you see strange css in relation to a floated
element, it's to fix an IE Win float bug--and there are countless
float (really 'haslayout') bugs in IE for Windows. I haven't analyzed
the new imagetext's html / css, but I suspect this is the real reason.
Just for example, 'display:inline' on a floated element will fix IE's
'doubled margin float bug' ; if I recall correctly it works on some
other 'haslayout'  type bugs in IE too.
More information about the TYPO3-english