473,320 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 4651
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.