WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Make this code show in [center] on Tue Jun 15, 2010 6:45 am

Matti


Registered Member
Registered Member
I use this for my signature but I would like to show in center, I tried but I can't seems to do it.

Code:
[table width="470" cellspacing="1" style="border:0px;"]  [tr][td height="60" colspan="0" background="http://i62.servimg.com/u/f62/14/52/65/41/niceon11.png" style="text-align: center; font-size: 14px; color: #FFF; font-family: Verdana, Geneva, sans-serif; font-weight: bold;"]Today {FORUMNAME} have:

 {FORUMCOUNTPOST} Posts: | {FORUMCOUNTOPIC} Topics: | And {FORUMCOUNTUSER} members:[/td]  [/tr][/table]

2 Re: Make this code show in [center] on Tue Jun 15, 2010 1:20 pm

Russel


WebArtz Moderator
WebArtz Moderator
Hello.

Use this new code.

Code:
[table width="470" cellspacing="1" style="border:0px;  margin-left: auto; margin-right: auto;"]  [tr][td align="right" height="60" colspan="0" background="http://i62.servimg.com/u/f62/14/52/65/41/niceon11.png" style="text-align: center; font-size: 14px; color: #FFF; font-family: Verdana, Geneva, sans-serif; font-weight: bold;"]Today {FORUMNAME} have:

 {FORUMCOUNTPOST} Posts: | {FORUMCOUNTOPIC} Topics: | And {FORUMCOUNTUSER} members:[/td] [/tr][/table]


I have just added margin-left: auto; margin-right: auto; on the style of the table to have balance size of both sides.


Output:

Today WebArtz - The Web Design Forum have:

41374 Posts: | 2990 Topics: | And 947 members:


_________________





No Support Via PM
http://facebook.com/russelpuge

3 Re: Make this code show in [center] on Tue Jun 15, 2010 8:09 pm

Matti


Registered Member
Registered Member
Thank you very much this is solved now Smile

4 Re: Make this code show in [center] on Wed Jun 16, 2010 4:35 am

Russel


WebArtz Moderator
WebArtz Moderator
Solved => Locked


_________________





No Support Via PM
http://facebook.com/russelpuge

View previous topic View next topic Back to top  Message [Page 1 of 1]

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