css-inheritance

How to avoid a th element from inheriting properties from a tr element in IE6/7

I've got a table which has a repeating background image on the header: thead tr { border-collapse:collapse; background: #D3D2D2 url(images/background-table-header.gif) repeat-x top; } And this works across in both Firefox and Internet explorer, but if we want certain column headers to show the sorting direction we decorate the t...

Inheritance of list-style-type property in Firefox (bug in Firebug?)

Let's have a look at some comments 1) on a page generated by Wordpress (it's not a site I maintain, I'm just wondering what's going on here). As these pages might disappear in the near future, I've put some screenshots online. Here's what I saw: Obviously, the list-item markers shouldn't be there. So I decided to look at the source us...

In CSS, want to override my a:link and a:hover directives to for a specific span

This will probably be a softball for you CSS folks... I have a site like this: <div id="header"> <span class="myheader">This is the name of my awesome site!!!!</span> </div> <div id="content">whole bunch of other stuff</div> <div="sidemenu"><ul><li>something</li><li>something else</li></ul> <div id="footer">Some footer stuff will go h...