Last post Mar 07, 2008 07:17 PM by richardbcar
May 16, 2006 08:01 PM|JasonRCS|LINK
May 16, 2006 09:38 PM|rstrahl|LINK
May 17, 2006 12:01 AM|sburke_msft|LINK
This ends up being a mutually exclusive situation unfortuntely. If someone has an idea for a solution I am
The only way I know of doing the rounded corners without custom bitmaps is to add elements to the control. Let's call them adornments.
So, you can either add the elements outside of the control you're targeting or inside.
If you add them outside it falls down quickly. If you have any positioning set on the thing you are targeting (relative or absolute), then the adornments get left behind. So that's a major problem.
If you add them inside the control (which is what we do), it generally works better, but there are combinations of styles that we can't handle, margin being one of them.
In most cases you can accomplish what you need to by composition - meaning if you wrap another div/panel around the outside of your object and apply the rounded cornders to that one or vice-versa you can make it do what you want.
May 18, 2006 03:25 PM|JasonRCS|LINK
May 18, 2006 03:30 PM|JasonRCS|LINK
May 18, 2006 04:20 PM|sburke_msft|LINK
The modifications are just a bunch of added DIVs, so they can't live in that zone unfortunately.
If the embedded DIV trick works for you, stick with that.
Jan 22, 2007 03:05 PM|matt.chatterley|LINK
Same problem here - although I have previously managed to set up CSS only rounded corners which do not suffer from this problem, so I'm going to compare and contrast with the extender, to see if I can fix it up.
Should you happen to want a work-around in the meantime, e.g. my example, where I wanted "margin-top: 10px" on a div with rounded corners (so that there was a blank space between two divs which are one above the other), you can wrap an extra div around
your panel-with-rounded-corners, and put the margin on that (extra) div - leaving the rounded corners as is.
Mar 07, 2008 07:17 PM|richardbcar|LINK
Remove the height and width attributes from the target panel. These are added by default and raises havoc with the calculations for the rounded corner extender because the target panel will dynamically size if the content exceeds its bounds. That should
work for ya!