AGENT131313
Забанен
- Регистрация
- 17 Мар 2009
- Сообщения
- 292
- Реакции
- 31
- Автор темы
- #1
Всем здраствуйте, подскажите как наладить шаблон для отображения в IE 7,6 в IE 8 работает отлично, опера и мазила тоже.
Вот сам стиль:
Вот сам стиль:
PHP:
body {margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; color:#3e555a; background:#404237; min-width:771px; font-size:11px; text-align:center;}
html, body {height:100%;}
div,dl,dt,dd,ol,ul,li,form,td,th,p {margin:0; padding:0;}
table, th, td {font-size:100%;}
table,img {border:0;}
input, select, option, textarea {font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:11px;}
p {padding:0 0 10px;}
a {color:#aaaaaa; text-decoration:none;}
a:hover {color:#DDA689; text-decoration:none;}
h1,h2,h3,h4 {margin:0; padding:0; color:#364d53; font-family:Arial, sans-serif; font-weight:normal;}
h1 {color:#d3a87d; font-size:130%;}
h2 {font-size:150%; padding:10px 0;}
h3 {font-size:130%; padding:10px 0; font-weight:bold}
h4 {font-size:100%; font-weight:bold;}
ol, ul {padding:0 0 10px 20px;}
h1 { color: #b5b29f;
font-size: 24px;
padding-bottom:6px;
}
h2 {
color: #e7e7e7;
font-family: Verdana;
font-size: 15px;
}
.main {
width:972px;
height:auto;
margin: 0 auto;
}
.header {
background:url(../images/header.jpg);
background-repeat: no-repeat;
background-position: right;
width:984px;
height:231px;
}
.head1 {
height:30px;
width:180px;
float:left;
clear:both;
margin: 34px 0px 0px 20px;
}
.head2 {
height:30px;
width:220px;
float:left;
clear:both;
margin: 0px 0px 0px 40px;
}
.head3 {
height:60px;
width:468px;
float:left;
clear:both;
background:url(../images/baner.png);
margin: 30px 0px 0px 30px;
}
.head4 {
background:url(../images/header-right.png);
height:116px;
width:122px;
float:right;
margin:78px -65px 0px 0px;
}
.content {
width:569px;
height:auto;
float:left;
z-index: 0;
margin-top:-263px;
}
.navmenu {
background-color:#efead3;
border-bottom-color::#a7a391;
margin-top:-70px;
background:url(../images/menu-bg.png) no-repeat;
background-position:top;
height:59px;
width:569px;
margin-left:0px;
overflow:hidden;
}
.navmenu-pod {
margin-left:1px;
height:30px;
width:568px;
}
.navmenu ul {
list-style-type:none;;
}
.navmenu li {
float:left;
margin:0 5px;
padding-top:3px;
font-size:14px;
width:86px;
height:25px;
text-align:center;
}
.navmenu li a{
color:#233e47;
}
.navmenu li a:hover{
color:#e2e2e2;
}
.navmenu li:hover {
background:url(../images/menu.png) no-repeat;
}
#li5 {
float:left;
}
.shortstory_title {
text-align:left;
padding-left:20px;
padding-bottom:5px;
font-size:24px;
color: #233e47;
font-family: Verdana;
background:url(../images/top-content.png) no-repeat;
background-position:top;
width: 569px;
margin-top:-37px;
margin-left:-16px;
overflow:hidden;
}
.shortstory_date {
text-align:left;
padding-left:20px;
font-family:Arial, sans-serif;
font-size: 12px;
}
.shortstory {
background-color:#f1ecd7;
text-align: left;
padding:5px;
width:auto;
margin-left:1px;
}
.shortst {
margin:0px 15px;
}
.shortst a {
color:#51571d; text-decoration:underline;
}
.shortst a:hover {
color:#51571d; text-decoration:none;
}
.reademore {
background:url(../images/more.png);
background-repeat:no-repeat;
float:right;
width:76px;
height:22px;
}
.reademore a {
color:#fff; text-decoration:none;
display:block;
height:22px;
text-align:center;
padding-top:4px;
}
.content-footer{
background:url(../images/content-footer.png) no-repeat;
width:569px;
height:17px;
text-indent:-9000px;
margin-top:-9px;
margin-left: 1px;
}
.sidebar {
height:300px;
width:412px;
float:right;
margin-right: -40px;
z-index: 10;
}
.top-sidebar {
background:url(../images/top-sidebar.png) no-repeat;
text-indent:-90000px;
}
.center-sidebar {
background:url(../images/center-sidebar.png);
background-repeat:repeat-y;
}
.follow-twit {
width:100%;
height:130px;
background:url(../images/twitter-bg.png) no-repeat;
background-position:bottom;
}
#stakan {
float:left;
width:107px;
height:113px;
margin: 15px 0px 0px 30px
}
#mail-podpiska {
width:90px;
height:113px;
float:left;
clear:right;
margin: 15px 0px 0px 15px
}
#twitter {
float:right;
width:128px;
height:94px;
margin: 30px 20px 0px 0px
}
.line {
background:url(../images/line-bg.png) no-repeat;
width:420px;
height:55px;
margin-left:2px;
}
#lypa {
background:url(../images/lypa.png);
width:20px;
height:22px;
float:right;
margin-right:37px;
margin-top:11px;
}
#line-poisk {
float:left;
margin-left:40px;
margin-top:11px;
}
.searchfield {
width:300px;
height:15px;
}
.ads {
width:400px;
height:126px;
margin-left:22px;
}
.banner1 {
background:url(../images/banner1.png) no-repeat;
width:125px;
height:125px;
float:left;
padding-right:5px
}
.banner2 {
background:url(../images/banner2.png) no-repeat;
width:125px;
height:125px;
float:left;
padding-right:5px
}
.banner3 {
background:url(../images/banner3.png) no-repeat;
width:125px;
height:125px;
float:left;
}
.category {
margin-left:20px;
margin-top:15px;
width:390px;
height:190px;
padding:0;
font-size:13px;
font-family:Tahoma, Arial, Helvetica, sans-serif;
line-height:21px
}
#category1 {
float:left;
list-style-type:none;
text-align:left;
border-right:1px solid #f1ecd8;
margin-top:10px;
padding-right:5px;
}
#category1 ul li {
list-style-type:none;
}
#category1 ul li a {
color:#344a4e;
}
#category1 ul li a:hover {
color:#263233;
text-decoration:underline;
}
#category2 {
list-style-type:none;
float:right;
text-align:left;
padding-right:50px;
margin-top:10px;
border-left:1px solid #f1ecd8;
}
#category2 ul li {
list-style-type:none;
}
#category2 ul li a {
color:#344a4e;
}
#category2 ul li a:hover {
color:#263233;
text-decoration:underline;
}
.login-form {
width:375px;
height:auto;
margin-left:29px;
}
.login-form a{
color:#000;
}
#login-top {
background:url(../images/top-login.png) no-repeat;
width:370px;
height:18px;
}
#login-center {
width:370px;
height:auto;
background:url(../images/center-login.png) repeat-y;
}
.login-center a{
color:#000;
}
#login-bottom {
background:url(../images/bottom-login.png) no-repeat;
width:370px;
height:18px;
}
.login-text {
width:390px;
height: 72px;
margin-top: -13px;
}
#login {
width:50px;
height:19px;
float:left;
margin-left: 10px;
margin-top: 10px;
}
#login-button {
float: left;
height: 19px;
margin-top: 8px;
width: 130px;
}
#pass {
float: left;
height: 19px;
margin-left: 6px;
margin-top: 0;
position: relative;
width: 50px;
}
#pass_form {
float: right;
height: 19px;
margin-right: 196px;
position: relative;
width: 130px;
}
#button {
border: 1px solid #000000;
float: left;
height: 19px;
margin-left: 93px;
margin-top: 59px;
position: absolute;
width: 86px;
}
#register {
height: 19px;
margin-left: 180px;
margin-right: -30px;
margin-top: -25px;
position: absolute;
width: 100px;
}
#pass_forget {
float: left;
height: 19px;
margin-left: 190px;
margin-top: -55px;
width: 100px;
}
.login_table {
width:300px;
height:auto;
margin-left:50px;
}
.login_table tr td a {
color: #344a4e;
text-decoration:underline;
}
.login_table tr td a:hover {
color:#263233;
text-decoration:none;
}
.bottom-sidebar {
background:url(../images/bottom-sidebar.png) no-repeat;
height:18px;
text-indent:-9000px;
}
.footer {
width:510px;
height:100%;
float:left;
background-color:#404237;
color:#9e9b8d;
}
.footer a {
color: #6f753d
}
.top-footer {
width:510px;
height:auto;
margin-left: 35px;
}
.bottom-footer {
background-color:#2d2e26;
border: 1px solid #625327;
text-align:left;
padding-left:3px;
width: 510px;
margin-left:30px;
}
table#for_pages {
background-color:#f1ecd7;
border-top:1px solid #344a4e;
width:569px;
}
.addnews {
background-color:#f1ecd7;
border-top:1px solid #344a4e;
width:569px;
overflow:hidden;
}
.addnew {
background-color:#f1ecd7;
width:568px;
overflow:hidden;
margin-left:1px;
}
.for_pages {
background-color:#f1ecd7;
border-top:1px solid #344a4e;
width:569px;
}
.dtt {
text-indent:-90000px;
background-color:#f1ecd7;
width:569px;
margin-left:1px;
margin-top:-1px;
}
.dttt {
text-indent:-90000px;
background-color:#f1ecd7;
width:140px;
margin-left:10px;
margin-top:-1px;
}
.pm {
background-color:#f1ecd7;
border-top:1px solid #344a4e;
width:568px;
margin-left:1px;
}
table#for_page {
margin-left:1px;
background-color:#f1ecd7;
border-top:1px solid #344a4e;
}
table.text-decoration {
text-align:left;
background-color:#f1ecd7;
}
#options {
background-color:#f1ecd7;
width:569px;
text-align:left;
}
.avatar1 {
width:70px;
height:100px;
margin-right:-10px;
}
.smm04 {
margin-right:20px;
margin-top:-10px;
width:240px;
height:auto;
}
.fullstory-title {
text-align:left;
padding-left:20px;
padding-bottom:5px;
font-size:24px;
color: #233e47;
font-family: Verdana;
margin-top:-37px;
margin-left:-16px;
}
.fullstory-title td a {
font-size:24px;
color: #233e47;
font-family: Verdana;
}
.fullstory {
width:568px;
height:auto;
overflow:hidden;
color:#233e47;
text-align:left;
background-color:#f1ecd7;
margin-left:1px;
border-top:1px solid #344a4e;
}
.fullstory2 {
margin-left: 72px;
padding-left: 15px;
padding-right: 15px;
width: 560px;
}
table.table_fullstory {
height: auto;
margin-bottom: 0;
margin-left: -80px;
margin-top: 0;
padding: 0;
position: relative;
width: 568px;
}
table.table_fullstory a {
color:#51571d; text-decoration:underline;
}
table.table_fullstory a:hover {
color:#51571d; text-decoration:none;
}
td#news {
margin-left:100px;
width:569px;
height:auto;
}
.prosmotri {
background-color:#f1ecd7;
width:569px;
}
table.comments1 {
color:#233e47;
background-color:#f1ecd7;
border-top:1px solid #344a4e;
}
table.comments1 a {
color:#51571d; text-decoration:underline;
}
table.comments1 a:hover {
color:#51571d; text-decoration:none;
}
.addnews {
width:569px;
margin:0;
padding:0;
height:auto;
}
.addnews1 {
width:569px;
margin:0;
padding:0;
height:auto;
}
.sss {
margin-left: 20px;
margin-top: -220px;
}
.eee {
margin-left: -60px;
margin-top: 50px;
position: relative;
}