Question

Here's my fiddle:

http://jsfiddle.net/UjAQf/102/

Is there a better way to apply the "pickBody" to each table row instead of inserting the class directly in HTML like I am doing? For example, "for each table row sibling apply this style."

Was it helpful?

Solution

You can do that by styling all the rows the same...

.geniusPicks table tr {
    /* Your styles here */
}

Then for rows with other classes, override any undesired style elements in each class definition.

OTHER TIPS

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top