View Full Version : need help in css
anoop
03-20-2007, 02:06 PM
hi,
https://graphicalsystemsusa.com/contest/contest.aspx
this link is working properly in all browser except than IE 7.0
plz help me to adjust table in center, thanks
killerchutney
03-20-2007, 05:34 PM
Is the form and the bar down the right hand side in the table, or in a div?
Sparaker
03-21-2007, 04:17 PM
If you want the table to be placed in the center then you could either use the old HTML way of using the center tag before the table or you could use the new XHTML way placing a div before the table like this:
<div style="text-align:center;"><table>....</table></div>
boxxertrumps
03-21-2007, 08:10 PM
Thats only for text, not block elements.
this:
<table style="margin:0 auto;">
Sparaker
03-22-2007, 08:45 AM
Thats only for text, not block elements.
this:
<table style="margin:0 auto;">
Adding margin:0 auto; along with the text-align:center; css can align just about anything to the center. ;)
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.