The third code block works in Tails Export and doesn't use <abbr>, is this what you want?
Jules -----Original Message----- From: Mike Kaply I believe you are running into a bug in tails export where <abbr> doesn't work. Can you try a test page that doesn't use abbr but still uses type , and see what happens? Mike On 6/29/07, Rickards, Julian (NDM) <[EMAIL PROTECTED]> wrote: > Hi: > > I am still having a bit of trouble with telephone numbers in hCard > microformat. The instructions I have read seem to suggest that all I > need is to identify that a phone-number is within a class="tel", that > the type must be identified (such as work) and that the value should > be identified. The rest of my hCard markup (class="adr") worked fine > but the phone numbers proved to be very challenging. > > What I am doing is trying to make my markup work in Outlook 2003 by > exporting from Tails Export. > > I started with: > > <div class="tel"><abbr class="type" title="work">Toll-free > Phone:</abbr> <span class="value">1-800-670-5861</span></div> > > but the phone entry in Outlook is empty. So I changed the <abbr> to > <span> as follows: > > <div class="tel"><span class="work">Toll-free Phone:</span> <span > class="value">1-800-670-5861</span></div> > > but now the entry in Outlook appears but it appears as "Toll-free Phone: > 1-800-670-5861". However, I don't want "Toll-free Phone: " in the > phone number field. > > So I changed the code to: > > <div>Toll-free Phone: <span class="tel"><span > class="work">1-800-670-5861</span></span></div> > > and now it works properly but HTML Tidy gives me a warning about > nested spans. So I changed it once again to combine the classes to: > > <div>Toll-free Phone: <span class="tel > work">1-800-670-5861</span></div> > > but this results in an empty field in Outlook. > > Why is this so hard to do? _______________________________________________ microformats-discuss mailing list [email protected] http://microformats.org/mailman/listinfo/microformats-discuss
