/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ul {display: inline-block} /* trigger hasLayout in IE */ ul {display: block} /* reset to default (triggered hasLayout will stay) */ ul {overflow: hidden} /* clear floats in good browsers */ Combine all 3 into single ul element style.