I have the following markup:
<div id="routes">
<ul id="routesList">
<li class="routes">Route 1</li>
<li class="routes">Route 2</li>
<li class="routes">Route 3</li>
</ul>
</div>
With the following CSS:
#routes {
height:20px;
width:770px;
overflow:hidden;
}
ul.routesList{
margin:0;
padding:0;
list-style:none;
float:left;
width:auto;
}
I have some javascript with scrolls the #routes div.
The ul.routesList list items render horizontally and overflow but in IE they wrap and overflow vertically in IE?
I have tried using word-wrap but no luck!
Are there any IE quirks going on here or is there something wrong with my CSS/HTML??
Thanks