Simple HTML question - HTML guru wanted

THIS PROBLEM IS WITH --IE-- ONLY



I have this piece of code that I simplified as much as I could to show a simple example:


<table width="50%"><br />
	<tr><td colspan="2">short</td></tr><br />
	<tr><br />
		<td width="128"><img src="" width="110"></td><br />
		<td>a<br>a<br>a</td><br />
	</tr><br />
</table><br />
<br />
<table width="50%"><br />
	<tr><td colspan="2">long long long long long long long</td></tr><br />
	<tr><br />
		<td width="128"><img src="" width="110"></td><br />
		<td>a<br>a<br>a</td><br />
	</tr><br />
</table>
```<br />
<br />
<br />
For some reason when long-long-long text is long enough, it pushes a-a-a-a to the right even through one of the cells is limited to 128 pixels..<br />
<br />
[IMG]http://securitycameras4less.com/q.jpg[/IMG]<br />
<br />
If I color the backgrounds of the cells in different colors, it is evident that it is the cell pushing, not text-alignment problem<br />
<br />
Question, why the cell is affected but the upper cell text length even through it is properly col-spanned..?

TexasGuy,

Not sure why IE does that, but you might be able to use “thead” for that cell…


```php



long long long long long long long








a
a
a
```

Ahhh Good ol' IE, a web dev's nightmare. Getting better, but still a pain.

But is used to surround which would become


long long long long long long long

and we are back at square one...

[IMG]http://securitycameras4less.com/colored.jpg[/IMG]

Hello Texas Guy,



add a width=“100%” to the cell that holds the a’s.


```php










long long long long long long long
a
a
a
```


you might want to consider using div tags instead of tables.

```php

long long long long long long long

a
a
a

```

It is easier to work with than tables :)

Sincerely,
Tanya