470,821 Members | 2,084 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,821 developers. It's quick & easy.

Spacing after <H3> needs to be compressed

Hi,
I'm trying to compress my text vertically. After every <H3> there is a
double line space before my <UL> begins. I want the <UL> right below
the <H3>. My output text looks like:
<H3>

<UL>

Where I want:
<H3>
<UL>

The line-height attribute seems to compress above the <H3> not below
it. My CSS has the following:
h3{
font: bold 80% Arial,sans-serif;
color: #334d55;
margin: 0px;
padding: 0px;
line-height: 2;
}

How do I compress the gap between my H3 and the UL?

Thanks for your help,

Jim.
Jul 23 '05 #1
1 4554
On 12 Nov 2004 13:03:59 -0800, Jim Storey <jr******@hotmail.com> wrote:
Hi,
I'm trying to compress my text vertically. After every <H3> there is a
double line space before my <UL> begins. I want the <UL> right below
the <H3>...
The line-height attribute seems to compress above the <H3> not below
it.
You don't want line-height.
My CSS has the following:
h3{
font: bold 80% Arial,sans-serif;
color: #334d55;
margin: 0px;
padding: 0px;
line-height: 2;
}


It's either margin or padding or both, and you need to adjust it on h3 AND
on ul. Perhaps on the first li too.
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Harlan Messinger | last post: by
2 posts views Thread by Danny | last post: by
10 posts views Thread by Iain Hallam | last post: by
1 post views Thread by John Rowe | last post: by
4 posts views Thread by Alan Silver | last post: by
4 posts views Thread by Christofer Dutz | last post: by
10 posts views Thread by Michael7 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.