kryptobs2000
11 Mar 2010, 05:42 PM
I'm trying to build a container code snippet so that I can reuse it on later project. So far I have it so there is a top of fixed width, also with a bottom. Then I have the sides which I would like to grow to whatever length is required to match the text, as well as the background.
Getting the top placed is easy, now I'm trying to get the left side placed and I'm running into trouble. How do I get the side to stretch down to fill the container? After I get the sides I figured I'd just have a separate <div> for the text to which I would apply the gradient background, that seems easy enough. Then more headaches can follow from that point.
Getting the top placed is easy, now I'm trying to get the left side placed and I'm running into trouble. How do I get the side to stretch down to fill the container? After I get the sides I figured I'd just have a separate <div> for the text to which I would apply the gradient background, that seems easy enough. Then more headaches can follow from that point.