Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Driving me batty!

Quote Reply
Driving me batty!
I have a small html problem with my forum that is driving my batty.

Right after <%header_row%> is closed in category_list.html, I added this:

<%if cat_desc%>
<TD class=subheader colSpan=4>
<%if cat_depth%>
<img src="<%image_url%>/clear_shim.gif" height=0 width="<%cat_depth * 16%>">
<%unescape_html cat_desc%>

For reasons that I cannot determine, this knocks my column alignment outta whack. See attached graphic with the segment in, and the segment removed.

If I remove the text, leaving the new row...alignment returns to correct position. So it's not the row, but the contents of it.

The class "subheader" only does the following, and has no effect on my problem if removed.

.subheader {
BORDER-RIGHT: black 0px solid;
BORDER-TOP: black 0px solid;
FONT-SIZE: 11px;
MARGIN: 0px;
BORDER-LEFT: black 0px solid;
COLOR: #000000;
BORDER-BOTTOM: #000000 1px solid;
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
text-align: justify;

Any tips appreciated.
Quote Reply
Re: [ArmyAirForces] Driving me batty! In reply to
I know what you mean - I hate it when browsers start moving tables around without good reason.

Try adding width="100%" into your <td> tag and see if that changes anything.

Jason Rhinelander
Gossamer Threads
Quote Reply
Re: [Jagerman] Driving me batty! In reply to
You sir, are a flipping genius!

Your solution fixed it just like that. I can now stop cursing the html gods, at least for now.

Still makes no sense to me, but why argue with success?!