473,324 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

fancy borders and cross platform usability

Hi all,

im wondering if anyone knows why IE adds a space between rows whenever a background image is added to a data cell with 'repeat-x' ... Firefox handles it no problem... here is a snippet of code.

<html>
<head>
<style TYPE="text/css">
body {background-color:#CCCCCC;}
</style>
<title> Test </title>
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#CCCCCC">
<tr>
<td>
<img src='http://directconnect.com.au/images/tmp2/TL.gif'>
</td>
<td background="http://directconnect.com.au/images/tmp2/MT.gif" style="background-repeat:repeat-x">

</td>
<td>
<img src='http://directconnect.com.au/images/tmp2/TR.gif'>
</td>
</tr>
<tr>
<td background="http://directconnect.com.au/images/tmp2/ML.gif" style="background-repeat:repeat-y">

</td>
<td align="center">
There is a gap just above this text... and below the bottom border... question is WHY?!!?
</td>
<td background="http://directconnect.com.au/images/tmp2/MR.gif" style="background-repeat:repeat-y">

</td>
</tr>
<tr>
<td>
<img src='http://directconnect.com.au/images/tmp2/BL.gif'>
</td>
<td background="http://directconnect.com.au/images/tmp2/MB.gif" style="background-repeat:repeat-x">

</td>
<td>
<img src='http://directconnect.com.au/images/tmp2/BR.gif'>
</td>
</tr>
</table>
</body>
</html>

any ideas?

thanks guys.

gian.
Feb 2 '07 #1
1 2282
drhowarddrfine
7,435 Expert 4TB
Check to see if you have any spaces or line breaks embedded in the markup around the image tags. This is a bug in IE though it could be something else.

I'm swapping computers around and don't have IE available to test this myself.

Two things. Make sure you are using a proper doctype. See the sticky. You are using deprecated code so need to use the transitional doctype.

Second, you shouldn't use tables for layout. Use CSS instead.
Feb 2 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Karsten | last post by:
Hi I'm a really a new with this cross platform development, so I have some dumb questions, which I hope you can help me with. If there is a better newsgroup for this question, please point...
7
by: Web Master | last post by:
Are there any good websites or books that deal with cross platform XML? I'd like to target Internet Explorer/Netscape Navigator 5 or later, as well as Opera, possibly konqueror on Linux as well. ...
3
by: Jeff Johnson | last post by:
Hi Everyone, I'm looking for information on how to create a chromeless window with rounded borders. The window will present a question to the user and they can respond by clicking a 'yes' or...
0
by: demibee | last post by:
Thought this might be of interest to some out there... For those who've never encountered it, it's a free, open-source, cross-platform GUI library (Windows/Mac/Linux). Forte's Agent 2.0 will be...
14
by: John Salerno | last post by:
Bear with me, but I've been reading a lot about how the .NET languages are platform independent, and I assume this means a program written in C# can be run on a Unix or Mac machine. If this...
1
by: Guadala Harry | last post by:
What is the difference between controls that can cross frame borders and controls that cannot? I just observed that the list portion of a drop-down list will extend across the border of a frame,...
34
by: Sachin Garg | last post by:
I know that language choices are more of a religious choice, rather than a logical decision for many of us. Anyway, here is my concern (which will hopefully not be considered a troll) :-) I have...
2
by: 63q2o4i02 | last post by:
Hi all. I just downloaded and installed the new Office suite from MS with their new 'ribbon' based UI. I think it's pretty cool and AFT* for a new UI paradigm. I hope it sticks. Anyway, I'm...
7
by: Charles | last post by:
I'd like to develop a simple cross-platform application in C++. I'd like it to run in Windows, OS X, PC-BSD and Linux. From my research, it seems I should use Qt or Gtk as a graphical library. Do...
1
by: Vinod Sadanandan | last post by:
Cross Platform Migration An Unproblematic Approach (Windows-UNIX ) Oracle 10\11g The principal restriction on cross-platform transportable database is that the source and destination platform...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.