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.

How to change table row size?

View previous topic View next topic Go down

Solved How to change table row size?

Post by blackrose538 on November 21st 2011, 10:36 am

Hello!
I am currently using phpBB2 and I want to know how I can change the width of the table rows.
e.g. make the table row for "Categories" smaller and the one for "Last Posts" bigger?
Can anyone help me with this?

Forum URL: http://csi-miami-rpg.go-forum.net/

Thank you in advance!


Last edited by blackrose538 on November 21st 2011, 11:02 am; edited 1 time in total

blackrose538
Forumember

Female Posts : 36
Reputation : 1
Language : English, German
Location : Germany

Back to top Go down

Solved Re: How to change table row size?

Post by Guest on November 21st 2011, 10:52 am

It's very simple. Go to Administration Panel => Display => Templates => index_box => Edit => Find this code:
Code:
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
This code is for column "Categories";

Code:
<th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
This code is for "Last post" column;

In both codes you see width="something". Well:
in first code --> 100% = this is 100% width, you can replace % by pixels, exanple(300);
in second code --> 150 = 150 pixels, you can change the value too.

So, by playing with this values you can change the width. Razz

Guest
Guest


Back to top Go down

Solved Re: How to change table row size?

Post by blackrose538 on November 21st 2011, 11:01 am

Ha! didn't know it was that easy!
Thank you very much! Smile

blackrose538
Forumember

Female Posts : 36
Reputation : 1
Language : English, German
Location : Germany

Back to top Go down

Solved Re: How to change table row size?

Post by ankillien on November 21st 2011, 11:06 am

Topic Solved

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

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