Dear Anonymous (who gave me the code correction yesterday), Do you know how I can add a little bit of space between my header and description? Thanks in advance. Kathy

7 Comments. Leave new

  • Hi Kathy. Yes, you can achieve this by adding a top margin to it. Change this line in #description: margin: 0 0 5px; to –> margin: 10px 0 5px;

    Reply
  • Thanks!!!!

    Reply
  • I finally made this edit today. Thanks for helping me. I previously tried changing every number by trial and error but had not added the px. Works much better with the px. Thanks again.

    Reply
  • I see you did. 🙂
    I used 10px as a guideline, but forgot to mention you could choose any value to adjust the thickness. And yes, unless the value is 0, you must indicate the unit which will be used (px, pt, em, etc)

    Did you work out that the first value was top, second was right, etc ? I didn't mention that either, sorry. I thought you knew.

    Reply
  • I try not to admit to how little I know. What confused me is that when enter 10 in that position, the sidebar moves up. But if I add 10px instead, the description moves down. I figured there's some rationale.

    Reply
  • Right. If you don't specify the unit of measurement (px in this case), the value is overlooked and set at 0. In fact, none of the values are taken into account if there is a discrepancy in any of them. Notice that when you enter 10 even the bottom margin (5px) disappears. The description moves up and so do the main and sidebar portions.

    Reply
  • wow! thanks.

    Reply

Leave a Reply

Your email address will not be published.

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

Previous Post
blue jays fluffed up in the cold
Next Post
mrs cardinal
Menu