vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Lose spacing between JPG-links (https://vborg.vbsupport.ru/showthread.php?t=218814)

tijmen_4real 07-17-2009 02:20 PM

Lose spacing between JPG-links
 
1 Attachment(s)
Hi,

I made a custom CMPS-module, with 3 JPG's performing as links:

HTML Code:

<tr>
<td class="$bgclass" width="50%">
<!-- Banner 1: Heemskerk Hyves -->
<a href="http://gekopgroenten.hyves.nl" target="_blank"><img src="http://www.deorvanheemskerk.nl/banners/banner1.jpg" border="0"/>
</a>
<!-- regel vrij naar volgende banner -->
<br/>
<!-- Banner 2: SoldaatMuis -->
<a href="http://www.soldaatmuis.com" target="_blank"><img src="http://www.deorvanheemskerk.nl/banners/banner2.jpg" border="0"/>
</a>
</td>
<td class="$bgclass" width="50%" rowspan="2">
<!-- Banner 3: hier adverteren? -->
<a href="http://www.deorvanheemskerk.nl/sendmessage.php" target="_blank"><img src="http://www.deorvanheemskerk.nl/banners/banner3.jpg" border="0"/>
</a>
</td>
</tr>

I can't use the main <table> tag, but only the <td> and <tr>, for the module wrapper template.

But, the module gives some unwanted spacing/padding between the links, see the attachments.

Also, the top blue rectangle seems to stop in IE, but go on over the full width in FF? :S

I want them both to be like the FF printscreen, but without the spacing between the left ads.

How does the HTML has to be?
Greetz,

tijmen_4real :cool:

Lynne 07-17-2009 03:02 PM

Cellpadding and cellspacing are table attributes. If you can't modify the table tag, I suppose you can put all your images in it's own table in one of the columns for the unalterable table. Then set the cellpadding and cellspacing to 0 in your own table.


All times are GMT. The time now is 04:57 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.01045 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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