Forum Moderators: not2easy
creating a 3 column layout, have a header bar, left column, middle column, right column, footer bar. Problem - the right column is showing up beneath the left and middle column. I have used the float left command for all three within the stylesheet and the left and middle column show fine. Any help? code below.
.top {
width: 900px;
height: 200px;
background-color: red;
float: left;
}
.lcolumn {
width: 250px;
height: 500px;
background-color: black;
font-color: white;
float: left;
}
.content {
width: 400px;
height: 500px;
background-color: blue;
font-color:
float: left;
}
.rcolumn {
width: 250px;
height: 500px;
background-color: green;
font-color:
float: left;
}
.bottom {
width: 900px;
height: 200px;
clear: both;
background-color: red;
}
That will fix it.
The reason why these would be the cause, is that you haven't included a delimter (semi-colon) after the 'font-color' property name, in both instances. Please refer to CSS 2.1 Error Parsing Rules [w3.org] for a detailed explanatation as to why this is happening.
James