Thanks for your time in replying.
Would it be easier to see on this?
http://d557386.u42.hostserv-dns.net/ecre3.css
http://d557386.u42.hostserv-dns.net/index2.asp
You have illustrated why the annoying math is required to figure out
"specificity" ;-)
No doubt some multiple selectors are hitting the second h2. Can you
provide the CSS on the three divs as well?
Your first H2 is H2 within #subheader, but the second H2 is in two
different IDs.
It's probably all in the spec, but give us a try...
----- Original Message ----- From: "Mark Kamian"
Hi list,
Having fun learning css, but this is getting me. As seen in the markup
below, 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?
Also, in Win/IE, it's more like 2 spaces after the text, instead of one
before and one after. Is this discrepancy normal?
Thanks for any assistance.
STYLE (relevant)/
H2
{
font-size: 100%;
color: #c59696;
letter-spacing: 1px;
background: gray;
}
#subheader
{
float: right;
margin-top: 15px;
margin-right: 10px;
text-align: right;
background: blue;
border: #f00 1px solid;
}
MARKUP/
http://d557386.u42.hostserv-dns.net/index2.asp
...
<div id="subheader">
<h2>Sales Leasing Development</h2>
</div>
<div id="main-body">
<div id="content">
<h2>Welcome to Ellison Commercial!</h2>
</div>
...
</div>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
______________________________________________________________________
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/
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
______________________________________________________________________
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/