Okay, I'm making this small localhost homepage for me, one that will have some links, throw out some crap from a php, and show some sort of statistics for the day. Here's a picture of what I have now:
The banner and the W3C Validator button on the bottom are okay, I need help with the stuff in between that.
The links are supposed to be at the left, the second line of text is supposed to be in the middle, and the line of text below that is supposed to be aligned ot the right.
But it isn't. It's all underneath each other. Here's the code as well as the CSS driving it:
XHTML:
Code:
<div class="mainpage">
<!-- Left Sidebar Menu -->
<ul>
<li><a href="">Link 1</a></li>
<li><a href="">Link 2</a></li>
<li><a href="">Link 3</a></li>
<li><a href="">Link 4</a></li>
<li><a href="">Link 5</a></li>
</ul>
<!-- Middle Section Module -->
<p>
Junk for today goes here!
</p>
<!-- Right Sidebar Module -->
<p>
More sidebar crap to go here. (Aligned right)
</p>
</div>
CSS
Code:
div.mainpage
{
width: 100%;
text-align: center;
}
I need to know how i can get these three "modules" of sorts to be next to each other, the links aligned left, middle crap in the middle, and right stuff to the right.
_________________


<EggWerx> MetalOverlord: Dsman and lemmayoshi will be used for taco meat, ask mo he knows me.
jleemero wrote:
Being required to learn Java for a Comp Sci MAJOR is like being required to shit on a lawnmower to be an astronaut.