Style.css
.nagl {
text-align:center;
font-size: 25px;
position:absolute; top:10px; left:30%;
}
.info {
font-size:19px; color:white;
}
#news {
position: absolute; top: 100px; left: 6cm; right:6cm;
text-align:center;
font-size:16px;
}
#rig {
position:absolute;top:100px; right:1px; left:28cm; font-size: 12px;
}
div#left, div#right {
float: left;
width: 188px;
margin-top: 100px;
}
img {
border: 0;
}
form {
display: inline;
}
html{
overflow-x: hidden;
}
body {
margin: 0;
padding: 0;
background-color: #000;
font-family: verdana, arial, sans-serif;
color: #a1a1a1;
font-size: 11px;
text-align: center;
}
div.sep, div.space-line {
clear: both; margin: 0; padding: 0; width: auto;
}
a {
font-family: verdana, arial, sans-serif;
color: #a1a1a1;
font-size: 11px;
text-decoration: none;
}
div {
text-align: left;
}
div#all {
width: 997px;
margin: 0 auto;
}
div.space-line {
clear: both; margin: 0; padding: 0; width: auto;
}
div#hormenu {
margin-bottom: 10px;
}
div#hormenu div.element a {
width: 153px;
height: 36px;
float: left;
background: url(img/button.png);
display: block;
line-height: 36px;
color: #f4cc51;
font-size: 13px;
text-align: center;
}
div#hormenu div.element a:hover {
background: url(img/buttonlight.png);
color: #257de3;
}
div#right div.text {
background: url(img/menuback2.png);
padding: 4px;
}
div#left h4, div#right h4 {
background: url(img/menuback.png);
width: 188px;
height: 31px;
margin: 0;
padding: 0;
color: #f4cc52;
text-align: center;
line-height: 31px;
font-size: 11px;
}
div#left ul, div#right ul {
list-style-type: none;
padding-left: 0;
margin-top: 0;
margin-left: 0;
background: url(img/menuback2.png);
}
div#left ul li, div#right ul li {
color: #a2a2a2;
height: 19px;
margin-bottom: 2px;
background: url(img/mitemback.png);
}
div#left ul li div, div#right ul li div {
background: url(img/list.png);
width: 16px;
height: 19px;
float: left;
}
div#left ul li a, div#right ul li a {
color: #a2a2a2;
display: block;
background: url(img/mitemback.png);
height: 19px;
line-height: 19px;
}
index.php
<?php
echo '<div class="nagl">Wizualizacja! - czyli jak nad soba zapanować</div> <div id="left"> <h4 style="background: url('gfx/menu.png');">Menu</h4> <ul class="mlinks"> ';
require_once('links.php');
{
echo'<li><div></div><a href="http://'.$adres.'?id='.$n[id
].'">'.$n[title
].'</a></li>'; }
include('staty.php');
echo ' <div id="news">'.$qq[news
].''; include('stopka.php');
?>
Skrypt malutki bo dane z newsami lecą z bazy.. z góry thxx for help