98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Dreamweaver Training and help » Dreamweaver 8
Dreamweaver 8
Resolved · Low Priority · Version CS3
Jef has attended:
Dreamweaver 8 Intermediate course
Dreamweaver 8
paragraph styles - how do I change the spacing between paragraphs?
RE: dreamweaver 8
Hi Jef,
Thanks for your question. I hope you enjoyed the Dreamweaver training yesterday.
It's best to use CSS to control the margin of the paragraph. The default margin for paragraph (P tag) varies between browsers (apparently IE has a 1em bottom margin, whereas Mozilla has 1em top and bottom margins).
So you could redefine paragraph tags using CSS code such as this:
P {
margin: 0;
}
Or perhaps you just want to make the margin smaller:
P {
margin-top: .7em;
margin-bottom: .5em;
}
You can also use pixels (10px;) and other CSS measurements.
I have seen a lot of web sites with this at the top of their CSS style sheets:
* {
margin: 0;
padding: 0;
}
This essentially sets ALL elements to have no padding or margin (gets rid of the browser defaults). They are then free to set their own margins and padding on a class by class basis.
I hope this helps?
If this answer resolves your query, please mark the question as 'resolved' (see below). Otherwise, please post a follow-up response to this post, and I will assist you further.
Regards, Rich
Wed 22 Jul 2009: Automatically marked as resolved.
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Dreamweaver tip:Quick Tag EditorIf you want to quickly access your HTMl tag while in design view, highlight your item on a page and press Ctrl+T |