The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Centering for Tables

3 posters

Go down

Solved Centering for Tables

Post by Kira Yuudai April 24th 2013, 4:12 am

Hi,

I didn't know where else to put this so here ya go. Anyways,

Is it possible to center a table? I've been trying to do this and it is not working. For example, I've made a post in which I want to center but it is not allowing me to do, everything else can be centered but that.


Last edited by Kira Yuudai on April 26th 2013, 3:59 pm; edited 1 time in total
Kira Yuudai
Kira Yuudai
Forumember

Male Posts : 104
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Centering for Tables

Post by Azi April 24th 2013, 8:38 pm

Yes, the code
Code:
<center></center>

and
Code:
[center]
will not work, i believe the only way to do this depending on your forum version would be to center it in the actual table code as best you can.

I'm actually not too sure, i've never tried centering a table..

I'm sure you can edit the uh, border-radius, padding, and width, etc to make it appear centered and then maybe do a little something like this,

you need to set the margins, like this:(In the CSS potion of your table, not the BBcode)

table.center {
margin-left:auto;
margin-right:auto;
}
And then do this:

<table class="center">
...
</table>
At this point, Mozilla and Opera will center your table. Internet Explorer 5.5 and up, however, needs you to add this to your CSS as well:

body {text-align:center;}
Azi
Azi
Forumember

Female Posts : 61
Reputation : 1
Language : English/Russian

Back to top Go down

Solved Re: Centering for Tables

Post by Kira Yuudai April 25th 2013, 3:02 pm

Thanks. I'll give it a shot.
Kira Yuudai
Kira Yuudai
Forumember

Male Posts : 104
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Centering for Tables

Post by Jophy April 25th 2013, 3:41 pm

Hello,

Is you problem solved? You can let us know by editing your topic using the edit button Centering for Tables Editer10 and by clicking the solved icon Centering for Tables Solved10 then send. Wink

Thank you Smile

EDIT:
Topic Solved & Locked
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum