[uf-discuss] Mark-up for vCard in table rows

Andy Mabbett andy at pigsonthewing.org.uk
Sun Mar 25 13:32:08 PST 2007


In message <4606D6D1.6040401 at xtra.co.nz>, Paul Wilkins 
<paul_wilkins at xtra.co.nz> writes

>Andy Mabbett wrote:
>> Given that the only place class="vcard" can go is the <tr>, where can I
>> put class="adr"?
>
>If you have to stick to using tables (ugh), you can nest them together.

I don't - but then, it's not my website.

Then again, what's wrong with tables fir tabular data?

><tr class="hcard">
><td class="fn org"><a href="...">Visitor Center</a></td>
><td><table><tr class="adr">
>  <td><img alt="" src="flag.png" />
>      <a href="..." class="country-name">Nepal</a></td>
>  <td><span class="locality">Okhaldhunga (40 km)
>      <a href="...">map</a></td>
></tr></table></td>
></tr>

I'm trying to advise someone about marking up an existing table; uFs are 
not supposed to require the re-engineering of valid HTML.

-- 
Andy Mabbett
                  <http://www.pigsonthewing.org.uk/uFsig/>

                     Welcome to the world's longest week!


More information about the microformats-discuss mailing list