Im having some trouble setting up rounded corners on <div>'s. The problem arises when the outer <div> is rounded and then the inner <div> protudes into the rounded corner area. Do i just apply the same rounded corner radius to the inner <div>?
Do i just apply the same rounded corner radius to the inner <div>?
That will work. Do you want the inner div to be rounded? The other solution is to make the inner div dimensions smaller than the outer div. Of course, w/o seeing the code in question, it's hard to say what else may be affecting it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
well, from what I can see in Opera's Dragonfly, it looks like you've got #menu with your rounded corners, then directly inside that you've got .menu-holder.
.menu-holder appears to have a white background in it. Try removing that.
__________________
Please login or register to view this content. Registration is FREE - a project in video and sound.
Please login or register to view this content. Registration is FREE "Absolute Rubbish, an insult to the blues." - NME.
Please login or register to view this content. Registration is FREE - Come use our agency :)
It'll have to be slighty smaller, but have a play with some different radiuses and see what looks best. Either that, or separate the menu out, so you have a top half with a grey background, top corners rounded, bottom ones square, and then make the bottom part the opposite, with a white background.
__________________
Please login or register to view this content. Registration is FREE - a project in video and sound.
Please login or register to view this content. Registration is FREE "Absolute Rubbish, an insult to the blues." - NME.
Please login or register to view this content. Registration is FREE - Come use our agency :)