PDA

View Full Version : Long thread title.. and moving images..


cyr0n_k0r
11-10-2002, 11:49 PM
Ok, at the top of the thread there is a series of images.

In the center of the images is the variable for the thread title. I forget, its something like $thread[title] or something like that.

Anyway, as you can see in the picture, when the thread title gets too long it messes up the images.

What changes to my code do I make to allow the images to "strectch" when the thread title gets long.

Example, the center image background will expand with the thread title.. while the left and right image backgrounds shrink to allow room for the thread title.




<!-- Begin Top Images -->

<br><table width="95%" height="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="right" width="0"><img src="https://vborg.vbsupport.ru/images/*******/left.gif"></td>
<td width="30%" align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td valign="top" align="right" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td align="left" width="0"><img src="https://vborg.vbsupport.ru/images/*******/left2.gif" ></td>

<td width="40%" align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top2.gif">
<normalfont color="#000000"><b>$thread[title]</b></normalfont></a><br></td>
<td align="right" width="0"><img src="https://vborg.vbsupport.ru/images/*******/right2.gif"></td>
<td width="30%" align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif">
</td>
<td valign="top" align="right" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td align="left" width="0"><img src="https://vborg.vbsupport.ru/images/*******/right.gif" ></td>
</tr>

<!-- End Top Images -->





-----
the reason the site is blurred out is because the site isnt yet live, and I dont want to deal with traffic and stuff until it goes live.

Tony G
11-11-2002, 03:53 AM
Unless you make it all one <td> tag, it won't go any furthur. As you can see in your code, the thread title doesn't stretch out to where the code for the next <td> tag lays. So I don't see any other possibility.

cyr0n_k0r
11-11-2002, 03:35 PM
how would I make it all one td tag while still maintaing the same look?

Tony G
11-12-2002, 03:15 AM
It would have to all be one single image.