vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need a little help (https://vborg.vbsupport.ru/showthread.php?t=106954)

mrsbuzzy 02-02-2006 02:34 AM

Need a little help
 
I'm modifying my website forums.

my community is http://www.parent-2-parent.com/forum
you can log in under testing with the password of testing.

When logged in you'll only see 2 boards: Towne Centre (the way all our boards currently look) and the "Testing Style" board which is in the early stages of modifications.

I'm having problems with the coding.

If you look at the 'buttons' at the top for 'boards', 'donate', 'shopping' etc... you'll see space between them as well as space below them.

I don't know why.

In my control panel under user CSS I have these settings:
Main Table Width 100%
Spacer Size 0
Outer Border Width 0
Inner Border Width 1
Table Cell Padding 2 (I tried 0 and it didn't help this problem)
Forum Element Spacer Size 0
etc..

Here's the coding I used for the Table I have the buttons and the bar below the buttons:


Code:

<table width="100%">
<tr><td>
<img src="http://www.parent-2-parent.com/image...ons/boards.jpg">
<img src="http://www.parent-2-parent.com/image...ons/donate.jpg">
<img src="http://www.parent-2-parent.com/image...s/shopping.jpg">
<img src="http://www.parent-2-parent.com/image...wristbands.jpg">
<img src="http://www.parent-2-parent.com/image...newsletter.jpg">
</td></tr>
<tr bgcolor="#F30089"><td align="center" valign="center" cellpadding="2">
<font color="#FFFFFF" size=2 align="center"><B><center>Help support Parent-2-Parent, ~ <i>Parents Supporting Parents</i></center></b></font></td>
</tr>
</table>

I want the buttons to touch and I want the buttons to sit ON the pink bar...

Anyone have any idea what I'm doing wrong?

Hellcat 02-02-2006 04:07 AM

I guess your problem is that HTML render engines treat a linebreak as a space.

Try lining up all your <IMG ... /> tags in one line of code.

So, this:
Code:

<img ... />
<img ... />
<img ... />

should look like this instead:
Code:

<img ... /><img ... /><img ... />
Also be sure not to put any spaces between the tags and just put them directely one after another.

mrsbuzzy 02-02-2006 04:16 PM

Thank you!! I used what you said and tweaked it some more and it worked!
This is the code I used... I think I was just staring at it too long.


Code:

<table width="100%" bgcolor="#F30089"><tr bgcolor="#E6EDE4"><img src="http://www.parent-2-parent.com/images/buttons/boards.jpg"><img src="http://www.parent-2-parent.com/images/buttons/donate.jpg"><img src="http://www.parent-2-parent.com/images/buttons/shopping.jpg"><img src="http://www.parent-2-parent.com/images/buttons/wristbands.jpg"><img src="http://www.parent-2-parent.com/images/buttons/newsletter.jpg"></tr><tr bgcolor="#F30089"><td align="center" valign="center" cellpadding="2"><font color="#FFFFFF" size=2 align="center"><B><center>Help support Parent-2-Parent, ~ <i>Parents Supporting Parents</i></center></b></font></td></tr></table>


All times are GMT. The time now is 09:55 AM.

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.01034 seconds
  • Memory Usage 1,722KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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