472,961 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,961 software developers and data experts.

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 4643
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Harlan Messinger | last post by:
Different pages on a web site can vary in the level of header to which they descend. One short page may have only <h1>, or <h1> and <h2>. Another, detailed page, might get all the way down to <h6>....
2
by: Danny | last post by:
Is there a way I can get rid of a blank like under an <h3></h3> tag? without using css Thanks in advance
10
by: Iain Hallam | last post by:
Hi. I'm displaying some stats in a table and I'd been putting the text into a <p> tag inside the <td>s: <td> <p>Note 1: See column x for foo...</p> <p>Note 2: See page <a ...>17</a> for...
1
by: John Rowe | last post by:
I run the web site for a University department. A few of my authors will carefully write: <h3>Title</h3> <p>Some text here.</p> <p>Second paragraph.</p> Most of us can't be bothered(!): ...
4
by: Alan Silver | last post by:
Hello, Please pardon what is probably a dumb question, but if I have HTML like this... <div> <h3>Ferrets</h3> </div> and CSS like this...
4
by: Christofer Dutz | last post by:
Hi, I am having a small problem, that is driving me nuts. My application reads some Xml and runs 2 Xsl Transformations to generate HTML. As soon as my second XSL introduces some <br/tags, the...
14
by: Linda Jimerson | last post by:
Hi - I'm using xhtml 1.0 and css 2.0 to code my website. I've run into an odd problem. I have a simple <h3> element (centered) under my photo, but as you can see Iin FIREFOX, Opera and Netscape)...
1
by: poojak | last post by:
Hello Everyone, In my css I have defined h3 tag as h3 { font-size:23px; } This works fine in IE and Mozila but in Opera whereevr I used <h3> a gray background color is coming and text is...
10
by: Michael7 | last post by:
Hi everyone, With all the trouble I have concerning simple things with CSS (still learning), I think I am getting it now, but have stumbled upon a relatively NOT simple problem. I've looked all...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.