SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    The I's for intelligent silver trophy iTechno's Avatar
    Join Date
    Jan 2006
    Location
    Yorkshire, UK
    Posts
    1,796
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random spacing issue...

    Ok I'm coding a skin at the moment and there is a random spacing issue, here's my code:

    HTML Code:
    <table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px">
    <tr>
    	<td class="tcat" width="100%" style="padding:0px 6px;">
    		<div class="smallfont">
    		
    		&nbsp;
    		</div>
    	</td>
    
    	<td class="vbmenu2" id="threadtools" nowrap="nowrap">
    		<a href="/bts/showthread.php?p=13&amp;nojs=1#goto_threadtools"><img src="sr/threadtools.gif" alt="Thread Tools" /></a>
    		<script type="text/javascript"> vbmenu_register("threadtools"); </script>
    	</td>
    	
    		<td class="vbmenu2" style="padding:0px;" id="threadsearch" nowrap="nowrap">
    			<a href="/bts/showthread.php?p=13&amp;nojs=1#goto_threadsearch"><img src="sr/searchthisthread.gif" alt="Search This Thread" /></a>
    			<script type="text/javascript"> vbmenu_register("threadsearch"); </script>
    		</td>
    
    	
    	
    		<td class="vbmenu2" style="padding:0px;" id="threadrating" nowrap="nowrap">
    			<a href="/bts/showthread.php?p=13&amp;nojs=1#goto_threadrating"><span id="threadrating_current"><img src="sr/ratethread.gif" alt="Rate This Thread" /></span></a>
    			<script type="text/javascript"> vbmenu_register("threadrating"); </script>
    		</td>
    	
    	
    	<td class="vbmenu2" style="padding:0px;" id="displaymodes" nowrap="nowrap">
    		<a href="/bts/showthread.php?p=13&amp;nojs=1#goto_displaymodes"><img src="sr/displaymodes.gif" alt="Display Modes" /></a>
    		<script type="text/javascript"> vbmenu_register("displaymodes"); </script>
    	</td>	
    			<td class="vbmenu2" style="padding:0px;" id="imod" align="center" title="Moderation"><script type="text/javascript"> vbmenu_register('imod'); </script><img src="sr/arrow.gif" alt="Arrow" style="vertical-align:top;" /></td>
    		
    	<td width="8" style="padding="0"><img src="sr/stright.gif" alt="Show Thread Right" style="vertical-align:top;" /></td>
    </tr>
    </table>
    Code:
    .vbmenu2 {
    background: url(sr/vbmenu2.gif) repeat-x;
    padding: 0px;
    }
    
    .tcat
    {
    	background: #869BBF url(sr/gradients/gradient_tcat.gif) repeat-x top left;
    	color: #FFFFFF;
    	font: bold 10px Tahoma;
    	height: 30px;
    	vertical-align: top;
    	padding: 7px 25px 0px 7px;
    }
    Here's what happens:



    All the images are the same size

  2. #2
    The I's for intelligent silver trophy iTechno's Avatar
    Join Date
    Jan 2006
    Location
    Yorkshire, UK
    Posts
    1,796
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone got any idea?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •