You can just do the css3 property border-radius: 10px; to get the curved border, then set the border colour different to the background colour of the element. However if you want to get the border to be translucent/transparent then you have to have a div inside a div.
The outer one acts as the border (give it the border radius and set the colour and opacity for the border) and the inside one acts as the main element - give it the same border radius and set the main background color of it. I normally control widths with the outer one, then set the inner one to have 100% height and width. Give the outer one like 10px padding to make the border.
Comments on Profile Post by icedrift1