aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/colour_swatch.html
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style/colour_swatch.html')
-rw-r--r--phpBB/adm/style/colour_swatch.html13
1 files changed, 10 insertions, 3 deletions
diff --git a/phpBB/adm/style/colour_swatch.html b/phpBB/adm/style/colour_swatch.html
index e731620bd3..e692a8bd91 100644
--- a/phpBB/adm/style/colour_swatch.html
+++ b/phpBB/adm/style/colour_swatch.html
@@ -11,8 +11,15 @@
color: #fff;
}
+ table {
+ border-collapse: separate;
+ border-spacing: 0;
+ border: 0;
+ }
+
td {
- border: solid 1px #333;
+ border: solid 1px #333;
+ padding: 1px;
}
.over {
@@ -44,7 +51,7 @@
numberList[4] = 'CC';
numberList[5] = 'FF';
- document.writeln('<table cellspacing="0" cellpadding="0" border="0">');
+ document.writeln('<table>');
for (r = 0; r < 6; r++)
{
@@ -56,7 +63,7 @@
{
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
document.write('<td style="background-color: #' + color + ';" onmouseover="this.className=\'over\'" onmouseout="this.className=\'out\'">');
- document.write('<a href="#" onclick="cell(\'' + color + '\'); return false;"><img src="{T_IMAGES_PATH}spacer.gif" width="15" height="12" alt="#' + color + '" title="#' + color + '" \/><\/a>');
+ document.write('<a href="#" onclick="cell(\'' + color + '\'); return false;"><img src="{T_IMAGES_PATH}spacer.gif" width="13" height="10" alt="#' + color + '" title="#' + color + '" \/><\/a>');
document.writeln('<\/td>');
}
}