views:

12

answers:

2

Ok, I can't understand the problem here but this looks fine in all browsers cept Opera.

The HTML Code is as follows:

<table width="395" height="214" border="1">
  <tr>
    <td colspan="2">Here is some content in here that has 2 colspans</td>
    <td width="137">This only has 1 colspan.</td>
  </tr>
  <tr>
    <td width="113">This has only 1 colspan also.</td>
    <td colspan="2">This cell has 2 colspans now and should look presentable hopefully.</td>
  </tr>
  <tr>
    <td colspan="3">This cell has 3 colspans within this table and should fill up the entire width of the table.</td>
  </tr>
</table>

Now the Output looks like this in Opera:

alt text

But how do I make it look like this (as all other browsers look like): alt text

The problem is actually much deeper than this, but this is the main basic overall problem.

+1  A: 

I would try giving explicit css classes with explicit widths to every td.

<td class="foo">

.foo { width:200px; }.

Make sure the math adds up properly.

meder
A: 

Seems like a bug :-/ I've found your bug report, thanks. I guess you need a hack where you add one row that has the total expected number of cells and style it to be invisible.. :-(

hallvors
Seems a bit sloppy to add a <tr> element at the beginning of the table that has all of the <td> elements in it with their proper widths if you ask me. Opera needs to support this. I understand Opera is not as old as some of these other browsers, but they need to get with the program if you ask me!!
SoLoGHoST
Of course Opera needs to support it..
hallvors