Stylesheet fixes

Well, I’ve fixed some bugs in my redmonk stylesheets, as well as those for a client.

I’m not sure where I picked it up, but I had the idea that inherited styles were separated by a “>”, as in:

.someClass > .childClass {...}

This worked in the browsers (Chimera and Safari) I do most development in, as well as IE6/Win. However, it was freaking out IE5/Win.

I found out at webreview’s browser style support reference (via css.nu) that inherited styles are declared so:

.someClass .childClass {...}

After fixing that, the styles are now being rendered properly. Now, I wonder where I got the idea that there was supposed to be a “>” in there, and why were several popular browsers rendering it properly?

R.E.M. Says:

About this Entry

This page contains a single entry by Steve published on January 15, 2003 11:23 AM.

David Sleigh - Festival was the previous entry in this blog.

Joining the Ecosystem is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID