On May 23, 2005, at 2:13 AM, Ben Ward wrote:
I might also be inclined to put semantic class names on each of those
addresses (such as "street-address", "telephone", "fax". In the
future, this would allow you to use CSS to generate the "Tel" and
"Fax" prefixes for you, or insert an appropriate icon graphic etc.
I've used that approach here:
http://www.itgtradingcards.com/contact.html
<dl class="postalAddress">
<dt>Canada</dt>
<dd class="company">In The Game, Inc.</dd>
<dd class="division">Customer Service</dd>
<dd class="street1">135 West Beaver Creek Road Box #604</dd>
<dd class="city">Richmond Hill</dd>
<dd class="state">ON</dd>
<dd class="postalCode">L4B 1C0</dd>
</dl>
I use the CSS to put the City, State, and Zip on one line, and even an
:after { content:','; } bit to add the comma between City and State
(with a hack for IE).
http://www.itgtradingcards.com/common/css/layout_v30.css
http://www.itgtradingcards.com/common/css/hacks/win_ie_v30.css
Not sure if this is really more useful than other methods -- I coded
this when I was in an experimental mood. Also note: no <address> tags.
--
Ben Curtis : webwright
bivia : a personal web studio
http://www.bivia.com
v: (818) 507-6613
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************