* html .footer { bottomy:expression(parentNode.offsetHeight % 2 ? style.bottom="-1px" : style.bottom="0px"); /* хак для ие6, у которого есть косяк со смещением на 1px */ }
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
mazhar
Помогите прижать футер.
вот код
css
* {
padding:0;
margin:0;
}
img {
border: none;
}
html { height: 100%;}
body {
height: 100%;
font: 9pt/18pt Verdana, Arial, Helvetica, sans-serif;
color: #333333;
}
#header {
background: #FFFFFF url(../images/header.gif) no-repeat;
height: 163px;
width: 1000px;
margin: 0px;
padding: 0px;
}
#logo {
background: #FFFFFF url(../images/newlogo.jpg) no-repeat;
position: absolute;
width: 302px;
height: 274px;
top: 163px;
left: 0px;
margin: 0px;
padding: 0px;
}
#content {
background: #FFFFFF url(../images/index_051.gif) no-repeat;
position: absolute;
height: 100%;
width: 475px;
top: 163px;
left: 302px;
right: 193px;
padding: 150px 15px 0px;
margin: 0px;
text-align: justify;
}
h1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: x-large;
font-weight: bold;
color: #FF0000;
line-height: normal;
}
#menu .spisok {
background: url(none);
margin: 0px;
padding: 3px 0px 0px;
}
#menu .spisok:hover {
background: url(none);
margin: 0px;
padding: 3px 0px 0px;
}
hr {
color: #555; /*для IE */
background-color:#555; /*для Firefox, Opera, Safari*/
border:0px none;
height:1px; /* высота 1px IE, Firefox, Opera, Safari */
clear:both; /* для очистки, если тег идет после float елемента */
margin: 0px 0px 20px;
padding-bottom: 0px;
}
#rs {
background: #FFFFFF url(../images/sr.gif) no-repeat;
position: absolute;
height: 637px;
width: 193px;
top: 0px;
float: left;
left: 505px;
}
#menu {
background: #FFFFFF;
position: absolute;
width: 302px;
top: 431px;
left: 0px;
margin: 0px;
height: 749px;
padding-top: 15px;
}
#menu a {
text-decoration: none;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
color: #333333;
font-weight: bold;
margin: 5px;
padding: 0px 0px 0px 80px;
}
#menu ul {
list-style: none;
background: #FFFFFF;
margin: 0px;
padding: 0px;
}
#main {
position: relative;
min-height: 100%;
}
#menu li {
background: url(../images/menu3.png) no-repeat center center;
margin: 0px;
padding: 5px 0px 12px;
}
#menu li:hover {
background: url(../images/menu_hover2.png) no-repeat center center;
margin: 0px;
padding: 5px 0px 12px;
}
#menu .spisok a {
font: normal 12px/normal "Times New Roman", Times, serif;
margin: 0px;
padding: 0px 0px 0px 80px;
}
#menu .spisok a:hover {
color: #FF0000;
text-decoration: underline;
}
#footer {
height: 50px;
position: absolute;
left:0;
bottom:0;
width: 1000px;
background-color: #999999;
clear: both;
top: 1850px;
}
* html .footer {
bottomy:expression(parentNode.offsetHeight % 2 ? style.bottom="-1px" : style.bottom="0px"); /* хак для ие6, у которого есть косяк со смещением на 1px */
}
/*——————tabl product—————-*/
table {
width:225px;
height:150px;
border:solid 2px #FC0;
margin-right:8px;
margin-bottom:5px;
float: left;
border-collapse:collapse;
padding: 0px;
margin-top: 0px;
}
table a {
text-decoration: none;
}
table a:hover {
text-decoration: underline;
color: red;
}
td, th {
padding: 3px;
color:red;
border:none;
}
thead {
background: url(images/fon_th.jpg) repeat-x;
}
th {
font-family:Verdana, Geneva, sans-serif;
font-size:14px;
}
th a {
color: #333333;
}
th a:hover {
color: #333333;
}
td {
font-family:Verdana, Geneva, sans-serif;
font-size:14px;
vertical-align:top;
}
td a {
color:#333333;
}
td a:hover {
color:#333333;
}
.td1 {
background-image: url(images/strelka.gif);
background-repeat:no-repeat;
background-position:right;
padding-left:129px;
padding-bottom:5px;
}
/*———-tabl product other————*/
.table1 {
width: 100%;
height: 150px;
border: none;
border-collapse:collapse;
border-bottom: solid 2px #FC0;
border-top: solid 2px #FC0;
margin:0px;
}
.table2 {
width: 100%;
height: 150px;
border: none;
border-collapse:collapse;
border-bottom: solid 2px #FC0;
margin:0px;
}
.td2 {
background-image: url(images/strelka.gif);
background-repeat:no-repeat;
background-position:right;
padding-bottom:5px;
}
.td2 a {
margin-left:385px;
}
.td2 a:hover {
color: #333333;
}
Link to comment
Share on other sites
17 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.