I'm having trouble postioning some elements using a class definition i wrote in one of my CSS. Currently the class looks like this:
.menu {position:absolute; font: bold 15px arial, helvetica, sans-serif; color:black; background-color:#0000b3; top:200px; left:320px }
this class is associated with a div tag in my html document and i want to be able to center the contents of the tag instead of using the "left" property. I tried text-align and align properties but neither seem to work.
any help would be greatly apprecied.
Thanks
.menu {position:absolute; font: bold 15px arial, helvetica, sans-serif; color:black; background-color:#0000b3; top:200px; left:320px }
this class is associated with a div tag in my html document and i want to be able to center the contents of the tag instead of using the "left" property. I tried text-align and align properties but neither seem to work.
any help would be greatly apprecied.
Thanks