Cześć mam problem - nie mogę "przykleić" diva "tlo" do diva "pasek". Ktoś pomoże?
wyglad.php:
<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="pasek">
[TEKST]
</div>
</body>
</html>
style.css:
body
{
background:#eeeeee;
font-family: 'Lato', sans-serif;
}
#pasek
{
height:40px;
width:100%;
background:#63A34E;
position:absolute;
left:0;
right:0;
top: 0;
font-size:27px;
}
user.php:
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Campaible" content="IE=edge,chrome=1" />
<title>Esclavo</title>
<link rel="stylesheet" href="styleprof.css" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Lato:400,900&subset=latin-ext" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="fonty/css/fontello.css" type="text/css" />
</head>
<body>
<?php
include ('wyglad.php');
?>
<center>
<div id="tlo">
<?php
echo '<img src="'.$_SESSION['tlo'].'" alt="" width="791" height="352">';
?>
</div>
</center>
styleprof.css:
body
{
background:#eeeeee;
font-family: 'Lato', sans-serif;
}
#tlo
{
margin-top: 30px;
}