3.2.0

Group element IE style bug

Hi guys,

if I put this into group.css:

.aw-ui-group {
    width: 400px;
    height: 100px;
    border: 1px solid;
    border-color: #838383 #838383 #838383 #838383;
    background: #EDEDED;
}


then my group gets background above it's frame in IE. Everything works ok in Firefox

how do I resolve it ?
Andrew
December 21,
This is the way <fieldset> tag works in IE - I don't know the solution. I guess in the future I would have to build the similar control from scratch without using IE <fieldset> tag.
Alex (ActiveWidgets)
December 21,
Alex,

As I posted in another thread, the way that you are doing it is the Windows standard way of showing a group box. What Andrew is wanting is a special way to display the background. If you try his example you are going to see that the background splits the caption text down the middle. His example might look OK with the settings he choose, but change the background to something like 'blue' and you get a control that you can't read the caption on. If you change the font to white to show on the blue background you cant read the top part of the words. This is not acceptable best practices. You must have a display that is consistant. If a user wants to have a dark background, then they change the font to a light color and all is well. Or vise versa. But with what Andrew wants as the 'standard' way of displaying the group control, the background of the group control can't be much different from the background of the container object otherwise you can't read the caption. In my opinion, this might be fine for his application but it's not OK for standard behavior.
Jim Hunter
December 22,

This topic is archived.

See also:


Back to support forum