[Klug-general] easy/fast web design

Jake Rayson subs at growdigital.net
Fri Apr 2 09:58:14 UTC 2010


On Wed, 2010-03-31 at 09:41 +0100, Mike Evans wrote:
> The rule with css is that the last definition of anything wins so if
> you override it in your file which is included last then you get what
> you want 

Actually it's a bit more complicated than that -- specificity determines
which CSS rule is applied: http://bit.ly/2asuN3

Probably is easier to use !important if you just want it to work in a
quick and dirty fashion.

-- 
[~] Jake Rayson
[e] subs at growdigital.net
[w] http://growdigital.net
[~] Teaching the web with Free Software





More information about the Kent mailing list