Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    the <li> idea isn't good practice. If you really want to this, look into a templating language instead.
    – Gary
    Commented Apr 29, 2010 at 23:16
  • 1
    Sounds like using the CSS3 :before or :after pseudo-elements you'll really just be moving the redundancy to CSS land (because you'll need to add a CSS statement for OwnerJoe, OwnerJane, etc.) Commented Apr 29, 2010 at 23:25
  • 3
    @Matt Beckman: That is fine with me. I can easily define CSS blocks for each of my users. Repeating it over and over in the HTML seems excessive in my case.
    – abelenky
    Commented Apr 29, 2010 at 23:33
  • 1
    I feel like a more practical use of this for wider audience would be like label.required:before {content: "* ";} to add an asterisk in front of required fields, perhaps.
    – Patrick
    Commented Jun 13, 2013 at 16:16