POV-Ray : Newsgroups : povray.off-topic : Web page construction : Re: Web page construction Server Time
4 Sep 2024 03:14:07 EDT (-0400)
  Re: Web page construction  
From: Francois Labreque
Date: 14 Sep 2010 08:47:49
Message: <4c8f6ef5$1@news.povray.org>

>>> Hmm, so why doesn't the next heading tag get inlined into the previous
>>> paragraph?
>>
>> because paragraphs are display:block by default?
>
> True - but that still doesn't explain how the spacing is still correct.
> (I.e., there's more space around a heading than there is around a
> paragraph.)

Because both <h1>'s and <p>'s margin-top and margin-bottom are 1ex; in 
height, but since usually <h1> uses a bigger font, its margin will be 
bigger.

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   gmail.com     */}camera{orthographic location<6,1.25,-6>look_at a }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.