I’m not able to get CSS property “margin-top” to work consistently across all broswers (IE, FireFox, Chrome).
.navmenu { list-style: none; padding: 0px; margin-top:16px; }
This works fine in FireFox and Chrome, but does nothing in Internet Explorer.
An example can be seen here : http://www.pogocheats.net/template.php
Nav CSS can be found at : http://www.pogocheats.net/styles/test.css (starting at line : 276)
Is there an easy fix for this?
Rules for list-based menus:
1) Use a CSS reset
2) Don’t style the LI, other than
position:float:ordisplay:3) Put all styling on the A-tag and use
display:block4) Clear your floats (if using them)
See my list tutorial: preview.moveable.com/JM/ilovelists