Hi Ricky, yes I believe that works but I don't want so width background, I need just as long as the h2 text :(
Erik Ricky Zhou wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Erik Gyepes wrote: > >> Hello, >> I have a rounded black box under a h2 element and I want it to work like >> "sliding doors" - to be longer when the text is longer, and vice versa. >> >> But now it has width as it's container box and I don't know how to solve >> that, look here http://erikgyepes.com/problem/. >> > Does setting the background-color to black in h2.box work? > > background: #000000 url("images/black-box-right.png") no-repeat; > > Hope this helps, > Ricky > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > > iD8DBQFGpjqZZBKKLMyvSE4RAnlGAKCTyd5FAGIRBQ4aaEG59SOr4v0poQCgsJV0 > tPFwgZu+pSnA22GOYvc1vxk= > =JzD0 > -----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/ > ______________________________________________________________________ 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/