@wuxmachine, un kā iecentrēt viss uz sānu salīda
Mans kods:
Code
<div class="gDivLeft"><div class="gDivRight"><table class="gTable" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="1" width="80%"><tbody><tr><td class="gTableTop" colspan="5"><div style="float:right" class="gTopCornerRight"></div>Lietotāju sarunas</td></tr><tr><td class="gTableSubTop">
<table style="width: 100%; border-collapse: collapse;" align="center"><tbody><tr><td style="text-align: left; vertical-align: middle; background-color: #FF8040; border-width: 1px; border-style: solid; border-color: rgb(255, 0, 0); letter-spacing: 0pt; word-spacing: 0pt;"><center><b>RC Ventspils lietotāju sarunas</b></center></td></tr></tbody></table>
<style type="text/css">
.forumchat {width: 1000;height:180px;}
#mchatIfm2 {height:120px !important;}
</style>
<center><div class="forumchat"><iframe id="mchatIfm2" style="width:100%;height:300px" frameborder="0" scrolling="auto" hspace="0" vspace="0" allowtransparency="true" src="http://rcventspils.net/mchat/"></iframe>
<script type="text/javascript">
function sbtFrmMC991(f){$('#mchatBtn').css({display:'none'});$('#mchatAjax').css({display:''});_uPostForm('MCaddFrm',{type:'POST',url:'/mchat/?118320423.041755'});}
function countMessLength(){var rst = 200-$('#mchatMsgF').val().length;if (rst<0){rst=0;$('#mchatMsgF').val($('#mchatMsgF').val().substr(0,200));}$('#jeuwu28').html(rst);}
var tID7174=-1;var tAct7174=false;
function setT7174(s){var v=parseInt(s.options[s.selectedIndex].value);document.cookie="mcrtd="+s.selectedIndex+"; path=/";if(tAct7174){clearInterval(tID7174);tAct7174=false;}if(v>0){tID7174=setInterval("document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();",v*1000);tAct7174=true;}}
function initSel7174() {var res=document.cookie.match(/(\W|^)mcrtd=([0-9]+)/);if(res){s=$("#mchatRSel")[0];;s.selectedIndex=parseInt(res[2]);setT7174(s);}$("#mchatMsgF").bind("keydown",function(e){if(e.keyCode==13 && e.ctrlKey && !e.shiftKey){e.preventDefault();sbtFrmMC991();}})}
</script>
<form style="margin:0;padding:0;" id="MCaddFrm" onsubmit="sbtFrmMC991();return false;">
<div style="border-top:1px solid #333;"><table border="0" cellpadding="1" cellspacing="1" width="100%"><tr><td> <a href="javascript://" rel="nofollow" onclick="document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();return false;" title="Atjaunot"><img border="0" src="http://ucozwebmeistars.ucoz.lv/Pamacibas2/reload_all_tabs.png"></a> <a href="javascript://" rel="nofollow" onclick="new _uWnd('Sml',' ',-250,-350,{autosize:0,closeonesc:1,resize:0},{url:'/index/35-2-2'});return false;" title="Simboli"><img border="0" src="http://ucozwebmeistars.ucoz.lv/Pamacibas2/emoticon_wink.png"></a> <a href="" title="Moderēšana"><img border="0" src="http://ucozwebmeistars.ucoz.lv/Pamacibas2/email_delete.png"></a> Atlikušie simboli: <b id="jeuwu28">200</b></td><td width="30%" align="right"><select id="mchatRSel" onchange="setT7174(this);" class="mchat" size="1" title="Auto atjaunošanās" style="font-size:7pt;"><option value="0">--</option><option value="15">15 sek</option><option value="30">30 sek</option><option value="60">1 min</option><option value="120">2 min</option></select></td></tr></table><table border="0" cellpadding="1" cellspacing="1" width="100%"><tr><td width="85%"><input name="mcmessage" id="mchatMsgF" onkeyup="countMessLength();" style="height:19px;width:770px;background:url('/.s/img/wd/6/text-bg.gif') repeat-x;border:0;"></td><td><input type="submit" value="Nosūtīt" id="mchatBtn" style="width:100px;"><img style="display:none;" id="mchatAjax" src="http://s44.ucoz.net/img/fr/ajax3.gif" border="0"/></td></tr></table></div>
<input type="hidden" name="numa" id="numa832" value="0"><input type="hidden" name="a" value="18"><input type="hidden" id="ajaxFlag" name="ajax" value="1" /></form>
<script type="text/javascript">initSel7174();</script>
</div></center></td></tr></tbody></table><br>