473,405 Members | 2,261 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,405 software developers and data experts.

There is no gap between cells in html table with CELLSPACING greater than zero

Hi,

I have a weird problem. A regular html containing table does not
display correctly in IE6. I do not see a gap between second and third
columns in the header. I have a dark background and light font color
in the table header.

Here is the sample:
-------------------

<table height="100%" cellSpacing="2" cellPadding="2" width="740"
align="left" border="0">
<tr>
<td class="altheaderrow" noWrap colSpan="4">Contract Details
&nbsp;-&nbsp;Control Systems</td>
<td class="altheaderrow" noWrap
colSpan="2">&nbsp;Sample</td>
</tr>
<!-- Invoice Documents -->
<tr class="altheaderrow">
<td class="altheaderrow" noWrap colSpan="6">Contract
Document(s)</td>
</tr>
<tr>
<td class="headerrow" nowrap colSpan="3">Document Name</td>
<td class="headerrow" colSpan="1" align="right"
width="13%">Document Size</td>
<td class="headerrow" colSpan="1" align="left" width="15%">Document
Type</td>
<td class="headerrow" colSpan="1">Description</td>
</tr>
<tr>
<td class="row" noWrap colSpan="3">
<a class="rowlink"
href="javascript:OpenWindow('/CCMDocuments/Contracts/Control Systems -
VA Office.tif');" title="View Document">Control Systems - VA
Office.tif</a>
</td>
<td class="row" noWrap colSpan="1" align="right">unknown</td>
<td class="row" noWrap colSpan="1">Contract</td>
<td class="row" colSpan="1">New Control Systems Contract</td>
</tr>
</table>
Styles used:
------------

..headerrow {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #F2F7C4;
background-color: #CA7F43;
}
..altheaderrow {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #F2F7C4;
background-color: #8B9F9F;
}
..row {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
background-color: #FFFFFF;
color: #000000;
font-weight: bold;
}

Thanks in advance for any clue.

Boris
Jul 23 '05 #1
1 6185
Els
Boris Miloslavsky wrote:
Hi,

I have a weird problem. A regular html containing table
does not display correctly in IE6. I do not see a gap
between second and third columns in the header. I have a
dark background and light font color in the table header.

Here is the sample:
-------------------
[snip code]
Thanks in advance for any clue.


If you set the colspan in the first cell to anything less than
4, the gap appears.

No idea why, I'm sorry.
Maybe it's a bug, I don't know.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: N. Demos | last post by:
The following code renders as intended in IE (A TABLE, with cells of fixed width and height, inside of a DIV with fixed width and height and overflow set to hidden.) In Firefox, the table cells...
31
by: Royal Denning | last post by:
I am designing a table with 2 columns and 20 rows. I want to insert small images (each with a link) and a text title in each cell of the table. On refresh of the page, I would like to have the...
12
by: Sebastien B. | last post by:
I'm wondering if it's at all possible to have spacing between a table's cells, and only between the cells, not between the outter cells and the table's border. See end of message for an example...
3
by: davidkarlsson74 | last post by:
Error: document.getElementById("folderMenu").cells has no properties File: http://www.volkswagen.se/tillbehor/js/foldermenu.js Rad: 49 The function activates different DIV:s, but doesn't seem to...
6
by: Eric Layman | last post by:
Is there a way to detect a held-down button while the mouse is moving? Thanks. Posted Via Usenet.com Premium Usenet Newsgroup Services
4
dizyn
by: dizyn | last post by:
Hi here is errors list, i have solved many but these few are not getting solved. Please help me. Line 5 column 113: character data is not allowed here. Line 15 column 6: end tag for "HEAD" which...
14
by: Zkidd | last post by:
I hired a designer to do a webpage and the code that they sent me back looks way too long. I am not a developer, but am reading up on web standards, and when I review the source code for web...
2
by: markszlazak | last post by:
I'm a relatively slow response of table cells changing their background color with mouseover/our in IE6 (Win 2K) but the response is fine (fast) in Firefox. Why? The code is below. Sorry about the...
2
by: sateeshchandrasanga | last post by:
Hi All, My HTML code is working fine in Firefox.But its not displaying any thing in IE.Can you help me in this problem.And in Google crown its displaying but not properly. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.