<p> to <br> in Dreamweaver

Post May 6th, 2008, 7:26 pm

I'm not a big user of the Dreamweaver WYSIWYG editor, one reason being that it has <p> as the default for pressing Enter. Is there a way to change that default to put in <br> or <br /> instead?

Thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 6th, 2008, 7:26 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: 28 May 2003
  • Posts: 19342
  • Loc: Pittsburgh PA
  • Status: Offline

Post May 6th, 2008, 7:45 pm

Use code view and manually do it?

Post May 6th, 2008, 7:51 pm

Thanks... That's what I normally do. I like to use the design view to quickly throw a simple table together sometimes, and I find it a big inconvenience to change a lot of <p> tags.

TinyMCE has an option to use <br> instead, I'd be surprised if Dreamweaver doesn't.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: 28 May 2003
  • Posts: 19342
  • Loc: Pittsburgh PA
  • Status: Offline

Post May 6th, 2008, 8:04 pm

Doesn't look like it does. I just checked every possible preference. Line breaks are established by default (apparently) in Edit>Preferences (CTRL+U) under "code format>line break type". All three (Windows, Mac and Linux) appear to default to <p>
  • SpooF
  • Ice Cream
  • Bronze Member
  • User avatar
  • Joined: 22 May 2004
  • Posts: 2358
  • Loc: Richland, WA
  • Status: Offline

Post May 6th, 2008, 8:12 pm

instead of hitting enter use shift+enter to get a <br> tag.

Post May 6th, 2008, 8:32 pm

That's.. really too bad. Thanks a lot though, I'm glad I didn't have to go through Preferences for hours trying to find it.

Post May 6th, 2008, 8:32 pm

SpooF wrote:
instead of hitting enter use shift+enter to get a <br> tag.


Ohh, awesome! That solves the problem well enough, thanks so much!
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: 28 May 2003
  • Posts: 19342
  • Loc: Pittsburgh PA
  • Status: Offline

Post May 6th, 2008, 9:12 pm

lol gotta love keyboard shortcuts. That's one I didnt know
  • Bogey
  • Ounce of 'Zu'
  • Web Master
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 4221
  • Loc: Ozzu
  • Status: Offline

Post May 6th, 2008, 9:45 pm

Doesn't Dreamweaver has something like search/replace function? I don't really know as I don't have a Dreamweave but every HTML Editor has one... and Dreamweaver is a big program...
01000010 01101111 01100111 01100101 01111001
My Developing Blog (5)
  • suzie
  • Professor
  • Professor
  • User avatar
  • Joined: 07 Feb 2004
  • Posts: 859
  • Loc: England
  • Status: Offline

Post May 8th, 2008, 1:32 pm

Quote:
Doesn't Dreamweaver has something like search/replace function? I don't really know as I don't have a Dreamweave but every HTML Editor has one... and Dreamweaver is a big program...

Yes it has Bogey.

Great shortcut spoof - thanks!

:mrgreen: :mrgreen:

Some more shortcuts for Dreamweaver:

http://www.nooti.com/design/dw-shortcuts.php
  • Bogey
  • Ounce of 'Zu'
  • Web Master
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 4221
  • Loc: Ozzu
  • Status: Offline

Post May 8th, 2008, 8:11 pm

suzie wrote:
Quote:
Doesn't Dreamweaver has something like search/replace function? I don't really know as I don't have a Dreamweave but every HTML Editor has one... and Dreamweaver is a big program...

Yes it has Bogey.

Great shortcut spoof - thanks!

:mrgreen: :mrgreen:

Some more shortcuts for Dreamweaver:

http://www.nooti.com/design/dw-shortcuts.php

I misread the question anyway... oh well
01000010 01101111 01100111 01100101 01111001
My Developing Blog (5)

Post Information

  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2008. Driven by phpBB © 2001-2008 phpBB Group.

 
 
 
 

Need a pre-made web design for your website?

Check out our templates here: Ozzu Templates


400+ FREE Website Templates. Download Now!