Guest Posted April 4, 2003 Share Posted April 4, 2003 Besides <BR> what else can be used in PHP to echo a line break Link to comment Share on other sites More sharing options...
Guest Posted April 4, 2003 Share Posted April 4, 2003 <?php echo '<br>' ?> there is also the use of n Link to comment Share on other sites More sharing options...
Guest Posted April 4, 2003 Share Posted April 4, 2003 how is n used ? I am looking for a way to break a line besides <BR> as it depends on the browser text size a lot Link to comment Share on other sites More sharing options...
Guest Posted April 4, 2003 Share Posted April 4, 2003 why would you want to echo "BR" <?php echo '<br>' ?> I cant see what reason someone would use it? Lee Link to comment Share on other sites More sharing options...
Guest Posted April 4, 2003 Share Posted April 4, 2003 technically by itself you wouldnt but if you were echo'ng a long string then you would use it Link to comment Share on other sites More sharing options...
fuzzatonic Posted April 4, 2003 Share Posted April 4, 2003 <br> will give you a line break on a rendered HTML page. n in PHP will give you a line break in your code, like a hard return when programming a page. Link to comment Share on other sites More sharing options...
wizardsandwars Posted April 4, 2003 Share Posted April 4, 2003 <? php echo "<tr><td>" . tep_draw_separator('pixel_trans.gif', '1', '10') . "</td></tr>"?> ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
Guest Posted April 4, 2003 Share Posted April 4, 2003 The truth of the matter is that you should allow your text to flow on a web page as end users have control over text size. IE on Windows does not allow for the resizing of some CSS text, yet. You can go for the best possible solution at a given default text size, other than. You can't knock yourself out making sure one line ends exactly where it should, because in the end it is a hopeless battle. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.