/*
Three columns
Left column Some menu items
Middle main display
Right adverts external links
*/
/* Default stuff */
body {
color: #ddd;
background: #000;
margin: 0;
padding: 0;
}
a {
color:aaf;
text-decoration:none;
font-weight: bold;
}
a:hover {
color: #111;
background: #aaa;
}
/* Left col */
#leftcol {
width: 128px;
border: solid 1px #ff0;
float: left;
}
/* Right Col */
#rightcol {
width: 128px;
border: solid 1px #ff0;
float: right;
}
/* middle col */
#middlecol {
width: 100%;
margin: 0 132px 0 132px;
border: solid 1px #ff0;
}
/* subsections */
table.subs {
width: 90%;
}
table.subs tr {
vertical-align: middle;
}
table.subs td {
text-align: center;
}
/* Copy right */
#copyright {
border: dotted 1px #05f;
text-align: right;
font-variant: small-caps;
font-size: 75%;
padding: 0 32px 0 0;
clear:both;
}
/* General Classes */
.iefixcenter { text-align:center; }
Firefox has made the middle section 100% wide BUT with the margin of 132px on the left (the right doesn't work?!?) it shoves it off the screen.
1) Do I need to change the Css a bit to make it fit? Should the width be auto?
2) How would I get it centered and with a max width of the screen- 264px?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
html stays the same, as you can see in this example the center column doesn't take up all the space, just as much as needed so if the middle column extends it's still good.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...