Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > BOOK: Beginning HTML, XHTML, CSS, and JavaScript
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 8th, 2013, 11:16 AM
Registered User
Points: 32, Level: 1
Points: 32, Level: 1 Points: 32, Level: 1 Points: 32, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Location: Brackley, UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #2 (permalink)  
Old August 14th, 2013, 08:06 PM
Authorized User
Points: 105, Level: 2
Points: 105, Level: 2 Points: 105, Level: 2 Points: 105, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2010
Posts: 19
Thanks: 0
Thanked 4 Times in 4 Posts
Default

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.
Reply With Quote
  #3 (permalink)  
Old August 15th, 2013, 06:39 AM
Registered User
Points: 32, Level: 1
Points: 32, Level: 1 Points: 32, Level: 1 Points: 32, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Location: Brackley, UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript universal shift-reduce parser ivanvodisek Javascript 1 March 5th, 2016 07:06 AM
How to reduce website load time? rajanshah Beginning PHP 0 January 21st, 2011 07:56 AM
reduce viewstate size vantoko BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 May 10th, 2007 07:20 AM
How to reduce the processing time for this prob? changeable Excel VBA 0 October 27th, 2004 04:12 AM
Reduce the stock when place order helmekki Excel VBA 0 June 20th, 2004 06:20 AM



All times are GMT -4. The time now is 06:10 AM.


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