Forum Moderators: coopster
// Show all users online
if ($user==1) {echo $user.' user online';} else {echo $user.' users online';}
?>
Is there a way to add something to this to output a differant font size, I am clueless with php, Not even sure if this is the bit of the script that will change this.
Regards Ian
As Timotheos said, you could wrap it in a some other tag and style it:
echo '<p class="users-online">';
if ($user==1) {echo $user.' user online';} else {echo $user.' users online';}
echo '</p>';
Then have, in your css
.online {font-size: 80%;}
This will make your site much more usable.
Tom