Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » HTML table = Background Image versus Image problem


HTML table = Background Image versus Image problem

Reply
  #1 (permalink)  
Old 02-26-06, 04:45 PM
Mickoes Mickoes is offline
New Member
 
Join Date: Feb 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow HTML table = Background Image versus Image problem

Hey, all

I am currently working in a IPB skin and I have a really annoying rendering problem with IE (FF works perfectly)

Here's the code :
Quote:
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="54">
<tr height="54">
<td width="81" height="54" background="style_images/<#IMG_DIR#>/template_07.jpg">&nbsp;</td>
<td height="54" background="style_images/<#IMG_DIR#>/template_08.jpg">&nbsp;</td>
<td width="52" height="54"><a href="index.php?act=idx"><img src="style_images/<#IMG_DIR#>/template_09.jpg" width="52" height="54" alt="home" border="0"/></a></td>
<td height="54" background="style_images/<#IMG_DIR#>/template_10.jpg">&nbsp;</td>
<td width="74" height="54"><a href="index.php?act=UserCP&amp;CODE=00"><img src="style_images/<#IMG_DIR#>/template_11.jpg" width="74" height="54" border="0"/></a></td>
<td height="54" background="style_images/<#IMG_DIR#>/template_12.jpg">&nbsp;</td>
<td width="80" height="54"><a href="index.php?act=Reg&amp;CODE=00"><img src="style_images/<#IMG_DIR#>/template_13.jpg" width="80" height="54" border="0"/></a></td>
<td height="54" background="style_images/<#IMG_DIR#>/template_14.jpg">&nbsp;</td>
<td width="84" height="54"><a href="index.php?act=Members&amp;max_results=10&amp ;sort_key=posts&amp;sort_order=desc"><img src="style_images/<#IMG_DIR#>/template_15.jpg" width="84" height="54" border="0"/></a></td>
<td height="54" background="style_images/<#IMG_DIR#>/template_16.jpg">&nbsp;</td>
<td width="39" height="54"><a href="index.php?act=Help"><img src="style_images/<#IMG_DIR#>/template_17.jpg" width="39" height="54"border="0" /></a></td>
<td height="54" background="style_images/<#IMG_DIR#>/template_18.jpg">&nbsp;</td>
<td width="67" height="54"><a href="index.php?act=Search&amp;f="><img src="style_images/<#IMG_DIR#>/template_19.jpg" width="67" height="54"border="0" /></a></td>
<td height="54" background="style_images/<#IMG_DIR#>/template_20.jpg">&nbsp;</td>
<td width="59" height="54"><a href="#"><img src="style_images/<#IMG_DIR#>/template_21.jpg" width="59" height="54" border="0" alt="links"/></a></td>
<td height="54" background="style_images/<#IMG_DIR#>/template_22.jpg">&nbsp;</td>
<td width="61" height="54" background="style_images/<#IMG_DIR#>/template_23.jpg">&nbsp;</td>
</tr>
</table></td>
In IE, I have an ugly white space above the Image (like a margin-top:1px but the Background images are just fine. I think that it is a silly rendering problem, anyone know how to fix it?
Attached Images
File Type: jpg annoying.JPG (3.1 KB, 3716 views)
Reply With Quote
  #2 (permalink)  
Old 02-27-06, 12:10 PM
Revenant Revenant is offline
Wannabe Coder
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
have you tried making the top margin value 0 ?
__________________
» Ivan Alfaro
» Webmaster
» Website Design
Reply With Quote
  #3 (permalink)  
Old 02-27-06, 01:43 PM
Mickoes Mickoes is offline
New Member
 
Join Date: Feb 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Yes I tried, We even replaced TABLES by DIVS ..
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show image on my Html page funultimate PHP 0 10-24-05 01:35 AM
problem sending html email + image dflip PHP 2 05-08-05 12:39 PM
how to draw an image inside a table? davidklonski HTML/XHTML/XML 2 07-06-04 10:27 AM
Problem with a sort table js function tdubyou JavaScript 0 05-03-04 09:19 AM
table problem AlexGM14 HTML/XHTML/XML 1 01-11-04 02:18 PM


All times are GMT -5. The time now is 08:50 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.