YouFail
22-03-2006, 04:14 PM
I'm making my new site but I can't get the nav on the left and the content in the centre without it going down one line. Here's the code i'm using:
<HTML>
<HEAD>
<STYLE TYPE="text/css">
body {
background-color: #5f9ea0;
}
.nav {
background-color: #c0c0c0;
border: 1px dashed;
color: #cccccc
}
.content {
background-color: #c0c0c0;
border: 1px dashed;
color: #cccccc
}
</STYLE>
</HEAD>
<TITLE>Title Here</TITLE>
<div class="nav"><div align="left">
Links here
</div></div>
<center>
<div class="content"><div align="center">
Put content
</CENTER>
</HTML>
I can do everything required (I think) except that.
<HTML>
<HEAD>
<STYLE TYPE="text/css">
body {
background-color: #5f9ea0;
}
.nav {
background-color: #c0c0c0;
border: 1px dashed;
color: #cccccc
}
.content {
background-color: #c0c0c0;
border: 1px dashed;
color: #cccccc
}
</STYLE>
</HEAD>
<TITLE>Title Here</TITLE>
<div class="nav"><div align="left">
Links here
</div></div>
<center>
<div class="content"><div align="center">
Put content
</CENTER>
</HTML>
I can do everything required (I think) except that.