vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Image in 1 table (https://vborg.vbsupport.ru/showthread.php?t=83715)

chiel 07-06-2002 05:47 PM

Image in 1 table
 
1 Attachment(s)
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...


All times are GMT. The time now is 12:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01005 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete