On 27/05/11 11:15, Stargazer wrote:
This patch, which adds the id attribute to the body tag is not for the benefit of the author, but for the consumer/user. As the author, I do use the /-a stylesheet=/ to slightly tweak the xhtml11 or html5 theme before distributing my documentation. I find the AsciiDoc CSS provides a solid foundation for formatting HTML documentation but I may have a couple of tweaks. My basic goal is to be as "minimalist as possible" in regards to modifications to AsciiDoc. It makes installs less prone to errors and so much faster :-) I first read about the '/CSS Signature/' technique in the book, "Transcending CSS", page 41, by Andy Clarke. It allows the consumer/user to make changes to the style of an _individual site_ by adding rules to their browser's user style sheet. Granted there are other benefits to this unique identification. The book referred readers to the css-discuss thread 13291 <http://archivist.incutio.com/viewlist/css-discuss/13291>. A couple of examples from live sites: * <body id="www-w3-org" class="w3c_public w3c_home"> <http://www.w3.org> * <body id="www-meyerweb-com" class="hpg"> <http://meyerweb.com/> This patch would allow the addition of the id attritbute on the body tag.
Ok, I understand what it's all about now, and if Eric Meyer thinks it's a good idea then I guess it must be :-)
I did a quick Google and the term 'CSS signature' seems to be in common use so I'm thinking that calling the attribute css-signature (its function) would be preferable to body-id (its implementation).
Cheers, Stuart
Thank you. Peg Russell PS: I used the new google groups web UI and it allows the attachment of files, so I resent the patch. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
-- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
