- From: Etienne Miret <etienne.miret@ens-lyon.org>
- Date: Sat, 20 Aug 2011 17:23:07 +0200
- To: Craig Chant <dmo@dance-music.org>
- Cc: www-validator@w3.org
Hello Craig, After some digging and hacking, I found this: * Standard Facebook button with faces: <object data="http://www.facebook.com/plugins/like.php?href=YOUR_URL" style="border:none; width:450px; height:80px"></object> * Standard Facebook button without faces: <object data="http://www.facebook.com/plugins/like.php?href=YOUR_URL&show_faces=false" style="border:none; width:450px; height:35px"></object> * Small Facebook button: <object data="http://www.facebook.com/plugins/like.php?href=YOUR_URL&layout=button_count" style="border:none; width:150px; height:20px"></object> * Standard Google +1 without count: <object data="https://plusone.google.com/u/0/_/+1/fastbutton?url=YOUR_URL&size=standard&count=false&hl=en-US" style="border:none; width:38px; height:24px;"></object> * Standard Google +1 with count: <object data="https://plusone.google.com/u/0/_/+1/fastbutton?url=YOUR_URL&size=standard&count=true&hl=en-US" style="border:none; width:106px; height:24px;"></object> Hopefully, with those examples you’ll be able to do what you want. They're all valid HTML4/XHTML1 Strict. Note that the above code for Google +1 isn’t officially supported by Google and thus may break at any time. The Facebook code should be fine, since it doesn’t differ much from the Facebook-supported <iframe> Like buttons. If anyone wants to post this code somewhere, feel free to do so but please quote my name. Regards, Etienne Miret Le 17 août 2011 à 19:12, Craig Chant a écrit : > Hello Etienne, > > Thanks for the reply, however that still doesn't work. > > My pages are X/HTML 1.0 Strict , not HTML5! > > Do you have any X/HTML mark-up that will validate? > > Regards, > > Craig. -- Etienne Miret
Received on Saturday, 20 August 2011 15:23:36 UTC