Solved

How to make ALL line breaks <br /> automatically?

Posted on 2004-08-24
3
162 Views
Last Modified: 2010-04-25
When I hit shift+enter it adds a line breaks (<br /> if document is XHTML, otherwise <br>)

How can I make it so that ALL the line breaks that are created when using shift+enter are automatically <br />?

Thanks!
0
Comment
Question by:Chopianissima
3 Comments
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 11891560
You can't change what is already defined as Rules in Dreamweaver. My suggestion is try do a search for all "<br>" and then go replace it with "<br />"

regards
0
 
LVL 8

Accepted Solution

by:
radnor earned 500 total points
ID: 11895215
Hello!

Look here: C:\Program Files\Macromedia\Dreamweaver MX\Configuration\Objects\Characters and edit the file called Line Break.htm with NOTEPAD.

function objectTag() {
  // Return the html tag that should be inserted
  return "<BR />";
}


I think this will do what you want.

I created a basic HTML page, HTML template and XML pages with "<br />" being inserted for the shift + enter.


Radnor
0
 

Author Comment

by:Chopianissima
ID: 11895300
Wowzers, thanks a bunch!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now