-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erik Gyepes wrote:
> Hi Ricky,
> 
> yes I believe that works but I don't want so width background, I need
> just as long as the h2 text :(
Well, this is untested in most browsers and might completely blow up, but:

h2.box
{
  background: #000000 url("images/black-box-right.png") no-repeat right;
  color: #9fcc58;
  display: inline;
  line-height: 30px;
  padding: 15px 0;
}
h2.box span {
  background: url("images/black-box-left.png") no-repeat left;
  display: inline;
  padding: 15px 10px;
}

Hope this helps,
Ricky
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGpkAcZBKKLMyvSE4RAsImAJ0S+MXgVXO5KymnaMWS8k215YLbrwCgjprz
HOxTPFC2auUr7CGiK8/4Rmc=
=IB+h
-----END PGP SIGNATURE-----
______________________________________________________________________
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/

Reply via email to