![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
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 |
#4
| |||
| |||
|
|
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 |
#5
| |||
| |||
|
|
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 |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
That worked out great. Thank you Thank you Thank you. |
#8
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |