Skip navigation
Ivy54
Currently Being Moderated

Deleting space between the heading and content

Jul 19, 2012 9:59 PM

Does anyone know how to delete or reduce the empty space between the heading and written content in the body?  My heading, is only 22px but still creates a huge gap or empty space above it and below it.  I don't know if you need this bit of information but I also insert an image of a horizontal line after the heading which normally falls under it like an underline.  I don't think that makes any difference but can you please, please, please help by providing a code?  Thanks.

 
Replies
  • Currently Being Moderated
    Jul 19, 2012 10:41 PM   in reply to Ivy54

    Can you please, please, please help by providing a code?  Thanks.

     

    The best way to do this is to supply a link to your site

     

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 19, 2012 11:06 PM   in reply to Ivy54

    It could be a number of things; but the answer lies within the markup and the styles that are applied to the markup. Because we are not privy to either, we cannot help you.

     

    At the very least, post the markup and relevant style sheet here so that we have at least something to work with. Better still, sooner or later you will have to upload the site. Perhaps now is a good time.

     

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 19, 2012 11:35 PM   in reply to Ivy54

    You have not supplied any content in your markup. hence I placed some text of my own within the h4-element. This is the result, without a space.

    _Capture.jpg

     

    The problem must be found in what you have not supplied us with.

     

    I get tired of stressing the importance of uploading the site and supplying a link to it.

     

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2012 10:49 AM   in reply to Ivy54

    Looks like default browser margins to me. 

    Try adding this to your CSS.

     

     

    h4 {margin-bottom:0}

     

    p {margin-top:0}

     

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points