Friday, December 18, 2009

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:

Anonymous said...

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;

kathy said...

Thanks!!!!

kathy said...

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.

Anonymous said...

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.

kathy said...

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.

Anonymous said...

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.

kathy said...

wow! thanks.