colspan-problem with mozilla

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Felix Natter

    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>Mozill a 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">thi s&nbsp;is&nbsp; a&nbsp;long&nbs p;long&nbsp;lon g&nbsp;long&nbs p;long&nbsp;hea dline</th>
    <th align="right">
    <span style="font-size: x-large; font-weight: bold">?</span>
    </th>
    </tr>
    <tr class="one">
    <td width="10%">cus tomer:</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
Working...