Angela French wrote: > On this page: http://checkoutacollege.com/ I am trying to apply a > background color in back of the Ready/Set/Go buttons (of the same color) > so that if the images are turned off, the text can still be read. (I'd > like to just get rid of the beveled images before long!). > > > > Do accomplish this, I believe I need to create a <div> and set my <h2> > and my background image in this div so that the background color isn't > applied to the entire column.
Seems to me you don't need a div at all. Negative margins can create the box you need: .home-center h2 { margin: 0 -10px .8em -10px; padding: 0 10px; } Benjamin Hawkes-Lewis ------------------ Benjamin - I am trying your approach to just style my h2 with a background color. It is definitely get there, but it makes the height of the color block too "tall", putting extra padding in below the actual h2 text. Since one can't make negative padding, it seems setting a height to the h2 is the only way to size the color block the way I want. Is this the most appropriate way of getting the block of color to be the size I want? Thanks - Angela French ______________________________________________________________________ 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/