Re: [css-d] Question about the adjacent selector

2006-01-18 Thread Zoe M. Gillenwater
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

Re: [css-d] Question about the adjacent selector

2006-01-13 Thread cj
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

Re: [css-d] Question about the adjacent selector

2006-01-13 Thread Adam Kuehn
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

Re: [css-d] Question about the adjacent selector

2006-01-13 Thread Mike Soultanian
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

Re: [css-d] Question about the adjacent selector

2006-01-12 Thread Adam Kuehn
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

Re: [css-d] Question about the adjacent selector

2006-01-11 Thread Roger Roelofs
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