|
|
|
|
|
для: Незнайка
(17.05.2008 в 19:54)
| | там был ещё РНР.
РНР вставляю, для разных версии сайтов. | |
|
|
|
|
|
|
|
для: dima_mak
(17.05.2008 в 19:19)
| | "< head> есть, я его просто обрезал"
Странно Обрезаете...
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<title>RoAdTrIp.Co.Il</title>
|
Это Оставили...
>> а причем тут PHP?
Вот и я подумал. Зачем Вы его туда "воткнули"? | |
|
|
|
|
|
|
|
для: Незнайка
(17.05.2008 в 14:25)
| | <head> есть, я его просто обрезал.
а причем тут PHP? браузер получает готовый код и не видет РНР... | |
|
|
|
|
|
|
|
для: dima_mak
(16.05.2008 в 19:54)
| | Может быть из-за этого?
<?php
if($link=="reg")
print "500";
else
print "545";?>
|
P.S. А где <head> то?
</head> вижу, а <head> не наблюдаю | |
|
|
|
|
|
|
| Неделю ущу как сделать слои прижатый к низу страницы, вне зависимости от количества содержимого.
Нашел пару вариантов, но почему-то не один у меня не работает.
вот последний:
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<title>RoAdTrIp.Co.Il</title>
<style type="text/css">
IMG {
border: 0px; /* Убираем границу */
}
td.search {
padding: 0px 10px;
}
#container {
width: 100%;
min-width: 1000px;
_width: expression(document.body.clientWidth > 1000 ? "100%" : "1000px")
}
#shapka {
position: relative;
float:right;
left:0px;
top: 0px;
width: 100%;
_width: expression(document.body.clientWidth > 1000 ? "100%" : "1000px")
min-width: 1000px;
background: url('img/fon_shapka.gif');
background-repeat: repeat;
height: 304px;
padding: 0px;
margin: 0px;
}
#menu {
position: absolute;
left: 270px;
top: 253px;
height: 35px;
width: 450px;
background-color: #FFFFFF;
padding: 10px;
margin: 0px;
}
#menu_item{
font-size: 12px;
text-decoration: underline;
color: black;
}
#now{
font-size: 12px;
text-decoration: none;
color: #868383;
}
#forum {
position: relative;
float: right;
right: 0px;
top: -30px;
height: 90px;
width: 105px;
padding: 0px;
margin: 0px;
}
#vhod {
position: absolute;
left: 0px;
top: 290px;
height: 189px;
width: 289px;
background: url('img/fon_vhod.jpg');
background-repeat: no-repeat;
padding: 20px;
}
#log_pass{
font-size: 12px;
font-weight: bold;
}
#news {
position: absolute;
left: 0px;
top: <?php
if($link=="reg")
print "500";
else
print "545";?>px;
float: bottom;
height: 308px;
width: 302px;
background: url('img/fon_news.gif');
background-repeat: no-repeat;
padding: 20px;
}
#news_text {
color: black;
text-decoration: none;
}
#main {
position: absolute;
left: 350px;
top: 320px;
/* z-index: 2; */
}
html, body {
margin:0;
padding:0;
width:100%;
height:100%;
}
#content {
position: relative;
min-height: 100%;
}
* html #content {
height: 100%;
}
#footer {
position: relative;
margin-top: -2.5em;
height: 2.5em;
}
</style>
</head>
<body>
<div id="content">
<div id="container">
<div id="shapka">
<img src="img/shapka.jpg" style="padding:0px;margin:0px">
</div>
<div id="forum">
<a href="phpBB/index.php" target='_blank'>
<img src="img/forum.gif" style="padding:0px;margin:0px"></a>
</div>
</div>
<div id="menu">
блок меню которое налегает на шапку.
</div>
<div id="vhod">
логин
</div>
<div id="news">
Новости
<div id="main">
Содержимое
</div></div>
<div id="footer">
sdfsdfsdfsddsffsdfsdfsdfsdfsdfsdfsd fsdfsdfsdfsdfsdfsdfsdfsdfsdfsdfsdfs dfsdfsdfsdfsdfsdfsdfsdfsdf
</div>
</body>
</html>
|
Что не так? | |
|
|
|
|