Новенький
Регистрация: 26.05.2011
Сообщений: 7
|
Что-то не получается.. Добавил в style.css, но он только делает отступ, картинку не вставляет.
вот сам файл ксс:
Код:
/* @group Reset Styling */
/* --------------------------------------------------------------
reset.css
Resets default browser CSS.
Based on but not the same as work by Eric Meyer:
http://meyerweb.com/eric/tools/css/reset/
v1.0 | 20080212
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
:focus {
outline: 0;
}
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* @end Reset Styling */
/* @group Base Styling */
body {
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
font-size: 16px;
line-height: 18px;
margin: 20px;
}
p, ul, div {
color: #333;
font-size: 16px;
line-height: 18px;
}
h1 {
font-size: 30px;
line-height: 36px;
margin-bottom: 18px;
font-weight: 200;
font-variant: small-caps;
}
h2 {
margin-bottom: 24px;
line-height: 30px;
font-size: 18px;
}
h3 {
font-size: 20px;
line-height: 24px;
}
h4, h5, h6 {
font-size: 18px;
line-height: 24px;
}
ul, ol {
margin: 0px 0px 18px 18px;
}
ul {
list-style-type: circle;
}
ol {
list-style: decimal;
}
td {
padding: 5px;
}
:link, :visited {
font-weight: bold;
text-decoration: none;
color: #036;
}
/* @end Base Styling */
/* @group Menu Styling */
ul#menu-area li, ul#submenu-area li {
list-style-type: none;
display: inline;
margin-right: 20px;
}
ul#menu-area {
border-bottom: 2px solid #666;
margin-bottom: 2px;
}
ul#submenu-area {
margin: 0px 0px 20px 50px;
}
li.menu-item a {
font-size: 20px;
line-height: 20px
}
li.menu-item a, li.submenu-item a {
color: #666;
font-weight: normal;
font-variant: small-caps;
}
/* @end Menu Styling */
/* @group TYPO3 Markup Styling */
dd.csc-textpic-caption {
font-size: 70%;
}
li.menu-item a.active-link {
color: #0033FF;
}
li.menu-item {
padding-left: 50px;
background: url('fileadmin/templates/bullet.png') no-repeat 0 5px;
}
li.menu-item:hover {
background: url('fileadmin/templates/bullet_rollover.png') no-repeat 0 5px;
}
/* @end TYPO3 Markup Styling */
суть в том что картинка должна быть перед текстом меню, это просто кружок. тоесть например "картинка" "пункт меню"
|