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

> 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 UTC