Log in

View Full Version : Image in 1 table


chiel
07-06-2002, 05:47 PM
Hi all,

I want to insert a image before the text "Currently Active Users" I changed the forumhome_loggedinusers and now it look like this(the bold text I changed).


<tr id="cat">
<td background="images/frontpage/cat_bg_01.gif" bgcolor=""#90B9F1" background="images/cat_bg.gif"" colspan="6"><img src="images/people.gif" border="0"><a href="online.php?s=$session[sessionhash]"><normalfont color="#FFFFFF"><b>Currently Active Users</b></normalfont></a><normalfont color="#FFFFFF"><b>: $totalonline</b></normalfont></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" colspan="6"><smallfont>
<nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> |
<nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
$activeusers</smallfont></td>
</tr>



Now I got a problem with the size because the border (in height) is now bigger :( how do I fix this??
I try something with celpadding but I did not work...

I attached a screenshot
can somebody please help me with this..

heretic
07-06-2002, 07:45 PM
it looks like you'd need to make the image a bit smaller, I'm assuming your border is 1px?

chiel
07-06-2002, 10:42 PM
I didn't use a border, I can make the image smaller but isn't there a athoer way??

dmjof
07-06-2002, 11:19 PM
<td background="images/frontpage/cat_bg_01.gif" bgcolor=""#90B9F1" background="images/cat_bg.gif"" colspan="6">

In that part you could try adding "height="PIXELHEIGHTHERE"" and that would make that table a little taller and your text would be centered again. Make the height a little higher then the image is.

chiel
07-07-2002, 10:29 AM
I think I got it now, I just put in the image on the background and make the bar very long so that you have no problem with different res...