Posted by City Dweller on 04/06/06 23:42
It's easy when CSS is in use, what what if it isn't? All major browsers seem
to agree on a default gap. I am trying to find out what formula they use.
Thanks for responding.
-- Abe
"Toby Inkster" <usenet200604@tobyinkster.co.uk> wrote in message
news:lc2gg3-20u.ln1@ophelia.g5n.co.uk...
> City Dweller wrote:
>
>> For example, consider this HTML code:
>>
>> LINE1<P>LINE2
>
> I'd rather consider this code:
>
> <P>Line 1</P>
> <P>Line 2</P>
>
> The vertical gap between the two paragraphs is the sum of the lengths of
> the following CSS properties as applied to the paragraphs in question:
>
> padding-bottom of the top paragraph
> border-bottom of the top paragraph
> margin-bottom of the top paragraph
> margin-top of the bottom paragraph
> border-top of the bottom paragraph
> padding-top of the bottom paragraph
>
> --
> Toby A Inkster BSc (Hons) ARCS
> Contact Me ~ http://tobyinkster.co.uk/contact
>
[Back to original message]
|