Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: not2easy
Here's another problem I am struggling with ...
I have a menu that consists of a DIV with anchors in it.
<A class="MenuItem" href="">Menu Item 1</A>
<A class="MenuItem" href="">Menu Item 2</A>
In IE, I get a menu with centered menu-items that are aligned left.
In mozilla, I get a menu with everything aligned left.
I guess that Mozilla doesn't allow a text-align center to align block elements within a div ...
How can I do this?
You should set the margins to auto anyway, text-align should be used for text.
border: 1px solid #ccc;
I think this is what you're trying to do. I put borders in to see what was happening.