Just trying something out today with CSS
style.css
index.html
no luck, I get the 'test' message displaying with no padding, white backgrounds, and no header. whats the deal?
style.css
Code:
/**********/
CSS Style Sheet
Name: 1-point-0
by: Chael McLean
/**********/
body {
background-color: rgb(22,22,22);
font-family: 'Trebuchet MS', Arial, Tahoma, sans-serif;
font-size: 62.5%;
color: rgb(90,90,90);
}
/*----------------------*/
/* Sections */
/*----------------------*/
#header {
background: url('http://site/header.jpg');
background-color: rgb(22,22,22);
width: 470px;
height: 140px;
padding-left: 75px;
padding-right: 75px;
}
#page {
width: 600px;
background-color: rgb(22,22,22);
margin: 0px 15% 15% 15%;
overflow: hidden;
}
index.html
Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://site.net/style.css" />
<link rel="shortcut icon" href="http://site.net/icon.jpg" type="image/x-icon">
<link rel="icon" href="http://site.net/icon.jpg" type="image/x-icon">
</head>
<body>
<div id="page">
<div id="header">
</div>
</div>
test
</body>
<html>
no luck, I get the 'test' message displaying with no padding, white backgrounds, and no header. whats the deal?








