contao/core — Issue #3822: <figure> element with float does not work in IE8
Author: lionel-m
Created: 2012-01-17 13:00:44+00:00
State: open

An image contained in an element ```

``` with a ```float:left|right``` does not appear in IE8. The element ```

``` has not a defined width...

It's a problem for example with the content element "text" which can have an image with a ```float:left|right```.

I have found a "good" (for IE8) solution on CSS Wizardry.

Quote:

> The final and, in my opinion, most pragmatic solution would be to simply add an inline width and height to the

which is identical to the dimensions of your image, thus: ```

```.

URL: http://csswizardry.com/2011/06/annotated-figures-in-html5-and-css/

Can you add the image width in the ```

``` element with the creation of a content element ?

Or if there is a better solution...