Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Next line prob

Status
Not open for further replies.

grabrail

Technical User
Aug 15, 2001
269
GB
OK figured out how to display text to a screen on a html document, how do i put a carriage return at the end of the first line to go to the next

here is my code

document.write(variable here)
document.write(variable here)

when i run this the variables are produced on the same line, what i want to do is have a carriage return or a command to go to the next line down so that results are displayed on different lines.

 


grabrail,

document.write(variable here) & &quot;<br>&quot;
document.write(variable here) & &quot;<br>&quot;


fengshui_1998


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top