This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2005 > pressing enter in design view insers paragraph?!?!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author pressing enter in design view insers paragraph?!?!
Ewokuk

2005-03-06, 6:21 pm

Basically I have a very basic page with a title at the top and one picture.
All I want to do is enter a couple of lines of text but as soon as I type a
bit, then press enter, it inserts a whole new paragraph, leaving the damn
cursor about 3 lines below the other text, all I want is NORMAL, STANDARD
behaviour, press enter and it goes to the next line!

I tried turning off 'Paragraph' format in the properties window to 'none' and
it comes back the second i press enter again.

Osgood

2005-03-06, 6:21 pm

Hold down the 'shift' key when pressing enter



Ewokuk wrote:
> Basically I have a very basic page with a title at the top and one picture.
> All I want to do is enter a couple of lines of text but as soon as I type a
> bit, then press enter, it inserts a whole new paragraph, leaving the damn
> cursor about 3 lines below the other text, all I want is NORMAL, STANDARD
> behaviour, press enter and it goes to the next line!
>
> I tried turning off 'Paragraph' format in the properties window to 'none' and
> it comes back the second i press enter again.
>


Osgood

2005-03-06, 6:21 pm

That's not a good way of doing it though if you have a lot of text.

You should zero the paragrah margins/padding using css. Cut code below,
paste into your pages code directly before the closing </head> tag (its
near the top of the page, be sure to locate the one with the leading slash.

<style type="text/css">
<!--
p {
margin: 0 0 0 0;
padding: 0 0 0 0;
-->
</style>


0 0 0 0 represent top/right/bottom/left in that order.

enter amounts as desired

for instance

padding: 0 0 8px 0; would give you 8px clear space after each paragraph




Osgood wrote:

> Hold down the 'shift' key when pressing enter
>
>
>
> Ewokuk wrote:
>
>


Murray *TMM*

2005-03-06, 6:21 pm

By the way, in addition to what Osgood says, what you are describing *is*
the normal, standard behavior. When you hit enter, you begin a new
paragraph. In HTML (perhaps not in Word processing), new paragraphs are
separated by space. You control that space with CSS.

That's the truth! 8)

--
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
==================

"Ewokuk" <webforumsuser@macromedia.com> wrote in message
news:d0euft$5v8$1@forums.macromedia.com...
> Basically I have a very basic page with a title at the top and one
> picture.
> All I want to do is enter a couple of lines of text but as soon as I type
> a
> bit, then press enter, it inserts a whole new paragraph, leaving the damn
> cursor about 3 lines below the other text, all I want is NORMAL, STANDARD
> behaviour, press enter and it goes to the next line!
>
> I tried turning off 'Paragraph' format in the properties window to 'none'
> and
> it comes back the second i press enter again.
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews