• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[Moderc ACC] Problem with table high

ruuvessi

New Member
Joined
May 28, 2010
Messages
8
Reaction score
0
Hi! I'm working on Modern ACC, but I have a problem. I want to have a smaller height of a table, but I don't know how to do it.. <_< I tried in CSS, where the background image set, but it's not working..

Bez tytułu.jpg

Code:
.wis td { [B]height: 24px;[/B] color: white; background: url(images/newsheadline_background2.png); bottom repeat-x; border-bottom: 1px solid #d6bd7c; }

And PHP:

Code:
<table border=0 cellspacing=0 cellpadding=10 width=100% class=cellspadding>
<tr class=wis>
		</div><td width=100% ><center><strong>Server status</center></strong></td>
		
	</tr>
<tr class=wisr>
<td>Currently there are <b>$qwe</b> active and <b>$afk</b> AFK players on <b>Memsoria.pl</b>.</br> Total number of players: <b>$ile</b>.</td>
</tr>
</table>
 
Replace
PHP:
<table border=0 cellspacing=0 cellpadding=10 width=100% class=cellspadding>
<tr class=wis>
		</div><td width=100% ><center><strong>Server status</center></strong></td>
		
	</tr>
<tr class=wisr>
<td>Currently there are <b>$qwe</b> active and <b>$afk</b> AFK players on <b>Memsoria.pl</b>.</br> Total number of players: <b>$ile</b>.</td>
</tr>
</table>

with:
PHP:
<table border=0 cellspacing=0 cellpadding=10 width=100% class=cellspadding>
<tr class=wis>
		</div><td width=100% height=20px ><center><strong>Server status</center></strong></td>
		
	</tr>
<tr class=wisr>
<td>Currently there are <b>$qwe</b> active and <b>$afk</b> AFK players on <b>Memsoria.pl</b>.</br> Total number of players: <b>$ile</b>.</td>
</tr>
</table>

Then it should work :P
 
try this
PHP:
<table border=0 cellspacing=0 cellpadding=0 width=100% class=cellspadding> 
<tr class=wis> 
        </div><td width=100% ><center><strong>Server status</center></strong></td> 
         
    </tr> 
<tr class=wisr> 
<td>Currently there are <b>$qwe</b> active and <b>$afk</b> AFK players on <b>Memsoria.pl</b>.</br> Total number of players: <b>$ile</b>.</td> 
</tr> 
</table>
 
hello I wanted to ask that you use your system afk, because I use modern account .. but not how to afk system.
if I could answer I'd appreciate it.

regards
 
But I know how to do it, just want to have a smaller one..

Im usng this code:

$afk = round(0.3 * $ile,0);

So actually is not true informations.. :P
 
Back
Top