Page 1 of 1

Sidebar with corners

Posted: Fri Jan 14, 2011 6:00 pm
by Codex
Hello Coders,

I need help with my sidebar, i have created a sidebar and wanted to make it auto-size both horizontal and vertical, like the ones on CodenStuff.

I have created 9 images and if you assemble all it will make a rectangle with rounded corners.
Now this picture is supposed to be the background-image, and the reason i cut the rectangle into pieces is so the each peace will have a repeat function, except the corners.

Now this is my rectangle with some guide lines where i had cut.
rectangle.png
Thanks
CodexVideos

Re: Sidebar with corners

Posted: Fri Jan 14, 2011 6:39 pm
by Axel
What ??? I don't understand...

Re: Sidebar with corners

Posted: Fri Jan 14, 2011 8:27 pm
by Codex
Do you see this on the homepage of CodenStuff.com
example.PNG
If you add more images the square resizes, thats what i want.

Re: Sidebar with corners

Posted: Fri Jan 14, 2011 8:41 pm
by Axel
CodexVideos wrote:
Do you see this on the homepage of CodenStuff.com
example.PNG
If you add more images the square resizes, thats what i want.
maybe make a flowlayoutpanel with that image as backgroundimage and set padding to the pixels you want

Re: Sidebar with corners

Posted: Sat Jan 15, 2011 6:02 pm
by Codex
I don't know how to do that in css/html