View Single Post
  #1 (permalink)  
Old Jun 7th, 2005, 02:34
iemerick iemerick is offline
New Member
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
help with text-align: center

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>
Reply With Quote