cbombard
07-30-2010, 04:00 PM
is there a tag or css function that would resize my container div (and it's contents) proportionally to the size of the browser window, no matter what the browser size. therefore, there would be no scrolling, but no information on the page would get cut off.
The webpages look great on a larger imac screen, but on a powerbook or macbook air, information gets cut off.
Here is my css thus far:
[CODE]
body {
padding:0;
margin:0;
height: 100%;
overflow-y: scroll; /* ie6 value b/c !important ignored */
overflow-y: hidden !important;
}
#bottom {
background-color:#FFFFCC;
position: fixed !important;
position: absolute; /* ie6 value b/c !important ignored */
width: 100%;
bottom: 0px;
z-index: 5;
height:100px;
}
.links {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
float: left;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #333333;
text-decoration: none;
font-size: 10px;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
font-size: 10px;
color: #666666;
}
a:hover {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
font-size: 10px;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
font-size: 10px;
}
#containter {
font-family: Arial, Helvetica, sans-serif;
position: relative;
min-height: 100%;
height: 600px;
}
#containter2 {
font-family: Arial, Helvetica, sans-serif;
position: relative;
min-height: 100%;
width: 985px;
}
#footer2 {
width: 969px;
margin-top: 85px;
margin-left: 0px;
padding-left: 0px;
position: absolute;
top: 500px;
}
[ICODE]
The webpages look great on a larger imac screen, but on a powerbook or macbook air, information gets cut off.
Here is my css thus far:
[CODE]
body {
padding:0;
margin:0;
height: 100%;
overflow-y: scroll; /* ie6 value b/c !important ignored */
overflow-y: hidden !important;
}
#bottom {
background-color:#FFFFCC;
position: fixed !important;
position: absolute; /* ie6 value b/c !important ignored */
width: 100%;
bottom: 0px;
z-index: 5;
height:100px;
}
.links {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
float: left;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #333333;
text-decoration: none;
font-size: 10px;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
font-size: 10px;
color: #666666;
}
a:hover {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
font-size: 10px;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
font-size: 10px;
}
#containter {
font-family: Arial, Helvetica, sans-serif;
position: relative;
min-height: 100%;
height: 600px;
}
#containter2 {
font-family: Arial, Helvetica, sans-serif;
position: relative;
min-height: 100%;
width: 985px;
}
#footer2 {
width: 969px;
margin-top: 85px;
margin-left: 0px;
padding-left: 0px;
position: absolute;
top: 500px;
}
[ICODE]