Radscientist
07-03-2010, 03:01 PM
For some odd reason, my first span is just not working like it should be. I can't set any style for it or any positioning. I'm wanting to use float or absolute positioning on the <span class="nav"> to take it out of the flow so the content can move up to beween the nav and side bar.
The goal for this site is essientally a three column layout with the right column being the chronological list of the last 20 articles or updates posted and the nav bar being the main bar with links. there will be several sections within the content area as you can see in the attached image.
this layout depends on being able to set the columns to the very right and very left of the site.
it have been a long long time since i've seriously worked on my site so for once and for all, I want to get my site up and running before the semester start this fall at Gallaudet University since I'm taking a web design class this fall too. I want to get my site ready before then so I can really tweak and improve the site over the fall with the instructor.
thanks
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Lost Ear Studio</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<img class="center" src="pic/testingbanner.png" alt="Lost Ear Studio />
<span class="nav">
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
</span>
<span class="content">
<p>The content of the document......</p>
<img src="pic/index.jpg" alt="Lost Ear Studio is coming!!!">
</span>
<span class="side">
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
</span>
</body>
</html>
body {
background-color:black;
color:white;
}
span.nav {
position:absolute;
top:275px;
border:3px solid white;
border-left-style: hidden;
margin:0px 0px 0px 100px;
}
span.content {
margin-right:200px;
margin-left:200px;
}
span.side {
float:right;
width:200px;
border:3px solid white;
border-right-style: hidden;
padding:10px;
}
IMG.center {
display: block;
margin-left: auto;
margin-right: auto;
}
The goal for this site is essientally a three column layout with the right column being the chronological list of the last 20 articles or updates posted and the nav bar being the main bar with links. there will be several sections within the content area as you can see in the attached image.
this layout depends on being able to set the columns to the very right and very left of the site.
it have been a long long time since i've seriously worked on my site so for once and for all, I want to get my site up and running before the semester start this fall at Gallaudet University since I'm taking a web design class this fall too. I want to get my site ready before then so I can really tweak and improve the site over the fall with the instructor.
thanks
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Lost Ear Studio</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<img class="center" src="pic/testingbanner.png" alt="Lost Ear Studio />
<span class="nav">
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
</span>
<span class="content">
<p>The content of the document......</p>
<img src="pic/index.jpg" alt="Lost Ear Studio is coming!!!">
</span>
<span class="side">
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
<img src="pic/sideblock.png"><br />
</span>
</body>
</html>
body {
background-color:black;
color:white;
}
span.nav {
position:absolute;
top:275px;
border:3px solid white;
border-left-style: hidden;
margin:0px 0px 0px 100px;
}
span.content {
margin-right:200px;
margin-left:200px;
}
span.side {
float:right;
width:200px;
border:3px solid white;
border-right-style: hidden;
padding:10px;
}
IMG.center {
display: block;
margin-left: auto;
margin-right: auto;
}