Adam Kuehn wrote:
Zoe M. Gillenwater wrote:
Does this accurately describe the div above:
about + home {color:black};
No. that would be
.about.home { color: black;}
Interesting. Do you know the name for this kind of styling? I'm going
to test it in various browsers right now.
I
Actually, that formulation could well break something you don't want
broken. Note that .about.home will break in IE/Win, which will apply
the rule to everything with the home class, completely ignoring the
about class. However, modern browsers will get it correct, and
only apply the rule
cj wrote:
this is one example of css that looks like it's working in my own work:
.wrapper-div.solo,
.wrapper-div.multi {
border-top: 2px solid #4e94d5;
border-left: 2px solid #4e94d5;
}
In IE/Win, this will select either of these elements in the markup:
div class=wrapper-div
Hey CJ,
Here's a test I made. Take a look in IE and you'll see it mess up.
http://www2.csulb.edu/colleges/cota/test3.html
It's pretty obvious ;)
Mike
cj wrote:
Actually, that formulation could well break something you don't want
broken. Note that .about.home will break in IE/Win, which
Zoe M. Gillenwater wrote:
Does this accurately describe the div above:
about + home {color:black};
No. that would be
.about.home { color: black;}
Interesting. Do you know the name for this kind of styling? I'm going
to test it in various browsers right now.
I suppose it's just called
Mike,
On Jan 11, 2006, at 9:06 PM, Mike Soultanian wrote:
Let's say you have the following:
div class=about home
Does this accurately describe the div above:
about + home {color:black};
No. that would be
.about.home { color: black;}
All of the documents that I've read on the web describe