Jonathan Crossland
Posts: 630
Nickname: jonathanc
Registered: Feb, 2004
Jonathan Crossland is a software architect for Lucid Ocean Ltd
|
|
|
|
CSS Heirarchy
|
Posted: Jun 20, 2006 5:31 PM
|
|
This post originated from an RSS feed registered with .NET Buzz
by Jonathan Crossland.
|
Original Post: CSS Heirarchy
Feed Title: Jonathan Crossland Weblog
Feed URL: http://www.jonathancrossland.com/syndication.axd
Feed Description: Design, Frameworks, Patterns and Idioms
|
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Jonathan Crossland
Latest Posts From Jonathan Crossland Weblog
|
|
Advertisement
|
Rule 1: Inline styles override stylesheets (css).
Rule 2: the inline styles of a child tag overrides the parent' inline style.
So how are tools supposed to be smart and override the tags, purely from a CSS?
Firstly, its up to web designers to make sure they leave inline styles alone. Dont do it.
Problem solved.
Accessibility styles would be easy and fast to implement if we all stuck to this rule..
Read: CSS Heirarchy
|
|