CSS
Expand|Select|Wrap|Line Numbers
- #container {
- position: relative;
- width: 40em;
- background-color: #E60073;
- margin-left: auto;
- margin-right: auto;
- }
- #header {
- height: 8em;
- padding: 1em;
- background: #FFFFFF
- }
- #main {
- margin-left: 12em;
- background: #FFFFFF;
- }
- body {
- font-family: Verdana, sans-serif;
- margin: 0;
- padding: 0;
- }
- #nav { font-size: 1em;
- text-decoration: none;
- color: #6600CC;
- font-weight: strong; }
- h1 { color: #E60073;
- font-size: 2em;
- }
- h2 { color: #000000;
- font-size: 1.5em;
- }
- h3 { color: #6600CC;
- font-style: italic;
- font-size: 1em;
- }
- #footer {
- float: center;
- border-top: thin;
- border-color: #E60073;
- font-size: .5em;
- }
</head>
<body>
</body>
</html>
and the HTML
<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<link rel="stylesheet " type="text/css" href="new_page_ 1.css">
</head>
<div.id="contai ner"><class="id container">
<body>
<div.id="header ">
<img border="0" src="images/networkartslogo .gif" width="750" height="110">
</body>
</html>[/html]
can anyone tell me why this does not work?