Разделы  Поиск  Участники  Настройки  Вход  Регистрация  Забыли пароль?  FAQ  Сайт  Гостевая книга
Ваш статус: гость


Форум сайта » Hard&Soft » в css помощ нада (страница: 1)  Новая тема 
Страницы:  1 
АвторСообщение
chikldak
жытель

зарегистрирован:
07.05.2008
сообщений: 771
 написано: 11 июля 2008г. 16:00:21  ответитьцитатаправкаинфо#1 

Кто может помоч. Подскажыте чо менять и где чтобы картика(основной фон)в центр стала?
"
/* standard elements */
html {min-height: 100%;}

* {
margin: 0;
padding: 0;
}

a {color: #CC3;}
a:hover {color: #FF3;}

body {
background: #000 url('img/body.gif') no-repeat; /* url(img/bg.jpg) repeat-x; */
color: #DDD;
font: normal 62.5% "Trebuchet MS",Verdana,sans-serif;
padding-center: 90px;
}

p,code,ul,ol {padding-bottom: 1.2em;}

h1 {
color: #CCC;
font: normal 2em Impact,sans-serif;
}
h1 a {
color: #000;
text-decoration: none;
}
h1 a:hover {
color: #F00;
}

h2 {font: normal 1.8em Tahoma,sans-serif;}

h1,h2 {padding-top: 6px;}

blockquote {
color: #CCA;
display: block;
font-weight: bold;
padding-center: 28px;
}

img {border: none;}

img.right {margin: 30px 0 5px 12px;}
img.left {margin: 5px 12px 5px 0;}
img.border {
background: #431;
display: block;
padding: 3px;
}

/* misc */
.clearer {
clear: both;
font-size: 0;
}

.left {float: left;}
.right {float: right;}

.decay,.decay-small {
background: url('img/decay.gif') no-repeat left center;
color: #000;
font: normal 2em Impact,sans-serif;
letter-spacing: 1px;
padding: 0 0 12px 22px;
}
.decay-small {
background: url('img/decay-small.gif') no-repeat left center;
padding-top: 6px;
}

p.postinfo {
border-top: 1px dashed #333;
color: #666;
font: bold 0.9em sans-serif;
margin-bottom: 24px;
padding: 8px;
}
p.postinfo a {color: #888;}
p.postinfo a:hover {color: #CCC;}

/* structure */
#container {
font-size: 1.3em;
}

/* title */
#site-title {font: normal 3em Tahoma,sans-serif;}
#site-title a {
color: #DDD;
text-decoration: line-through;
}
#site-title a:hover {
color: #FFF;
text-decoration: none;
}
#site-description {color: #CCC;}

/* content */
#content {
left: 360px;
position: absolute;
top: 90px;
width: 610px;
}
#content .descr {
color: #8DC63F;
margin-bottom: 6px;
}
#content li {margin-left: 18px;}

/* navigation */
#navigation {
left: 120px;
position: absolute;
top: 290px;
width: 210px;
}
#navigation h2 {
color: #000;
font-size: 1.5em;
letter-spacing: 0;
line-height: 30px;
margin: 0;
}
#navigation ul {margin: 0 0 0 1em;}
#navigation li {list-style: none;}
#navigation li a {
color: #777;
font-size: 1.1em;
line-height: 1.5em;
text-decoration: none;
}
#navigation li a:hover {color: #8DCA3F;}

/* footer */
#footer {
border-top: 1px dashed #333;
color: #666;
font: normal 0.9em sans-serif;
position: absolute;
top: 100%;
}
#footer a {
color: #999;
text-decoration: none;
}
#footer a:hover {
color: #CCC;
text-decoration: underline;
}
#footer .left, #footer .right {padding: 10px 0;}
#footer .right a {color: #777;}
"
chikldak
жытель

зарегистрирован:
07.05.2008
сообщений: 771
 написано: 11 июля 2008г. 18:54:46  ответитьцитатаправкаинфо#2 

все, проблему я решыл дописав "background: #000 url('img/body.gif') no-repeat center top;" уже от центрировало. Но думаю что у мя еще появятся вопросы. Я вить первый раз делаю шаблон с иснользованием css
Страницы:  1 
Форум сайта » Hard&Soft » в css помощ нада (страница: 1)  Новая тема 


Имя:   Пароль:    запомнить
Сообщение в тему:




 теги:        

     

   

 
 
подписка: 
 вкл.   ещё

 
Сообщений в этой теме: 2

Сейчас в форуме: FAP.ulous777, Glory619, is5157, merfi, siderat, syzyf, Дисал, гостей - 497
Права в разделе:
- запись сообщений без премодерации: зарегистрированные участники c рангом 2 и выше;
- вставка видимых картинок: посетители с рангом 0 и выше.

0.007 сек.