Witam serdecznie, postanowiłem zrobić własną templatkę i mam następujący problem, otóż chciałbym, aby tło w bloku menu było osadzone 37px od góry i 14 od dołu. Mam coś takiego:
Kod HTML:
<div class="module_menu">
<div>
<div>
<div>
<h3>Main Menu</h3>
ZAWARTOŚĆ MODUŁU MENU
</div>
</div>
</div>
</div>
CSS:
Kod HTML:
div.module_menu div {
}
div.module_menu div div div {
background: url(../images/blok_dol.png) no-repeat;
background-position: bottom;
}
div.module_menu {
background: url(../images/bg_blok.png) repeat-y;
}
h3 {
background: url(../images/h1_bg.png) 0 0 no-repeat;
height: 37px;
font-family: Verdana;
font-size: 12pt;
padding-top: 9px;
text-align: center;
padding-left: 10px;
color: #b8bfaa;
}
podgląd: www.preria.pl/new_page/