Re: [css-d] Same declarations, different results

2008-10-06 Thread David Laakso
Kim Brooks Wei wrote:
 Hi All,

 At http://bc4hkids.com/events/ I have defined h2 and h3 under the 
 turqbox div. The two headers are identical in every way except for 
 margins. But, they don't render the same. Type in h2 is larger than 
 in h3. And, the padding renders differently in each.

 Does anyone spot why this may be happening?


 Kimi

   


The difference in size is an optical illusion of sorts.
Kill the ital and they'll appear the same font-size.
h2 em {font-style: normal;}
The padding for h2 is specified greater than the padding for h3; the 
software behaves accordingly to the instructions you've given it.

-- 

A thin red line and a salmon-color ampersand forthcoming.

http://chelseacreekstudio.com/

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Same declarations, different results

2008-10-06 Thread Philippe Wittenbergh

On Oct 6, 2008, at 3:12 PM, Kim Brooks Wei wrote:

 At http://bc4hkids.com/events/ I have defined h2 and h3 under the
 turqbox div. The two headers are identical in every way except for
 margins. But, they don't render the same. Type in h2 is larger than
 in h3. And, the padding renders differently in each.

 Does anyone spot why this may be happening?

#copy h3 {  /*bc4hkids.css (line 218)*/
font-size:1.1em;
...
}

.turqbox h3 {   /*bc4hkids.css (line 456)*/
background:#62A6B9 none repeat scroll 0 0;
color:#FF;
font-size:1.12em;
...
}

#copy h3 wins over .turqbox h3 as it is more specific (id vs class)

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Same declarations, different results

2008-10-06 Thread Kim Brooks Wei
Hi All,

At http://bc4hkids.com/events/ I have defined h2 and h3 under the 
turqbox div. The two headers are identical in every way except for 
margins. But, they don't render the same. Type in h2 is larger than 
in h3. And, the padding renders differently in each.

Does anyone spot why this may be happening?

Incidentally, I wrote a while back asking if someone could see why my 
character codes won't work in many of the pages on this site. I can't 
code an exclamation mark or a parenthesis because the individual 
characters of my code show up  # 38 ; instead of the symbol I want 
them to reveal. I'm wondering if there's a declaration in my css that 
I unwittingly evoked which is causing this odd behaviour. Or 
something.

As always, thanks for tips and assistance.
Kimi

-- 
This email sent by
Kimi Wei
http://thewei.com
201-475-1854
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/