p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning HTML, XHTML, CSS, and JavaScript (http://p2p.wrox.com/forumdisplay.php?f=541)
-   -   Reduce space between a headind and para (http://p2p.wrox.com/showthread.php?t=90661)

John Leftwich August 8th, 2013 11:16 AM

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

bitnap August 14th, 2013 08:06 PM

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.

John Leftwich August 15th, 2013 06:39 AM

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


All times are GMT -4. The time now is 07:13 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.