W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: Background Image or Color Showing Through Gaps in Intermittent Border Styles

From: David Woolley <david@djwhome.demon.co.uk>
Date: Sat, 12 Aug 2006 09:56:17 +0100 (BST)
Message-Id: <200608120856.k7C8uIs14111@djwhome.demon.co.uk>
To: www-style@w3.org

> If this effect is not desirable, use a nested element to set the background.

Note that, with CSS3, as currently proposed, and as noted in last week's
replies to this question, this element should be generated by the style
sheet.  For CSS 2.1, it is preferable to accept the current behaviour,
as introducing elements into the HTML purely for styling purposes is
considered bad practice.

The possible disadvantage of the CSS3 technique is that it will lose
the border in earlier browsers, but that is a different problem, 
the "all or nothing" problem.
Received on Saturday, 12 August 2006 08:57:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT