Annoying IE7 problem.

Posted by Yo-L on Stack Overflow See other posts from Stack Overflow or by Yo-L
Published on 2010-04-20T12:08:45Z Indexed on 2010/04/20 12:13 UTC
Read the original article Hit count: 373

Filed under:
|

I am styling a Wordpress theme but has run into problem with IE7.

The first word("it") inside the paragraph/strong tag ends up to the left of the img tag when I want it BELOW the image.

My problem is that the only element I can change CSS properties here is the div, since the code inside is posted with a WYSIWYG by an blog author.

Is there anyway i can fix this problem? I have tried lots of different settings and every other browser FF safari IE8 renders the text below the image.

<div style="width: 430px;">
    <h1>It is hard getting it right in IE7!</h1> 
    <p>
        <img class="aligncenter size-full wp-image-4333"  src="http://xxx.xxx.xx/files/2010/03/xxx.jpg" alt="xxx" style="width: 430px; height: 600px" />
        <strong>It is hard</strong> getting it right in IE7!
    </p>
</div>

© Stack Overflow or respective owner

Related posts about css

Related posts about html