vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need help with table widths (https://vborg.vbsupport.ru/showthread.php?t=89873)

Brent H 10-04-2004 05:20 AM

Need help with table widths
 
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

Code:

<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

Quote:

Originally Posted by Hoytroid
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.

Code:

<div style="padding:0px 25px 0px 25px">
Replace it with this code.


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.


All times are GMT. The time now is 08:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01182 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete