PDA

View Full Version : need css rounded corner outline to replace my rounded background image


silverglade
07-08-2009, 02:40 PM
hi, i have a background image making rounded corners for text and images inside it, which means the text cant be added or it will overflow the background. what i need is a div that has rounded corners that will expand with the content inside of it.any help greatly appreciated. thanks. derek

here is the page im talking about. notice the rounded corner outlines, and everything else practically, is one background image.

http://derekvanderven.com/music_store/index.html

Corrosive
07-08-2009, 02:58 PM
hi, i have a background image making rounded corners for text and images inside it, which means the text cant be added or it will overflow the background. what i need is a div that has rounded corners that will expand with the content inside of it.any help greatly appreciated. thanks. derek

here is the page im talking about. notice the rounded corner outlines, and everything else practically, is one background image.

http://derekvanderven.com/music_store/index.html

Use three relatively positioned divs. The top one has the top of the box, the middle one has a repeating image of the sides of your box (this will expand with the content) and the third div will have the bottom of your box.

silverglade
07-09-2009, 03:33 PM
great! thank you corrosive.:mrgreen:

Corrosive
07-09-2009, 09:40 PM
great! thank you corrosive.:mrgreen:

You are welcome as always derek. :)