P
Paul F. Johnson
Hi,
I have a CSS file setup which has 3 columns. The left column is set like
this:
#leftbar {
position: absolute;
float: left;
width: 20%;
border: 1px solid black;
color: black;
background-color: #f7f3f7;
display: block;
padding-bottom: 5px;
}
The middle...
#middleblock {
float: left;
width: 58%;
min-height: 250px;
margin-left: 20.1%;
padding-right: 18px;
}
And the right...
#rightblock {
float: left;
width: 20%;
background-color: white;
margin-top: 10px;
}
Is there anyway to ensure that the left margin is always the same size
as the middle block without resorting to JS? There probably is some
really simple way to do it!
TTFN
Paul
I have a CSS file setup which has 3 columns. The left column is set like
this:
#leftbar {
position: absolute;
float: left;
width: 20%;
border: 1px solid black;
color: black;
background-color: #f7f3f7;
display: block;
padding-bottom: 5px;
}
The middle...
#middleblock {
float: left;
width: 58%;
min-height: 250px;
margin-left: 20.1%;
padding-right: 18px;
}
And the right...
#rightblock {
float: left;
width: 20%;
background-color: white;
margin-top: 10px;
}
Is there anyway to ensure that the left margin is always the same size
as the middle block without resorting to JS? There probably is some
really simple way to do it!
TTFN
Paul