Orange Juice
04-13-2004, 01:49 AM
This is my site: http://www.studiotruth.bravehost.com/
(by the way, I just started on it and I know it looks crappy and no links work)
But anyway, I am trying to target my links. I am using a CSS layout from this site. How do I do this? Here is my code for the whole thing so far:
<html>
<head>
<title>Studio Truth May 2004</title>
<style type="text/css">
body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}
#header {
margin: 20px;
padding: 10px;
height: 100px;
}
#left {
position: absolute;
left: 15px;
top: 160px;
width: 200px;
}
#center {
top: 0;
margin-left: 230px;
margin-right: 15px;
}
</style>
</head>
<body>
<div id="header">
<img src="mayheader.jpg" border="0">
</div>
<div id="left">
<br><br><br>
<a href="home.html">home</a><br><br>
<a href="pictures.html">pictures</a><br><br>
<a href="poems.html">poems</a><br><br>
<a href="extras.html">extras</a>
</div>
<div id="center">
MAIN
</div>
</body>
</html>
I tried putting target="center" after my link urls but this just made it open a new window. Please help!!
thanks,
o.j.
(by the way, I just started on it and I know it looks crappy and no links work)
But anyway, I am trying to target my links. I am using a CSS layout from this site. How do I do this? Here is my code for the whole thing so far:
<html>
<head>
<title>Studio Truth May 2004</title>
<style type="text/css">
body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}
#header {
margin: 20px;
padding: 10px;
height: 100px;
}
#left {
position: absolute;
left: 15px;
top: 160px;
width: 200px;
}
#center {
top: 0;
margin-left: 230px;
margin-right: 15px;
}
</style>
</head>
<body>
<div id="header">
<img src="mayheader.jpg" border="0">
</div>
<div id="left">
<br><br><br>
<a href="home.html">home</a><br><br>
<a href="pictures.html">pictures</a><br><br>
<a href="poems.html">poems</a><br><br>
<a href="extras.html">extras</a>
</div>
<div id="center">
MAIN
</div>
</body>
</html>
I tried putting target="center" after my link urls but this just made it open a new window. Please help!!
thanks,
o.j.