I created a custom content box that I am going to be placing in various sidebars depending on the material (rss feeds, recent comments, etc.) I need to know how to get the box to adjust itself via css. I know the header will be one image, and then I'll have a horizontal bar that repeats depending on how much material I have displayed in the content box and a footer. Can someone explain to me (preferably in detail how to accomplish this) as I am a complete noob when it comes to css.
Btw, this is the basic image I will be using.