Solved

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

Posted on 2004-08-24
3
165 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 51

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Free website editor 10 561
background image shifts depending on browser 17 370
slider for the banner 2 317
Debug application start 2 281
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…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

820 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