473,473 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

colspan-problem with mozilla

hi,

I am having a problem with colspan's in Mozilla (Netscape).

with my understanding of colspan
the following table is supposed to look like that:

IE6:

+-------------------------------------------------+-----+
| this is a long long long ... headline | ? |
+-----------+-------------------------------------+-----+
| customer: | <input type="text"... |
+-----------+-------------------------------------------+
| domain: | <input type="text"... |
+-----------+-------------------------------------------+

with mozilla 1.3 (or 1.4a/galeon) it looks like this:

+-------------------------------+-----------------------+
| this is a long ... headline | ? |
+-------------------------------+-----------------------+
| customer: | <input type="text"... |
+-------------------------------+-----------------------+
| domain: | <input type="text"... |
+-------------------------------+-----------------------+

here is the source:

<html>
<head>
<title>Mozilla table-test</title>
<style type="text/css">
table {
width: 80%;
border: 1px solid yellow;
}
table tr td, table tr th {
border: 1px solid orange;
background-color: #C0C0C0;
}
</style>
</head>
<body>

<table align="center">
<tr class="header">
<th colspan="2">this&nbsp;is&nbsp;a&nbsp;long&nbsp;lon g&nbsp;long&nbsp;long&nbsp;long&nbsp;headline</th>
<th align="right">
<span style="font-size: x-large; font-weight: bold">?</span>
</th>
</tr>
<tr class="one">
<td width="10%">customer:</td>
<td colspan="2">
<input type="text" name="customer" size="50"/>
</td>
</tr>
<tr class="two">
<td>domain:</td>
<td colspan="2">
<input type="text" name="domain" size="50"/>
</td>
</tr>
</table>

</body>
</html>

what am I missing?

thanks,

--
Felix Natter
I love secs... for programming
Jul 20 '05 #1
0 3619

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

Similar topics

0
by: Vinko Njabas | last post by:
Hello, I'm a beginner in xml and have a few questions: 1. I have two tables that I made in an xml document and i would like to place them one next another insted of one under the other, I saw a...
1
by: rsd | last post by:
how do you specify the "colspan" attribut of a <td> cell when building the table/rows/cells dynamicly? ie: lets say we have the follwoing code: table = document.all; // header row tr1 =...
19
by: Logix | last post by:
Hello! I'm trying to make a sort of online page building system. In order to do this, I represent my page using a HTML table. One of the most basic templates would be a page divided in six...
8
by: mmcc128 | last post by:
Anyway to get around IEs rendering of a TD with a colspan of more than 1000? (right now it ignores 1000 and displays the TD as a cell with no colspan)
12
by: plugwalsh | last post by:
Hi I need to generate an HTML table that looks like the following: (Two cells, A & B) ------------------- | | | | | B | | | | | |--------|
7
by: Matt Kruse | last post by:
Using the .cellIndex property of a TH element to find out which table column it is over can cause misleading results when the table has cells which have rowspans or colspans greater than 1. See...
2
by: yawnmoth | last post by:
I'd like to make one entry within a particular column have a second column within it. eg. |-----| |--|--| |-----| One way to do this would be to set colspan to 2 for the first and third...
2
by: Craig Taylor | last post by:
I've seen other referances to this bug in IE when researching the problem but haven't seen any solutions. Apparently IE does not honor setAttribute of colspan when building a table. Does anyone...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.