The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Centering for Tables

View previous topic View next topic Go down

Solved Centering for Tables

Post by Kira Yuudai on 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
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 on 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
Forumember

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

Back to top Go down

Solved Re: Centering for Tables

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

Thanks. I'll give it a shot.

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 on April 25th 2013, 3:41 pm

Hello,

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

Thank you Smile

EDIT:
Topic Solved & Locked

Jophy
ForumGuru

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

Back to top Go down

View previous topic View next topic Back to top


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