Wrox Programmer Forums
| 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 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
  #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
  #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.
  #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


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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.