Help > Layout & Coding Help > Post Reply     

help centering my table

Player Avatar
kraken - - White Shepherds
October 5th, 2013 6:31:16pm
11 Posts
Hi everyone. I'm having trouble getting my table centered on my page. I pulled the code off an old account. About two years ago, good old
tags worked, and that's the method that was still in the code, but I'm a huge noob at coding and can't figure out how to fix this...

I would put the code here so y'all could see it but I don't know what tags work for that here.


 


View Comments 1


Player Avatar
Apollo 🏹 Appaloosas
October 5th, 2013 6:37:59pm
949 Posts
< * / * table * > < * table width="100%" * > without the spaces and asterisks :)


 

Player Avatar
kraken - - White Shepherds
October 6th, 2013 12:52:41am
11 Posts
Where should I put that?


 

Player Avatar
misa・irish sport horses
October 6th, 2013 1:05:49am
172 Posts
It should be the very last line of your code!


 

Player Avatar
kraken - - White Shepherds
October 6th, 2013 2:05:38am
11 Posts
I thought so and tried it, but there was no change.


 

Player Avatar
`liato ϟ
October 6th, 2013 11:09:10am
29 Posts
Where you've got this at the beginning:< table width="700" cellpadding="10" cellspacing="0" style="border: 1px solid #8f463c;">

Add 'margin: 0 auto" after #8f463c;

:)


 

Player Avatar
kraken - - White Shepherds
October 6th, 2013 3:41:13pm
11 Posts
Still no change. D:


 

Player Avatar
Apollo 🏹 Appaloosas
October 6th, 2013 3:59:59pm
949 Posts
Remove the forward slash in the < * center * > tag at the beginning of your code


 

Player Avatar
kraken - - White Shepherds
October 6th, 2013 4:59:22pm
11 Posts
Theeeere we go. I didn't even have center tags in my code. Anyway, thank you so much, everyone!


 

View Comments 1