Lee Powell wrote:
>  One style has a
> black background and the other grey, both with white text.
>
> So my markup looks like this:
>
> <span class="button"><a href="...">This is a button</a></span>
>
> So I need a naming convention to differentiate between the two, and I really
> don't want to use 'black' and 'grey' for obvious reasons, 'style-a' and
> 'style-b' doesn't seem to convey much meaning...
>
> So has anyone else got other ideas on how to name these seemingly
> miscellaneous elements?
>
>
>   



Maybe, like...?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />
<title>foo</title>
<style type="text/css">
.button {...}
.c1 {background:#000;}
.c2 {background:gray;}
</style>
</head>
<body>
 <div class="button c1"><a href="#">This is a button</a></div>
 <div class="button c2"><a href="#">This is a button</a></div>
</body>
</html>


-- 
http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to