[thelist] CSS: Why does this work?
Manuel González Noriega
manuel at simplelogica.net
Tue Apr 6 11:28:46 CDT 2004
El mar, 06-04-2004 a las 15:28, Rob Smith escribió:
> Good morning, afternoon, evening,
>
> <style type="text/css">
> * { font: 1em serif; }
> .a { position: absolute; z-index: 2; top: 10; left: 10; padding: 10px;}
> .b { z-index: 1; top: 0; left: 0; width: 100%; height: 100%; padding:
> 0px; margin: 0px; align:center;}
> </style>
class="test a"
means
'apply both class test and class a to the element'
So, in absence of class test (or cow :), class a gets applied without
problems
--
Manuel González Noriega
Simplelógica, construcción web
URL: http://simplelogica.net
EMAIL: simplelogica at simplelogica.net
TELEFONO: (+34) 985 22 12 65
Logicola es el weblog de Simplelógica http://simplelogica.net/logicola/
</p>That's right. We said Frontpage.</p>
More information about the thelist
mailing list