tennisguywill
01-31-2007, 05:03 PM
1) Script Title:
CSS Fixed Layout #3.1- (Fixed-Fixed-Fixed)
2) Script URL (on DD):
http://www.dynamicdrive.com/style/layouts/category/C12/
3) Describe problem:
When I inserted the CSS the left column was not visible:
#leftcolumn{
float: left;
width: 180px; /*Width of left column in pixel*/
margin-left: -839px; /*Set margin to that of -(MainContainerWidth)*/
background: #C8FC98;
To correct this I changed the margin-left from -840 to -839.
Can anyone explain this to me and if making changes like that will be a problem later on that I do not see.
Are there certain things in the CSS you should never change to maintain the integrity of the code?
I'm a newbie to CSS and I'm sure someone else will find this helpful?
Thanks,
Will
CSS Fixed Layout #3.1- (Fixed-Fixed-Fixed)
2) Script URL (on DD):
http://www.dynamicdrive.com/style/layouts/category/C12/
3) Describe problem:
When I inserted the CSS the left column was not visible:
#leftcolumn{
float: left;
width: 180px; /*Width of left column in pixel*/
margin-left: -839px; /*Set margin to that of -(MainContainerWidth)*/
background: #C8FC98;
To correct this I changed the margin-left from -840 to -839.
Can anyone explain this to me and if making changes like that will be a problem later on that I do not see.
Are there certain things in the CSS you should never change to maintain the integrity of the code?
I'm a newbie to CSS and I'm sure someone else will find this helpful?
Thanks,
Will