[whatwg] <figure><img><* caption>

Tab Atkins Jr. jackalmage at gmail.com
Tue Dec 1 06:38:32 PST 2009


On Tue, Dec 1, 2009 at 7:28 AM, Lachlan Hunt <lachlan.hunt at lachy.id.au> wrote:
> To some extent, it even makes it difficult for authors to provide reasonable
> styles if they can't guarantee which elements content writers will choose
> for their caption.  Imagine designing a CMS template with some default
> styles for figure and caption, the CSS in the template would have to deal
> with so many possible element choices just for the caption, it'll be
> difficult to get it right and test everything.

There are a multitude of "reset" style sheets on the web today that
don't seem to have a problem removing virtually all default styling
from elements.  It would not be difficult to modify one to strip a
@caption element down to bare bones and then restyle as desired.

~TJ


More information about the whatwg mailing list