Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2006, 02:34 AM
mrsbuzzy mrsbuzzy is offline
 
Join Date: Oct 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 02-02-2006, 04:07 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 02-02-2006, 04:16 PM
mrsbuzzy mrsbuzzy is offline
 
Join Date: Oct 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:10 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.04293 seconds
  • Memory Usage 2,181KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete