Here's the relevant portion, minus js and php and such. Please excuse any typos, since I had to retype most of this for the post so you wouldn't have to bounce back and forth between the style sheet and the html.
Code:
<table bgcolor=#C0C0C0 cellpadding=0 cellspacing=0 border=0 frame="void" height=33>
<tr>
<td nowrap bgcolor=#C0C0C0 height=33 width=50>
<img src="images/1stTabA.gif" height=33 width=50>
<td nowrap bgcolor=#848484 height=33>
<font color=#000000>blah</font>
<td nowrap bgcolor=#C0C0C0 height=33 width=31>
<img src="images/TabA.gif" height=33 width=31>
<td nowrap bgcolor=#000000 height=33>
<font color=#C0C0C0>blah</font>
<td nowrap bgcolor=#C0C0C0 height=33 width=31>
<img src="images/TabC.gif" height=33 width=31>
<td nowrap bgcolor=#000000 height=33>
<font color=#C0C0C0>blah</font>
<td nowrap bgcolor=#C0C0C0 height=33 width=31>
<img src="images/TabC.gif" height=33 width=31>
<td nowrap bgcolor=#000000 height=33>
<font color=#C0C0C0>blah</font>
<td nowrap bgcolor=#C0C0C0 height=33 width=31>
<img src="images/TabC.gif" height=33 width=31>
<td nowrap bgcolor=#000000 height=33>
<font color=#C0C0C0>blah</font>
<td nowrap bgcolor=#C0C0C0 height=33 width=11>
<img src="images/LastTabB.gif" height=33 width=11>
</table>
What this is doing is displaying a horizontal tab-like iface for a site that funk and I are working on. The images will be dynamically generated to allow for custom colors and the like. It's a bit redundant to repeat the dimensions in both the td and img tags but I'm trying everything here. Besides, according to the w3 docs it's good practice to specify dimensions in the img tag. But I'm getting away from the problem. The table looks fine in the latest ns browser, but ie (imagine that eh) is displaying the images fine but the text cells are not vertically aligned with the bottom of the images. The bottoms of the text cells end several pixels below the intended bottom of the table, creating a somewhat jagged bottom edge for the table.
Has anyone else had problems with mixed image/text single row tables displaying correctly?
thanks in advance
-------------------------------------------------------------
Thanks for answering kanarde. I appreciate the effort anyways.
Norm, I am an ass and can't say that I intended to avoid sounding like an ass. Thank you for pointing out that omission. I suppose that in my own way, that entire reply could be condensed into something like "Thanks anyways, but.....". Another error that I see is that I spelled "conseded" wrong. I think it's spelled with a c instead of an s. Maybe not. Whatever.
I know that he went out of his way to help, but it's frustrating when you're finally fed up with an issue that you can't work out by yourself and ask for help (a good friend ken suggested that I try here) only to get a reply like that. What I mean is that I'm not an idiot. I googled for about an hour and a half looking for someone with a similar problem to mine. If I had absolutely no knowledge of html I'm perfectly capable of searching for html tuts. Several months ago I asked an asm question on a programming board only to get a reply with vb source with the guy talking down to me as if I was a 3yr old or something. That's when I say "look I'm not a newbie, thanks anyways" and try to bite my tongue. Sorry if that reply to kanarde offended anyone, but that's where I was coming from.
(edit: A friend on icq just told me that I forgot the closing tr and td tags. Just to avoid the same problem, those closing tags are completely optional (just like a </p>).)
Bookmarks