Topic: DIV layout with CSS (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Belgium |
posted 07-09-2007 11:36
Hi All, code: #container { width: 800px; height: 500px; border: 1px solid gray; margin: 20px; margin-left: auto; margin-right: auto; padding: 2px; background-color: #BDE577; border: 0px; } #header { padding: 0px; border: 0px; background-color: #5B4641; height: 90px; margin-bottom: 2px; text-align: right; } #left-navigation { float: left; text-align: left; width: 200px; height: 408px; margin: 0; margin-right: 0px; padding: 5px; background-color: #5B4641; } #content { padding: 15px; margin-left: 0px; margin-right: 0px; height: 408px; width: 596px; float: left; text-align: left; background-color: #5B4641; font-family: Century Gothic; font-size: 10 pt; color: #FFFFCC; } #footer { clear: both; padding: 5px; margin-top: 5px; height: 20px; text-align: center; font-family: verdana, arial, sans-serif; font-size: 8pt; color: #291313; } |
Maniac (V) Inmate From: there...no..there..... |
posted 07-09-2007 14:53
mixing CSS and Tables for layout purposes is going to lead to a really big headache. |
Paranoid (IV) Inmate From: Norway |
posted 07-09-2007 15:54
ouch! I literally stepped back when I saw the markup. |