CSS attributes possible for a given HTML tag

Hello all,

I am new to CSS and I am going through some CSS tutorials/books. I was wondering if there is a resource online that lists all the possible attribute styles(like width, position, border..) that can be applied to a given HTML tag. Everytime I go through a tutorial, I find bits and pieces of information and new CSS attributes.

I am a programmer and from that perspective, Is there any hierarcy like.
1 a base set of attributes that are common to all tags and...  
2 some tags have more specific attributes.

(Other than w3schools.com and w3c)

Thanks
tvr1729Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David S.Commented:
Good question. Theoretically all properties can apply to all elements. However, some properties only apply when an element has certain other properties set. For example, the width and height properties don't apply to inline elements, like <a>s and <span>s are by default. Another example would be that the top, left, right, bottom, and z-index properties don't apply to non-positioned elements (elements that don't have their position property set to a valid value other than "static", which is the default value). For yet another example, border-collapse only applies to elements with display:table or display:inline-table (IE7 doesn't support those, but IE8 will).

Here's a very good CSS Reference site: http://reference.sitepoint.com/css

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David S.Commented:
To clarify what I said, IE5+ do support border-collapse. They just have it bound directly to <table> elements instead of to display:table and display:inline-table like other browsers do.
tvr1729Author Commented:
Thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.