PDA

View Full Version : Color Picker Swatches Extend Beyond Table Boundaries


Kier
Mon 30th Jun '03, 6:23am
This issue is related to a bug in Mozilla, Mozilla Firebird, Opera and a few other browsers. Internet Explorer users do not need to apply this fix.

In browsers exhibiting this bug, the color swatches in the CSS color picker break out of the bounds of the popup and sit floating above the main interface on the right-hand side of the picker.

At present, there is no actual fix for this problem, as this is a browser bug, but for the time being you can improve the appearence of the picker by making a small change to the CSS definition for the picker.

The three screenshots below show the following:
Correct display using Internet Explorer 6 Incorrect display using Mozilla Firebird Mozilla Firebird with this fix applied.To apply the fix, open includes/adminfunctions_template.php and around line 2236 you will find this code:#swatches
{
width: {$colorPickerWidth}px;
}Replace that code with this:#swatches
{
background-color: black;
width: {$colorPickerWidth}px;
}

nuno
Tue 8th Jul '03, 12:21am
Aha! It ain't perfect, but it's a lot better. :cool:
Thanks Kier.

Kier
Tue 8th Jul '03, 4:17am
The next release fixes the problem completely, but there is too much code to post here.