HighDots Forums  

Space Case

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Space Case in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alan
 
Posts: n/a

Default Re: Space Case - 11-06-2004 , 10:09 AM






html collapses whitespace in the code- if they were really blank spaces
that you pasted, only the first one is seen- the rest are ignored when the
page is rendered. (unless the <pre> preformatted tag is used. but that's
ugly)

Using blank spaces for positioning isn't the greatest- investigate using
Layers or Tables or anything else instead.

For when you do need consecutive blank spaces, use the html character entity
for a blank space &nbsp;

dreamweaver menu->insert->special characters->non-breaking space

or, change the Preferences
General prefs, allow consecutive blank spaces.

Quote:
Hi,

I'm new to Dreamweaver, so I have a basic question WRT copying text.

I tried to copy-paste some text from notepad into a layer
(and tried it again with a table). It collapsed all instances
of multiple white spaces (ie: 0x20 0x20 0x20 0x20 0x20 0x20 0x20)
into just one space (ie: 0x20). Is there any way to preserve strings
of spaces without having to search-replace all occurrences of
the space character with &nbsp before copy-pasting it?


Thanks in advance,

- Sam -


Reply With Quote
  #2  
Old   
Sam
 
Posts: n/a

Default Space Case - 11-06-2004 , 10:14 AM







Hi,

I'm new to Dreamweaver, so I have a basic question WRT copying text.

I tried to copy-paste some text from notepad into a layer
(and tried it again with a table). It collapsed all instances
of multiple white spaces (ie: 0x20 0x20 0x20 0x20 0x20 0x20 0x20)
into just one space (ie: 0x20). Is there any way to preserve strings
of spaces without having to search-replace all occurrences of
the space character with &nbsp before copy-pasting it?


Thanks in advance,

- Sam -

Reply With Quote
  #3  
Old   
E. T. Culling
 
Posts: n/a

Default Re: Space Case - 11-06-2004 , 10:30 AM



I'm not sure I understand why you ised spaces, but I do know that it is best
not to use spaces for positioning anything.
Eleanor
"Sam" <wylburNOSPAM (AT) ev1 (DOT) net> wrote

Quote:
Hi,

I'm new to Dreamweaver, so I have a basic question WRT copying text.

I tried to copy-paste some text from notepad into a layer
(and tried it again with a table). It collapsed all instances
of multiple white spaces (ie: 0x20 0x20 0x20 0x20 0x20 0x20 0x20)
into just one space (ie: 0x20). Is there any way to preserve strings
of spaces without having to search-replace all occurrences of
the space character with &nbsp before copy-pasting it?


Thanks in advance,

- Sam -



Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Space Case - 11-06-2004 , 11:54 AM



Exactly why?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Sam" <wylburNOSPAM (AT) ev1 (DOT) net> wrote

Quote:
On Sat, 06 Nov 2004 09:14:15 -0600, Sam <wylburNOSPAM (AT) ev1 (DOT) net> graced us
with his/her
considerable wisdom and wrote:


Hi,

I'm new to Dreamweaver, so I have a basic question WRT copying text.

I tried to copy-paste some text from notepad into a layer
(and tried it again with a table). It collapsed all instances
of multiple white spaces (ie: 0x20 0x20 0x20 0x20 0x20 0x20 0x20)
into just one space (ie: 0x20). Is there any way to preserve strings
of spaces without having to search-replace all occurrences of
the space character with &nbsp before copy-pasting it?


Thanks in advance,

- Sam -

A better question: How do I modify the way Dreamweaver interprets
and formats pasted text?


Another Thanks,

- Sam -



Reply With Quote
  #5  
Old   
Sam
 
Posts: n/a

Default Re: Space Case - 11-06-2004 , 11:58 AM



On Sat, 06 Nov 2004 10:09:46 -0500, Alan <dont_mail_me_period (AT) macromedia (DOT) com> graced us
with his/her considerable wisdom and wrote:

Quote:
html collapses whitespace in the code- if they were really blank spaces
that you pasted, only the first one is seen- the rest are ignored when the
page is rendered. (unless the <pre> preformatted tag is used. but that's
ugly)

Using blank spaces for positioning isn't the greatest- investigate using
Layers or Tables or anything else instead.

For when you do need consecutive blank spaces, use the html character entity
for a blank space &nbsp;

dreamweaver menu->insert->special characters->non-breaking space

or, change the Preferences
General prefs, allow consecutive blank spaces.
I changed my general preferences, and that did the trick
- thanks - you're brilliant.

One thing I DID notice: Whenever I hit the space bar at the
first of a line, it inserts a white space right after the &nbsp,
creating a double space. I can access the code and delete the
white space, but I don't understand the rationale for making
that double-space insertion in the first place. Does anyone have
any idea?


- Sam -


Reply With Quote
  #6  
Old   
Sam
 
Posts: n/a

Default Re: Space Case - 11-06-2004 , 12:00 PM



On Sat, 6 Nov 2004 07:30:26 -0800, "E. T. Culling" <etcetc (AT) notatcrcwnet (DOT) com> graced us
with his/her considerable wisdom and wrote:

Quote:
I'm not sure I understand why you ised spaces, but I do know that it is best
not to use spaces for positioning anything.
Eleanor
It's just for a block of simple text in a free-form informational field
- nothing special - but I wanted to know how to insert strings of spaces
- if only for my own enlightenment.


- Sam -


Reply With Quote
  #7  
Old   
Sam
 
Posts: n/a

Default Re: Space Case - 11-06-2004 , 12:10 PM



On Sat, 6 Nov 2004 11:54:29 -0500, "Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com>
graced us with his/her considerable wisdom and wrote:

Quote:
Exactly why?
Why not? *shrug*

I'm trying to learn this thing called Dreamweaver - I'm new to it.

In this particular instance, it's just a field of informational
free-form text - it's nothing special - and I don't want to create
a bunch of layers all over the place. Changing the preferences
(as Alan suggested) got me to where I wanted to go
- my query was answered.

Thanks.


- Sam -


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.