From: Darren Date: Sat, 16 Jul 2011 01:57:52 +0000 (+0100) Subject: General CSS tidying X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0885218258ce143c28b253041d68be73005c77dc;p=KiwiIRC.git General CSS tidying --- 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");