faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 7 people (57%) answered Yes
Recently 4 of 7 people (57%) answered Yes

Entry

How do I code a 1 line spacing with a enter keystroke instead of 2 lines(not shift+enter)?

Apr 8th, 2008 18:45
ha mo, Dave Clark, Derek Ziola,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Derek,
     Not sure to what specific situation you're referring.  However, 
JavaScript "\n" and HTML "<br>" are equivalent to single-line 
spacing.  JavaScript "\n\n" and HTML "<p>" are equivalent to double-
line spacing.
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com