Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
breathing space around footer 13 262
Getting the co-ordinates of a map 1 171
page loads much slower in IE than chrome 9 1,158
.dwt files not viewable in browser - why? 2 75
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…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 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

17 Experts available now in Live!

Get 1:1 Help Now