Sidebar with corners

5 posts Page 1 of 1
Contributors
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Sidebar with corners
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
You do not have the required permissions to view the files attached to this post.
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Sidebar with corners
Axel
What ??? I don't understand...
http://vagex.com/?ref=25000
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: Sidebar with corners
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.
You do not have the required permissions to view the files attached to this post.
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Sidebar with corners
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
http://vagex.com/?ref=25000
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: Sidebar with corners
Codex
I don't know how to do that in css/html
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
5 posts Page 1 of 1
Return to “Help & Support”