How can one achieve the effect of having rounded corners for divs, similar to the dark blue header area of the [url]http://www.mozilla.org/
I have had a look at the css and html and it seems that to achieve this styling an image is used as background
[url]http://www.mozilla.org/header_bl.png
and that the header div is then styled using the the following CSS:
#header {
background: #455372 url(“../../images/header_bl.png”) bottom left repeat-x;
position: relative;
min-height: 39px;
height: 5em;
padding: 0;
voice-family: “”}””;
voice-family: inherit;
height: 3em;
padding: 15px 0;
}
I guess the relevant part is:
background: #455372 url(“../../images/header_bl.png”) bottom left repeat-x;
position: relative;
I have tried to copy this but am having problems. I cannot get the rounded corners to be repeated on the top left, top right and bottom right corners. As far as I can work out, there must obviously be something else at play that I am missing.
As you can probably guess, I have a basic knowledge of CSS and would like to learn how to achieve this effect. Any explanations or pointers to sites that can explain how this is done would be very gratefully accepted.