i'm having a horrible time getting
CSS to center stuff.
i have a div with the text-align attribute set to center but it doesnt seem to do anything. all of the element inside of it still left justify. i'm about 10 seconds away from using center tags instead of a div.
am i missing something here?
- Code: Select all
<div align="center" style="width: 100%; text-align: center">
<div id="commerce-wrapper" style="width: 500px">
<form name="form1" method="post">
<%
MakeConnection()
' Draw Cart
Dim cartID
cartID = GetPublicCartID(Session("userLogID"))
DrawCart cartID
DisConnect()
%>
<input type="hidden" name="cartID" value="<%=cartID%>">
</form>
</div>
</div>