to jest index.php:
<?php ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> <link rel="Stylesheet" type="text/css" href="style.css" /> <title> portfolio, tworzenie stron WWW, php, ajax</title> </head> <body> <div id="ogolny"> <div id="srodekbialy"> asdasd </div> </div> </body> </html>
plik css:
Kod
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #CCCCCC;
}
body {
background-color: #1C1C1C;
margin-left: 10px;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
}
#srodekbialy {
margin: 0 auto;
background-color: white;
border: 10px solid #6ABF28;
height: 500px;
width: 600px;
}
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #CCCCCC;
}
body {
background-color: #1C1C1C;
margin-left: 10px;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
}
#srodekbialy {
margin: 0 auto;
background-color: white;
border: 10px solid #6ABF28;
height: 500px;
width: 600px;
}
Tutaj zrzut jak chcę aby to wyglądało:
http://img253.imageshack.us/img253/1407/cssxq8.jpg