.work .nav {
list-style: none;
margin: 0 0 5px 5px;
padding: 0;
position:absolute;
top:248px;
left:15px;
z-index: 2;
}
.work .nav:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.work .nav li {
float: left;
margin-right: 5px;
}
.work .nav li a {
float: left;
display: block;
padding-top: 10px;
width: 10px;
height: 0;
border: 1px solid #ccc;
overflow: hidden;
}
.work .nav li a:hover {
background: #bbb;
}
.work .nav li a.on {
background: #ccc;
}
This is how it looks in Firefox and Internet Explorer. it looks perfect in Firefox but in IE it is messing up.
How can i fix this problem?
Thank you all.