Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

HTML table align ceneter?

Ads
destroyer Offline referral

Posts: 430
Joined: Jul 2013
Reputation: 3

#1
Senior Member
How do I align this table in the absolute middle horizontally?
Code:
<table border="0" cellpadding="2">
<tr>
<td>
My stuff
</td>
<td>
My stuff
</td>
</tr>
</table>
001_bored
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#2
Posting Freak
http://www.w3schools.com/tags/att_table_align.asp
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
destroyer Offline referral

Posts: 430
Joined: Jul 2013
Reputation: 3

#3
Senior Member
I don't get it could you add it to my code?
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#4
Support Team
Use this CSS to center your table in the middle

Code:
<style type="text/css">
   table {
   margin-left: auto;
   margin-right: auto;
   }
</style>





User(s) browsing this thread: 1 Guest(s)