HighDots Forums  

Line spacing

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Line spacing in the Macromedia Dreamweaver forum.



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

Default Line spacing - 07-20-2004 , 01:52 PM






How can I set the the line spacing to none? Every time I hit enter it drops
down 2 lines. If you are going to reply to this saying to just use CSS, please
help someone who knows nothing about CSS to understand what you are saying.

Thanks


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

Default Re: Line spacing - 07-20-2004 , 02:12 PM






Many HTML tags have inherent margins on all four sides. The <p> tag is one
of them.

What your eye is telling you is a big space is just the margin between two
adjacent <p> tags (look at the code and you'll see them).

All margins are accessible to you via CSS. You can control them by
redefining the <p> tag so that its margin is either reduced, or even
eliminated. To do this, you would need to open your page in DW, reveal the
CSS Panel (WINDOW | CSS Styles (F11), and click on the new style icon.

Having done this, you need to decide whether you want to create this style
in a separate externally linked stylesheet, or embed it in this page. For
simplicity, just select the radio button for this page only.

Then you need to tell the CSS Editor that you are going to Redefine a tag by
selecting that radio button, and then finding the "p" in the drop down list
of tags. When you click OK, you will be taken to a Dialog panel on which
you can change styles for a number of categories. The one you want is the
Box category. Select that, and in the single enabled margin field, enter
"3" (for 3 pixels margin top, right, left and bottom). When you click OK,
this will be written to the page's head region -

<style type="text/css">
<!--
p {
margin:3px;
}
-->
</style>

(depending on your preference settings you may see something different).

Now you willl see a reduced space between your paragraphs on that page.

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

"send2me" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
How can I set the the line spacing to none? Every time I hit enter it
drops
down 2 lines. If you are going to reply to this saying to just use CSS,
please
help someone who knows nothing about CSS to understand what you are
saying.

Thanks




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

Default Re: Line spacing - 07-20-2004 , 02:19 PM



Great information ... I needed that a long time ago. Thank You!
Eleanor
"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
Many HTML tags have inherent margins on all four sides. The <p> tag is
one
of them.

What your eye is telling you is a big space is just the margin between two
adjacent <p> tags (look at the code and you'll see them).

All margins are accessible to you via CSS. You can control them by
redefining the <p> tag so that its margin is either reduced, or even
eliminated. To do this, you would need to open your page in DW, reveal
the
CSS Panel (WINDOW | CSS Styles (F11), and click on the new style icon.

Having done this, you need to decide whether you want to create this style
in a separate externally linked stylesheet, or embed it in this page. For
simplicity, just select the radio button for this page only.

Then you need to tell the CSS Editor that you are going to Redefine a tag
by
selecting that radio button, and then finding the "p" in the drop down
list
of tags. When you click OK, you will be taken to a Dialog panel on which
you can change styles for a number of categories. The one you want is the
Box category. Select that, and in the single enabled margin field, enter
"3" (for 3 pixels margin top, right, left and bottom). When you click OK,
this will be written to the page's head region -

style type="text/css"
!--
p {
margin:3px;
}
--
/style

(depending on your preference settings you may see something different).

Now you willl see a reduced space between your paragraphs on that page.

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

"send2me" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:cdjm4t$ip9$1 (AT) forums (DOT) macromedia.com...
How can I set the the line spacing to none? Every time I hit enter it
drops
down 2 lines. If you are going to reply to this saying to just use CSS,
please
help someone who knows nothing about CSS to understand what you are
saying.

Thanks






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

Default Re: Line spacing - 07-20-2004 , 02:22 PM



ET:

I'm glad to help!

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

"E. T. Culling" <etcetc (AT) notatcrcwnet (DOT) com> wrote

Quote:
Great information ... I needed that a long time ago. Thank You!
Eleanor
"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote in message
news:cdjnae$k75$1 (AT) forums (DOT) macromedia.com...
Many HTML tags have inherent margins on all four sides. The <p> tag is
one
of them.

What your eye is telling you is a big space is just the margin between
two
adjacent <p> tags (look at the code and you'll see them).

All margins are accessible to you via CSS. You can control them by
redefining the <p> tag so that its margin is either reduced, or even
eliminated. To do this, you would need to open your page in DW, reveal
the
CSS Panel (WINDOW | CSS Styles (F11), and click on the new style icon.

Having done this, you need to decide whether you want to create this
style
in a separate externally linked stylesheet, or embed it in this page.
For
simplicity, just select the radio button for this page only.

Then you need to tell the CSS Editor that you are going to Redefine a
tag
by
selecting that radio button, and then finding the "p" in the drop down
list
of tags. When you click OK, you will be taken to a Dialog panel on
which
you can change styles for a number of categories. The one you want is
the
Box category. Select that, and in the single enabled margin field,
enter
"3" (for 3 pixels margin top, right, left and bottom). When you click
OK,
this will be written to the page's head region -

style type="text/css"
!--
p {
margin:3px;
}
--
/style

(depending on your preference settings you may see something different).

Now you willl see a reduced space between your paragraphs on that page.

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

"send2me" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:cdjm4t$ip9$1 (AT) forums (DOT) macromedia.com...
How can I set the the line spacing to none? Every time I hit enter it
drops
down 2 lines. If you are going to reply to this saying to just use
CSS,
please
help someone who knows nothing about CSS to understand what you are
saying.

Thanks








Reply With Quote
  #5  
Old   
Mad Dog
 
Posts: n/a

Default Re: Line spacing - 07-20-2004 , 03:03 PM



Murray -- I'm curious about what your general, usual and customary plan is
to control spacing on a page where you want different spacings between
paragraphs. For example one spacing between most paragraphs but more spacing
between sections, say. Is there a nice clean way other than using <span> or
<div> tags all over the place?

MD



Murray *TMM* wrote:
Quote:
Many HTML tags have inherent margins on all four sides. The <p> tag
is one of them.

What your eye is telling you is a big space is just the margin
between two adjacent <p> tags (look at the code and you'll see them).

All margins are accessible to you via CSS. You can control them by
redefining the <p> tag so that its margin is either reduced, or even
eliminated. To do this, you would need to open your page in DW,
reveal the CSS Panel (WINDOW | CSS Styles (F11), and click on the new
style icon.

Having done this, you need to decide whether you want to create this
style in a separate externally linked stylesheet, or embed it in this
page. For simplicity, just select the radio button for this page
only.

Then you need to tell the CSS Editor that you are going to Redefine a
tag by selecting that radio button, and then finding the "p" in the
drop down list of tags. When you click OK, you will be taken to a
Dialog panel on which you can change styles for a number of
categories. The one you want is the Box category. Select that, and
in the single enabled margin field, enter "3" (for 3 pixels margin
top, right, left and bottom). When you click OK, this will be
written to the page's head region -

style type="text/css"
!--
p {
margin:3px;
}
--
/style

(depending on your preference settings you may see something
different).

Now you willl see a reduced space between your paragraphs on that
page.


"send2me" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:cdjm4t$ip9$1 (AT) forums (DOT) macromedia.com...
How can I set the the line spacing to none? Every time I hit enter
it drops down 2 lines. If you are going to reply to this saying to
just use CSS, please help someone who knows nothing about CSS to
understand what you are saying.

Thanks



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

Default Re: Line spacing - 07-20-2004 , 03:21 PM



That worked out great. Thank you Thank you Thank you.

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

Default Re: Line spacing - 07-20-2004 , 03:47 PM



You're welcome!

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

"send2me" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
That worked out great. Thank you Thank you Thank you.



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

Default Re: Line spacing - 07-20-2004 , 03:48 PM



p.special { margin:....
p.notsospecial { margin...
#moose p { margin...
#pucky p { margin...

Like that....


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

"Mad Dog" <md (AT) mdp (DOT) com> wrote

Quote:
Murray -- I'm curious about what your general, usual and customary plan is
to control spacing on a page where you want different spacings between
paragraphs. For example one spacing between most paragraphs but more
spacing
between sections, say. Is there a nice clean way other than using <span
or
div> tags all over the place?

MD



Murray *TMM* wrote:
Many HTML tags have inherent margins on all four sides. The <p> tag
is one of them.

What your eye is telling you is a big space is just the margin
between two adjacent <p> tags (look at the code and you'll see them).

All margins are accessible to you via CSS. You can control them by
redefining the <p> tag so that its margin is either reduced, or even
eliminated. To do this, you would need to open your page in DW,
reveal the CSS Panel (WINDOW | CSS Styles (F11), and click on the new
style icon.

Having done this, you need to decide whether you want to create this
style in a separate externally linked stylesheet, or embed it in this
page. For simplicity, just select the radio button for this page
only.

Then you need to tell the CSS Editor that you are going to Redefine a
tag by selecting that radio button, and then finding the "p" in the
drop down list of tags. When you click OK, you will be taken to a
Dialog panel on which you can change styles for a number of
categories. The one you want is the Box category. Select that, and
in the single enabled margin field, enter "3" (for 3 pixels margin
top, right, left and bottom). When you click OK, this will be
written to the page's head region -

style type="text/css"
!--
p {
margin:3px;
}
--
/style

(depending on your preference settings you may see something
different).

Now you willl see a reduced space between your paragraphs on that
page.


"send2me" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:cdjm4t$ip9$1 (AT) forums (DOT) macromedia.com...
How can I set the the line spacing to none? Every time I hit enter
it drops down 2 lines. If you are going to reply to this saying to
just use CSS, please help someone who knows nothing about CSS to
understand what you are saying.

Thanks





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.