EDIT: I (think) fixed it. not sure if its the best way to do it though...
Ugh, I have been at this for like 2 hours now! Please someone help me!
My website: http://pinkus.no-ip.com
CSS file: http://pinkus.no-ip.com/web.css
I want navigation on one side, and the content to the right of it.
HTML:
CSS:
Ugh, I have been at this for like 2 hours now! Please someone help me!
My website: http://pinkus.no-ip.com
CSS file: http://pinkus.no-ip.com/web.css
I want navigation on one side, and the content to the right of it.
HTML:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Pinkus [Home]</title>
<link rel="stylesheet" type="text/css" href="web.css" />
</head>
<body>
<div id="nav">
<p>Navigation</p>
<a href="index.html">Home</a>
</div>
<div id="content">
<p>email me what what's wrong: admin[at]pinkus[dot]no-ip[dot]com</p>
<p>haha</p>
</div>
</body>
</html>
CSS:
Code:
body {
color: white;
background-color: black;
font-family: Georgia, Verdana;
font-size: 0.8em;
}
h1 {
color: white;
font-size: 1.8em;
text-align: center;
padding: 0.5em;
}
a:link {
color: #FF7F50;
text-decoration: none;
}
a:visited {
color: #FF7F50;
text-decoration: none;
}
a:hover {
color: #FF7F50;
text-decoration: underline;
}
#nav {
position: fixed;
top: 50;
left: 10;
width: 10em;
}
#nav p {
margin: 0;
padding: 0;
}
#content {
position: fixed;
top: 100;
margin-left: 110;
width: 50em;
}