add some padding-right for the legend, for example:

form fieldset legend {
  padding-right: 30px;
  background: #fee url(image.png) top right no-repeat;
}



2009/2/14 Rick Pasotto <r...@niof.net>

> What styling can be done to <legend></legend>?
>
> In certain cases I want to use a background image that should appear to
> the right of the legend text. However when I specify 'top right no-repeat'
> the text overlays the image. I can add some &nbsp; to sort of get what I
> need but that seems quite kludgy.
>
> --
> "To respond is positive, to react is negative." -- Zig Zigler
>     Rick Pasotto    r...@niof.net    http://www.niof.net
> ______________________________________________________________________
> css-discuss [cs...@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to