I am experementing for the first time with css layouts (have experience of the very basic css setup). All I want to achieve is a 2 column layout (left panel and content). I have found this:
#leftcontent {
position: absolute;
left:10px;
top:10px;
width:170px;
border:1px solid #C0C0C0;
padding: 2px;
}
#centercontent
{
position: absolute;
margin-left: 181px;
border:1px solid #C0C0C0;
top:10px;
//fix IE5 bug
voice-family: "\"}\"";
voice-family: inherit;
margin-left: 181px;
}
This displays great in firefox but the content in IE8 goes off the right of the screen, I assume by the length of the leftcontent. How can I fix this?
I appreciate this is probably quite a simple fix but I have experimented and looked for fixes but this supposedly should work.