Forum Moderators: open

Message Too Old, No Replies

How do I stop Dreamweaver breaking up text

The HTML is always wrapped and split up.

         

surfgatinho

3:39 pm on Aug 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm getting really annoyed with DW splitting up a single line of text into several lines at seemingly random points.

eg.
"<p><strong>If you can't see where you're looking for in the list of areas above
enter the town or district name below. </strong></p>"

I didn't hit enter!

Does anybody know how to turn this off before I throw something!

Thanks in advance
Chris

ken_b

4:06 pm on Aug 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It's annoying as all get out that this happens. I haven't figured out a way to stop it though.

victor

4:15 pm on Aug 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<p style="white-space:nowrap;">

surfgatinho

4:29 pm on Aug 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks Victor but the problem I'm talking about is the actual html code that is produced not what is output in the browser.

It just means my code looks an absolute state and having a programming background this really annoys me.

bedlam

4:12 am on Aug 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would hazard a guess that it's maybe putting in line breaks at the end of the line 'cause you've set 'Automatic Wrapping' (
Edit -> Preferences -> Code Format -> Automatic Wrapping
) or whatever the equivalent is in the current version. Automatic wrapping breaks the line at a given number of columns, but you can just uncheck the box in the prefs.

In Dreamweaver you can also format the source once you're done or while you're working. In my (older 4.x) version, you go to

Commands -> Apply Source Formatting
.

-B