In Opera, inline style is added to top menu li tags

style=“display: block; float; left” is added to the li tags of the top menu when viewing in Opera. This prevents that menu from being displayed properly. How can I prevent this rewrite from happening and why does it even happen in the first place?

Further explanation of issue:

Normally, in any browser, the li tags for for the top menu look like:

<li class="first-level "><span><a href="index.php">Storefront</a></span></li>
```<br />
<br />
When viewed in Opera, the li tags look like this:<br />
<li class="first-level " style="display: block; float: left"><span><a href="index.php">Storefront</a></span></li>