runnerjp Posted February 24, 2007 Share Posted February 24, 2007 hey guys i didnt know were to put this...ccs/html or here in php due to me having all these in this code... i want to make the text close together expale below we are 101 members strong <--- huge gap i dnt want Welcome Guest please Register at the moment it looks like that with the huge gap inbetween how cna i make it so it has no gap we are 101 members strong Welcome Guest please Register here is every thing i have for it $infodate = date('l jS \of M. Y'); echo "<pre>we are <b>$display_members</b> members strong</pre>"; ?><? if($auth['displayname'] == "") { echo "</font><Pre>Welcome <font size=\"3\" face=\"Times\"><strong>Guest</strong> please <a href=\"register.php\">Register</a></pre>"; } else { echo "you are logged in as <strong>".$auth['displayname']."</strong>"; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/39943-how-i-make-text-closer-together/ Share on other sites More sharing options...
wildteen88 Posted February 24, 2007 Share Posted February 24, 2007 Get rid of pre and use paragraph tags instead. Like so: <?php $infodate = date('l jS \of M. Y'); echo "<p>We are <b>$display_members</b> members strong<br />\n"; if($auth['displayname'] == "") { echo "</font>Welcome <font size=\"3\" face=\"Times\"><strong>Guest</strong> please <a href=\"register.php\">Register</a>\n"; } else { echo "you are logged in as <strong>".$auth['displayname']."</strong>"; } echo "</p>\n"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/39943-how-i-make-text-closer-together/#findComment-193062 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.