diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-08 17:39:14 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-08 17:39:14 +0000 |
commit | 4ba6d30d08283a3a1e7ce63250d2e928c80b3ac1 (patch) | |
tree | fb5d803e0d5307cbdceb1585cfd3a01f26390fe6 /usr/local | |
parent | 1a23410cd16cd6ce77090ab3c0a9d67acfaf3e8f (diff) | |
download | pfsense-4ba6d30d08283a3a1e7ce63250d2e928c80b3ac1.zip pfsense-4ba6d30d08283a3a1e7ce63250d2e928c80b3ac1.tar.gz |
Add "px" to items to kill CSS errors.
Submitted-by: Royce3 via irc
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/row_toggle.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/row_toggle.js b/usr/local/www/row_toggle.js index 0e7a786..939cc5e 100755 --- a/usr/local/www/row_toggle.js +++ b/usr/local/www/row_toggle.js @@ -31,11 +31,11 @@ function fr_insline(id, on) { if (prevcells[i].id == 'frd' + (id-1)) { if (on) { prevcells[i].style.borderBottom = "3px solid #990000"; - prevcells[i].style.paddingBottom = (id != 0) ? 2 : 3; + prevcells[i].style.paddingBottom = (id != 0) ? 2 : 3 + "px"; } else { prevcells[i].style.borderBottom = "1px solid #999999"; prevcells[i].style.borderBottomWidth = "1px"; - prevcells[i].style.paddingBottom = (id != 0) ? 4 : 5; + prevcells[i].style.paddingBottom = (id != 0) ? 4 : 5 + "px"; } } } @@ -44,10 +44,10 @@ function fr_insline(id, on) { if (cells[i].id == 'frd' + (id)) { if (on) { cells[i].style.borderTop = "2px solid #990000"; - cells[i].style.paddingTop = 2; + cells[i].style.paddingTop = 2 + "px"; } else { cells[i].style.borderTopWidth = 0; - cells[i].style.paddingTop = 4; + cells[i].style.paddingTop = 4 + "px"; } } } |