Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 12th, 2008, 10:55 AM
Desser
Guest
 
Posts: n/a
Default How do I change the leading between header and the paragrph text

CSS Newbee.

I need to have lesser space between the h1 and the paragraph text.

My header is 28 pixels and the body text is 12 pixels.

How do I do this?

Here is my CSS:

p {

font-family: "Times New Roman", Times, serif;

font-size: 13px;

font-weight: normal;

color: #990066;

line-height: 110%;

}

h1 {

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 28px;

font-style: normal;

line-height: 80%;

font-weight: bold;

color: #009900;

text-transform: none;

}


  #2  
Old August 12th, 2008, 03:35 PM
Jonathan N. Little
Guest
 
Posts: n/a
Default Re: How do I change the leading between header and the paragrph text

Desser wrote:
Quote:
CSS Newbee.
Okay...
Quote:
>
I need to have lesser space between the h1 and the paragraph text.
>
My header is 28 pixels and the body text is 12 pixels.

Well if a newbie then start out right from the start. Do not use pixels
to size your fonts.

http://www.google.com/search?hl=en&q...=Google+Search
font size in pixels bad web design - Google Search
Quote:
>
How do I do this?
The property is "margin"

http://www.w3.org/TR/CSS21/box.html
Chapter 8 Box model

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles