 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

May 16th, 2005, 09:45 AM
|
|
Authorized User
|
|
Join Date: May 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Line spacing
I feel a bit of an idiot for posting this question, but alas i cannot for the life of me find an answer.
how, when pressing enter, do u turn off the double line spacing, so that all my lines flow unde each other, rather than having a space between....
Mock me for asking this question.. but please answer also!!!!
Thanks
Steve
|
|

May 16th, 2005, 10:12 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Are you talking about Design View in Dreamweaver?
By default, when you press enter, Dreamweaver adds a <p> tag to create a new paragraph. The browser's default for margin on a paragraph is a few pixels on the bottom, so you get the whitespace.
To remove this whitespace, add the following Css to your page or stylesheet:
p
{
margin: 0;
}
If you don't want a new paragraph, then press Shift+Enter in Dreamweaver. This adds a <br /> tag which simply causes the next text to be displayed on the next line.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

May 16th, 2005, 11:41 AM
|
|
Authorized User
|
|
Join Date: May 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Even with that set,in design view, when i press return, there is a space
underneath the size of the text i am using.. Is there anyway in design view, to have the lines apear neatly under one another?
Thanks for replying
Steve
|
|

May 16th, 2005, 11:58 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
How exactly did you add it to the page? Can you show some code?
And what version of DW are you using?
i tried this, and with the margin set to 0, DW MX 2004 displays new paragraphs exactly the same as <br /> tags between text.
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|
 |