From: "Mark Kamian" <[EMAIL PROTECTED]>
>http://d557386.u42.hostserv-dns.net/ecre3.css
>http://d557386.u42.hostserv-dns.net/index2.asp
> I'm using <h2> in two instances. In the first instance, along with
>>>the text comes what appears to be a line-break before and another one
>>>after. However, in the 2nd instance, the before and after spaces aren't
>>>there. Is there an explanation for this?
It's probably escaping margins, that's what it looks like, anyway, but I'm too
tired to test. If what you want is for them to be the same, add the following
to your CSS -
H2 {/* your other properties here */
margin: 0;}
>Also, in Win/IE, it's more like 2 spaces after the text, instead of one
>before and one after. Is this discrepancy normal?
Browsers have variances in the way they display things. Sometimes it's simply
because the specifications allow some leaway, sometimes it's because of
improper implementation of the specs, sometimes it's because of browser bugs.
In this case, simply setting a value for the margins on the H2 element should
eliminate the differences you see.
hope that helps,
~holly
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/