From 0885218258ce143c28b253041d68be73005c77dc Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 16 Jul 2011 02:57:52 +0100 Subject: [PATCH] General CSS tidying --- css/default.css | 1 + js/front.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/css/default.css b/css/default.css index c3a4839..72e4772 100644 --- a/css/default.css +++ b/css/default.css @@ -167,6 +167,7 @@ body, html { width:70%; display:block; margin-left:12em; padding: 2px 0px; + outline:none; } #kiwi .control .plugins { margin:3px; margin-top:7px; } #kiwi .control .plugins ul li { diff --git a/js/front.js b/js/front.js index cb979d3..918da87 100644 --- a/js/front.js +++ b/js/front.js @@ -112,8 +112,9 @@ var front = { var ct = $('#kiwi .cur_topic'); var ul = $('#kiwi .userlist'); var top = ul.css('margin-top').replace('px', '') + ct.css('border-bottom-width').replace('px', ''); + console.log("TOP="+top); //top = parseInt(ct.offset().top) + parseInt(ct.height()) + parseInt(top); - top = parseInt(ct.height(), 10) + parseInt(top, 10); + top = parseInt(ct.height(), 10) + parseInt(top, 10) - 8; $('#kiwi .messages').css('top', top + "px"); $('#kiwi .userlist').css('top', top + "px"); -- 2.25.1