On Thu, Mar 18, 2010 at 09:30:44AM +0000, Brett Parker wrote:
On 17 Mar 22:22, Chris G wrote:
I seem to suffer from this all the time, too much space between headers and the things underneath them.
... and I've simplified it down to the following:-
I have the following HTML:-
<p> Paragraph1 </p> <p> Paragraph2 </p>
In the CSS I have:-
p { background: blue; padding-bottom: 0; margin-bottom: 0px; margin-top: 0; padding-top: 0; }
(The background: blue; is just to prove it's being acted on)
... and there's still a great wide white space between the two paragraphs. How can I get rid of it?
Huh? What white space...
http://miranda.sommitrealweird.co.uk/~brettp/temp/splat/test.html
Are you actually showing us all the relevant data?
Obviously not but the question was rather to find out what else could be affecting it. It's in a Wiki and thus there's a whole superstructure of 'stuff' around this. Presumably there's some CSS overriding what I have but I really can't understand what given that the above is an exact extract from the HTML (viewed with 'Show Source' in Firefox) and I see two paragraphs with a blue background and white space in between.
I probably only want to change the spacing locally so what I'm really after is a way to tell those particular paragraphs not to have any space between them. I can *probably* wrap it all in a <div> and/or add a class to the paragraphs.