Fading Corners using a Background Gradient
This is a very simple way to achieve the “fading corner” look with 2 small background images, the trick is setting it up right in your graphics editor.
There are only 2 images used in this example. A background gradient (repeated-x), and a background image for the top of the content container. The background image for the content is necessary in order to get the rounded corners. The reason this method works is because you can set the color of your page background gradient to fade into the color of your content container or wrapper.
Example:

Set Up
To get this to work, you have make sure your content container is the same distance from the top of your page in both your HTML and your Photoshop/Illustrator file, BEFORE you slice it up. Because you are placing an image on top of a gradient, you have to be accurate when you slice your photoshop file, or you will get a seam.

Download A working Example:
The HTML:
The CSS:
.fccontainer {
height: 500px;
width: 465px;
text-align: center;
background-image: url(../images/fading_bg_01.gif);
background-repeat: repeat-x;
background-position: center top;
border: 1px solid #CCCCCC;
}
.fccontent {
height: 300px;
width: 350px;
margin-top: 35px;
margin-right: auto;
margin-left: auto;
background-color: #FFFFFF;
background-image: url(../images/fading_cap_07.gif);
background-repeat: no-repeat;
background-position: center top;
}
View the Live Example >
Related Posts:
- CSS for Fading Corners
- Web Design Trend: Fading Corners
- How to use Vector Files in Web Design
- 30 Free Fading Background Images
- Free Fading Corner Images
- Free Vector Web Page Elements - Part 3























Is it just me or does that link not work?
Link fixed, appologies.
Eh… not necessarily anymore. This script is very useful if you’re looking for faster load time on an especially rounded page, or if you will be changing your design often. Why create pics every time?
http://www.curvycorners.net/
Link broken please fix, thanks in advance.
You could also use nifty corners, which uses javascript and css, but no images.
Problem… Work on multiple Div’s………..
nice
thats really good
nice work
good post,thanks
http://www.berismakina.com/arasoz.html
http://www.berismakina.com/foseptik-temizleme.html
http://www.berismakina.com/kanal-acma-araci.html