ParadoxKing
01-06-2010, 09:05 PM
Hello I have a question about handling y overflow on a div. I made a web page with a restricted height of 1073px. This is all very good and well for most of my pages however, certain pages require more room. For example, this page (http://k66t6-mf.com/eg_code/cpp.php). Has a large amount of overflow. I tried adding overflow:scroll; to the css but that didn't seem to work, here is the code that I have:
div#maincont{
float:left;
background:url(../backgrounds/image/diamond_plate_metal-bg.png);
font-size:90%;
#font-size:95%;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
color:#FFFF99;
width:704px;
height:1037px;
display:table-column;
z-index:0;
position:relative;
}
This is just the main content portion of my pages. Does anyone know how I can get scroll overflow to work? Thanks in advance.
div#maincont{
float:left;
background:url(../backgrounds/image/diamond_plate_metal-bg.png);
font-size:90%;
#font-size:95%;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
color:#FFFF99;
width:704px;
height:1037px;
display:table-column;
z-index:0;
position:relative;
}
This is just the main content portion of my pages. Does anyone know how I can get scroll overflow to work? Thanks in advance.