On Mon, 2007-07-05 at 18:18 +0000, Ian Charnas wrote: > Hyphens and Underscores are definitely included in the specs, and I > haven't run across a good argument that would urge us not to use > them. Colons and periods however, *are* problematic because they are > also special characters in CSS selectors, as I believe Jorge was > pointing out. The period denotes a css class, and the colon denotes a > pseudo-class or a pseudo-element. I haven't seen any webmasters using > periods and colons as part of an id... which gives us an interesting > option. Currently, underscores are used to form the ids of compound > widgets. If we switched that to periods (or colons), we would open up > the door for people to use underscores in ids, without losing anything > in the process. This would however, potentially break some people's > css, if they had used the existing underscore-laden id fields as css > selectors in their css.
+1 on replacing underscore as a special char with something else. Anyone coming from a c/c++ background like myself is probably used to using underscores all over the place. Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
