user99391
user99391

Reputation: 17

<ul> not working properly in IE9?

Hi I have a bizarre problem. When I open my site http://www.blackflow.pl/ in IE9 "Polecamy" section on the blue footer(bottom part) gets messed up. It works when I turn on the "compability mode". When you look at the source it's just a simple list.
Everything works fine on other browsers

Upvotes: 0

Views: 757

Answers (4)

Corbin
Corbin

Reputation: 33457

A <strong> tag as a direct child of a <ul> is invalid HTML. Infact, if you run your webpage through the w3 validator, you'll see that it has 46 errors, quite a few of which are related to that <ul> with a in it.

Edit: Looks like I saw the wrong ul... But the one you're having the problems with has the same error.

Upvotes: 1

krishna
krishna

Reputation: 960

You may render the page as IE8/IE7 like

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>

Upvotes: 0

Elodie
Elodie

Reputation: 152

Your code is wrong on "Polcamy":

<a class="footer" href="http://blackflow.pl/index.php?id=11" target="_self">
<strong>Polecamy</strong>


<li>-Serwis Komputerowy</li>
</a>

Upvotes: 0

alonisser
alonisser

Reputation: 12088

actually this ul isn't the same as the rest - the first "a" element is right under the ul and not inside the first li. this probably what's causing the problem

Upvotes: 0

Related Questions