|
Posted by Els on 10/21/05 16:53
Jeff Fritz wrote:
> Els,
>
> thanks for your reply. I know not to use nested tables, I'm sorry,
> it's not my choice, nor can it be helped.
>
> there's an explicit width on both the TD and the nested table. IE
> seems to not respond to it at all. There also seems to be nothing
> stretching the TD that the nested table is in (for some reason it's
> stretching). It's very odd.
>
> Here's the link to the site. The TD/table in question is the right
> column with login/shoppingcart, etc in it. http://66.227.34.20/catalog/
For one thing: that TD isn't any wider than the table inside of it:
<td class="contentRight" width="125">
<table align="right" border="0" width="125" cellspacing="0"
cellpadding="0">
You set them both to 125 wide. Making the table align right or left
isn't gonna do anything ever.
If you narrow your window, you'll see that at some point, the column
fits where you want it, only to notice it dropping down when you
narrow the window even more.
The problem is not with the table that holds the shopping cart column,
but with the construction of the table around it.
I suggest you also check the validator, so you can find the errors
like more than one <body> element, <tr> elements where they shouldn't
be, and superfluous end tags of <table> elements.
Some of these superfluous end tags, may be caused by incorrectly
nested forms. You can't put a form element tag between <table> and
<tr> or between <tr> and <td>.
Good chance that once you cleaned up the code, the problems will
disappear too.
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
[Back to original message]
|