|
 |
BOOK: Beginning HTML, XHTML, CSS, and JavaScript  | This is the forum to discuss the Wrox book Beginning HTML, XHTML, CSS, and JavaScript by Jon Duckett; ISBN: 978-0-470-54070-1 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning HTML, XHTML, CSS, and JavaScript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

August 8th, 2013, 11:16 AM
|
Registered User
|
|
Join Date: Jul 2013
Location: Brackley, UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Reduce space between a headind and para
Look here,
I'm new to this html and css so my questions may be too basic. But can someone out there tell me how I can reduce the space between a paragraph title and the para text using an external css style sheet?
Thanks in gratitude
John L
|

August 14th, 2013, 08:06 PM
|
Authorized User
|
|
Join Date: Sep 2010
Posts: 19
Thanks: 0
Thanked 4 Times in 4 Posts
|
|
Hi John - you can set the CSS margin property to 0, can reduce the line-height property to 1em on the heading. There were things called CSS reset style sheets that removed some of this kind of styling - worth having a look at.
|

August 15th, 2013, 06:39 AM
|
Registered User
|
|
Join Date: Jul 2013
Location: Brackley, UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Reduce space between a heading and para
Hi bitnap,
Thank you for your reply. I'll look into "CSS reset" style sheets.
Regards
John L
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |