Log in

View Full Version : Need help with table widths


Brent H
10-04-2004, 05:20 AM
Hey everyone.

I'm modding my templates a little to get them how I like it, and everything is fine except for two things.

First thing:
http://www.hoytroid.com/forums/forumdisplay.php?f=16

You can see that where the envelope icons are, there's an extra table thing to the right of it. I don't know where to change the template to fix this.

Second thing:
http://www.hoytroid.com/forums/showthread.php?t=38

The post area isn't as wide as the rest of everything else. I have no idea what to change on this either.

Thank you for your help. This is probably pretty freaking easy, but it's late and I'm tired and not thinking too clearly.

Peace.

Brent H
10-06-2004, 06:06 PM
Anybody? I'm sure this is really easy.....

I just need the post area to be the same width as everything else. Please help me :)

peterska2
10-06-2004, 10:25 PM
OK

First Thing

You appear to have not got a default post icon set which is what would normally be in this column. Take a look at this forum http://www.hoytroid.com/forums/forumdisplay.php?f=26 and you will see what I mean as the column has got the post icon in there.

Second Thing

Make sure that in your POSTBIT and POSTBIT_LEGACY you have the following near the top of the template

<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

If it does NOT say width="100%" then change it to this as this is where your problem is.

Brent H
10-07-2004, 02:37 AM
Thank you :)

I looked in my postbit_legacy template and it does say 100%.... I'm not sure what the problem would be then. Any ideas?

croft
10-07-2004, 03:12 AM
Thank you :)

I looked in my postbit_legacy template and it does say 100%.... I'm not sure what the problem would be then. Any ideas?

Open the postbit legacy template and search for this code.

<div style="padding:0px 25px 0px 25px">

Replace it with this code.


<div style="padding:0px 0px $stylevar[cellpadding]px 0px">

That should take care of it i hope =)

Brent H
10-07-2004, 04:48 AM
Sweetness.

Thanks to both of you. That second code was the code that was already in my template, but you helped me track it down. It was in the "Replacement Variable Manager". There was a setting in there called "Spacer Size (pixels)" and it was set to 25. I set it to 0 and it fixed it.

Thanks again.