Hi guys, I'm in the process of learning css however upon adopting the approach of using div tags instead of tables, I'm having trouble with one column. I'm using a traditional design with left, mid and right column.Its the middle column thats giving me a problem. To make the containers, I am using the following css code.
#leftcol { float: left; margin: 10px 0 0 10px; width: 20%; height: 150px; border-top: 1px solid #393939; border-left: 1px solid #393939; border-right: 1px solid #393939; border-bottom: 1px solid #393939; padding:}#midcol { float: none; margin: 10px auto 0 auto; width: 54%; height: 150px; border-top: 1px solid #393939; border-left: 1px solid #393939; border-right: 1px solid #393939; border-bottom: 1px solid #393939;}#rightcol { float: right; margin: -152px 10px 0 0; width: 20%; height: 150px; border-top: 1px solid #393939; border-left: 1px solid #393939; border-right: 1px solid #393939; border-bottom: 1px solid #393939;}
It displays perfectly in ff and opera however IE doesnt render it correctly. I've done alot of searching and found something very similar such as using display: inline; however this completely breaks the display.Below is a screenshot of the containers in Ie, can anyone help or give a suggestion?http://www.wjdev.net/table.gif<<removed tags because of image stretching the screen. Click the link to see the screenshot.>>