If I have the following HTML:
<div id="container">
<div id="inner">
</div>
</div>
Is there any difference , performance wise, between:
#container #inner {
width:300px;
}
to
#inner {
width:300px;
}
?
If I have the following HTML:
<div id="container">
<div id="inner">
</div>
</div>
Is there any difference , performance wise, between:
#container #inner {
width:300px;
}
to
#inner {
width:300px;
}
?
wont really affect it,
just CSS selectors with a wide-matching key selector can hurt performance ..
some insight here: http://www.stevesouders.com/blog/2009/06/18/simplifying-css-selectors/