Page 1 of 1

Content Area Superior Margin

Posted: Tue May 29, 2007 9:46 am
by alarach
My site www.65years.com

As you can see inside content area, I need the superior margin to down.
My questions what's the code to do it?
Or where it's the code to modify it inside the style page.

Image

Thank you,

Re: Content Area Superior Margin

Posted: Wed May 30, 2007 7:08 am
by RonnyK
What about

Code: Select all

 div#content {
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
}
to give space to the entire content-block.

Ronny

Re: Content Area Superior Margin

Posted: Wed May 30, 2007 9:18 pm
by alarach
No that one.

I need headings (Home Word) to give some air.
Padding down.

Re: Content Area Superior Margin

Posted: Thu May 31, 2007 5:36 am
by Dr.CSS
That is controlled by this call in the CSS...

div#content h2 {
color: #294B5F;
font-size: 1.5em;
text-align: left;
/* some air around the text */
padding-left: 0.5em;
padding-bottom: 1px;
/* set borders around header */
margin:10;
padding:10;
border-bottom: 1px solid #e7ab0b;
border-left: 1.1em solid #e7ab0b;
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}

Re: Content Area Superior Margin

Posted: Thu May 31, 2007 5:54 am
by alarach
Thank you Mark.
I modify everything, and nothing happened!

Re: Content Area Superior Margin

Posted: Thu May 31, 2007 6:29 am
by RonnyK
change padding-top in DIV#main to 1em and it'll get air.

Ronny

Solve

Posted: Thu May 31, 2007 6:39 am
by alarach
Thank yoy Ronny
Inside the div#main I change the Padding to 1em
Thanks.

Re: Content Area Superior Margin

Posted: Thu May 31, 2007 6:46 am
by RonnyK
Alarach,

if you have FF, you can install the webdeveloper-extension. When you use that you can show your site in FF, got to "CSS -> Style sheet information". When you then hover the page, you'll see the elements used, and know where to change the settings.

Ronny