lapochka, где поставить?Добавлено (23.07.2012, 00:57)
---------------------------------------------
lapochka,
CSS
Code
#content {
padding-right:10px;
}
#body-content {
float:right;
clear:none;
margin-left:240px;
top:-240px;
}
#side-panel {
border-right:1px solid #B3B3B3;
width:230px;
}
.padding-all{
padding:10px;
}
Добавлено (23.07.2012, 00:57)
---------------------------------------------
HTML
Code
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>$SITE_NAME$ - $MODULE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>
<body>
$GLOBAL_AHEADER$
<!-- <middle> -->
<div id="mc-ajax">
<div id="content">
<div id="side-panel">
<div class="s-search">
<div class="search-form">
<form method="get" action="/search/">
<input type="hidden" name="do" value="search" />
<input type="hidden" name="subaction" value="search" />
<input id="story" class="s-input-text" x-webkit-speech="" speech="" onwebkitspeechchange="this.form.submit();" name="q" type="text" onblur="if (value == '') {value = 'Поиск по сайту'}" onfocus="if (value == 'Поиск по сайту') {value =''}" value="Поиск по сайту" type="text"/>
<input type="submit" class="ser-button" alt="Найти" style="position:absolute; top:2px; right:2px; z-index:105; cursor:pointer;" title="Найти" value="" />
</form>
</div>
<script type="text/javascript">
$(function(){
$(".search-form .s-input-text").focus(function(){
$(".search-form").addClass('active');
}).blur(function(){
$(".search-form").removeClass('active');
});
});
</script>
</div>
<div class="padding-all">
$GLOBAL_CLEFTER$
$GLOBAL_DRIGHTER$
</div>
</div>
<div id="body-content">
$BODY$
</div>
</div>
</div>
<!-- </middle> -->
$GLOBAL_BFOOTER$
</body>
</html>
<?if($ADMIN_BAR$)?><?endif?>