Previous Message
Next Message

[css-d] Squishing paragraphs together

Sent by Jim Wilkinson on 3 March 2003 19:07


>I have paragraphs that I want to sit one on top of the other, with no
>spacing beyond the line spacing.

Hello Charles,

A diagnostic style sheet is ideal for problems like this. You need to show a border on your 
paragraphs (and perhaps other elements) so that you can examine padding (inside) and 
margins (outside). Something like this:-

h1, h2, h3, h4, h5, h6, p, ul, ol, span {
border: 1px solid #CCC !important;
}

For how to set up and use the style sheet see:-

http://css-discuss.incutio.com/?page=DiagnosticCss

Jim Wilkinson

Cardiff, Wales UK
Previous Message
Next Message

Possibly related: