1

Topic: help with sidebar

i want to puth top usermenu on left sidebar haw can du that?

<style type="text/css">
*{
    margin:0px;
    padding:0px;
    border:none;}

body{
    font-size:11px;
    font-family:tahoma, verdana, arial, sans-serif;}

#menu{
    width:120px;
    margin:100px 0 0 200px;}

ul{
    font-size:1em;
    list-style:none;}

li a{
    display:block;
    color:#2b587a;
    text-decoration:none;
    padding:3px 0 3px 6px;
    border-top:1px solid #fff;}

li a:hover{
    color:#36638e;
    background:#dae1e8;
    text-decoration:none;
    border-top:1px solid #cad1d9;}

#line{
    margin-top:3px;
    padding-top:3px;
    border-top:1px solid #ccc;}
</style>
</head>
<body>
<div id="menu">
    <ul>
        <li><a href="#">Моя Страница</a></li>
        <li><a href="#">Мои Друзья</a></li>
        <li><a href="#">Мои Фотографии</a></li>
        <li><a href="#">Мои Видеозаписи</a></li>
        <li><a href="#">Мои Аудиозаписи</a></li>
        <li><a href="#">Мои Сообщения</a></li>
        <li><a href="#">Мои Заметки</a></li>
        <li><a href="#">Мои Группы</a></li>
        <li><a href="#">Мои Встречи</a></li>
        <li><a href="#">Мои Новости</a></li>
        <li><a href="#">Мои Закладки</a></li>
        <li><a href="#">Мои Настройки</a></li>
    <div id="line"></div>
        <li><a href="#">Приложения</a></li>
        <li><a href="#">Вопросы</a></li>
        <li><a href="#">Объявления</a></li>
    </ul>
</div>
</body>
</html>


but have a problem?... old content puting in down...

HELP!!!!!

2

Re: help with sidebar

Enebody can help me

3

Re: help with sidebar

You're mixing CSS and HTML.

CSS is for styling (colour, positioning, font appearance, etc)
HTML is for layout.

Everything between <style> and </style> needs to be in CSS file (or in the header of the template (not recommended) and the html code needs to go in your template file - and if you want it in the side bar, I suggest you start fiddling and messing about with sidebar.tpl (always keep a copy of the original file)