I'm experimenting, but I think display: inline; or some variation will
do what I want. I want the border to be a different color...
On 4/16/07, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:
> Lorin Rivers wrote:
> > I want to have a border-bottom on an h2 that's centered, but not have
> > the border fill the whole width of the containing element. The content
> > is dynamically generated, so I don't know exactly how wide to make it,
> > so that's not an option.
>
> Wouldn't...
> h2 {text-align: center; text-decoration: underline;}
> ...be ok?
>
> regards
> Georg
> --
> http://www.gunlaug.no
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/