[uf-discuss] Combining Classes (hCard) [was country-code may be missing from hCard/adr spec]

Brian Suda brian.suda at gmail.com
Sun Feb 25 07:42:14 PST 2007


On 2/25/07, Tim White <tjameswhite at yahoo.com> wrote:
> Could you not reduce
> <span class="iso-country-code"><abbr class="country-name" title="Denmark>DK.</abbr></span>
>
> down to
>
> <abbr class="iso-country-code country-name" title="Denmark">DK</abbr>

<abbr class="iso-country-code country-name country-code highlight
call-out" title="Denmark">DK</abbr>

you can do that and add other additional values for CSS style (or just
style country-name). Some companies, due to legacy styling and CSS
can't change the style of "country-code" to be on "country-name", but
it is perfectly acceptable to keep both values in the class attribute.

-brian

-- 
brian suda
http://suda.co.uk


More information about the microformats-discuss mailing list