![](https://htmlforum.dev/uploads/set_resources_18/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Mihail Dobkin
-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Store
Posts posted by Mihail Dobkin
-
-
Помогите разобраться с кодом, верстка неправильно отображается в FF и Opera, хотя прекрасно парсится в IE.
style.css
#main {
width : 900px;
height : auto;
margin : 0 auto;
padding : 0 0;
}
html, body {
margin : 0;
padding : 0;
}
#header {
width : 900px;
height : 295px;
margin : 0 auto;
padding : 0;
}
#main_content {
width : 900px;
height : 456px;
margin : 0 auto;
padding : 0;
background : url(images/fon.jpg) repeat-y;
}
#red_image {
height : 36px;
margin-left : 0;
margin-bottom : 0;
padding : 0;
}
#head_small {
height : 21px;
margin : 0;
padding : 0;
}
#left_header_image {
margin-top : -4px;
margin-left : 524px;
width : 206px;
height : 11px;
padding : 0;
}
#enter {
width : 84px;
height : 25px;
margin-left : 731px;
margin-top : -334px;
}
#text_header {
width : 759px;
height : 9px;
margin-left : 57px;
margin-top : -1px;
padding : 0;
background : #000000;
}
.text {
text-indent : 20px;
color : #c3c300;
font-family : Tahoma;
font-size : 11px;
margin-left : 30px;
}
.text_1 {
text-indent : 20px;
color : #ffff28;
font-family : Tahoma;
font-size : 11px;
margin-left : 30px;
}
#footer {
margin-top : 20px;
margin-left : 56px;
width : 759px;
height : 60px;
padding : 0;
background : url(images/footer.jpg);
}
.footer_text {
text-indent : 20px;
color : #c3c300;
font-family : Tahoma;
font-size : 11px;
margin-top : -40px;
margin-right : 20px;
text-align : center;
}
#flash_footer {
margin-top : 7px;
margin-left : 20px;
width : 75px;
height : 46px;
padding : 0;
background : url(images/flash.jpg);
}
#fonn1 {
margin-bottom : 0;
margin-left : 0;
width : 57px;
height : 344px;
padding : 0;
}
#fonn2 {
margin-top : -400px;
margin-left : 817px;
width : 83px;
height : 354px;
padding : 0;
}
#button {
position : absolute;
width : 156px;
height : 156px;
left : 866px;
top : 558px;
}
#form {
position : absolute;
width : 208px;
height : 24px;
left : 702px;
top : 316px;
}
Посмотреть можно тут: http://www.progcom.sumy.ua/template/
Неправильно отображается код.
in HTML Coding
Posted
Как видно, доктайп вписан.