First, I am new to CSS, so any links and/or explanations must be simple for simple-minded people like me. I have searched W3C, and although they do explain class selectors, they do not come close to answering my questions. So far, I have not found anyplace else that does.
In the code below, exactly how does the RED code work? I know it has something to do with multiple selectors, but have no idea how they work together and W3C does not tell me.
The .book function is the only function I could find in the CSS file. .building, .icon, .productionTree, etc do not exist in the CSS file.
Any simple explanation or pointers to a simple explanation are greatly appreciated.
**********
On an unrelated note, I hate this new submission text box. I can type 3 times faster than the text box can process what I type. Every 4 words or so I must wait until the text box displays what I have typed. It reminds me of when I was online with a 300 baud modem some 20 years ago - type - wait forever - type - wait forever - etc. The old submission text box display was almost instantaneous.
mmerlinn
Poor people do not hire employees. If you soak the rich, who are you going to work for?
"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond
In the code below, exactly how does the RED code work? I know it has something to do with multiple selectors, but have no idea how they work together and W3C does not tell me.
Code:
[b][COLOR=blue].book {
width: 952px;
height: 640px;
background-image: url(..//images/dialog/book/container.png);
position: absolute;
top: 150px;
left: 50%;
margin-left: -485px;
z-index: 1;
}
[COLOR=red].book.building .remDataBuildingType .building .info .production ul li,
.book.building .productionTree ul li[/color] {
line-height: 3em;
clear: both;
padding: 0px 0px 0px 10px;
}[/color][/b]
The .book function is the only function I could find in the CSS file. .building, .icon, .productionTree, etc do not exist in the CSS file.
Any simple explanation or pointers to a simple explanation are greatly appreciated.
**********
On an unrelated note, I hate this new submission text box. I can type 3 times faster than the text box can process what I type. Every 4 words or so I must wait until the text box displays what I have typed. It reminds me of when I was online with a 300 baud modem some 20 years ago - type - wait forever - type - wait forever - etc. The old submission text box display was almost instantaneous.
mmerlinn
Poor people do not hire employees. If you soak the rich, who are you going to work for?
"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond