Forum Moderators: not2easy
any idea why my scrollbars appear onload in ie 5/mac but then quickly disappear? and my anchor tags don't work either...
.text {position: absolute;
top: 46px; width: 300px;
left: 278px; text-align: left;
overflow: auto;
height: 350px;
margin: 5px;
margin-right: 5px;
display: inline-block;
}
<div class="text"><br>
<a href="#anchor1">Link Text</a><br><br>
Blah text here (long)
</div>
<style type="text/css">
a:link {text-decoration: underline; color:#9F1D20;}
a:active {text-decoration: underline; color:#9F1D20;}
a:visited {text-decoration: underline; color:#9F1D20;}
a:hover {text-decoration: underline; color:#9F1D20;}
a.menu:link {text-decoration: none; color:#FF9900;}
a.menu:active {text-decoration: underline; color:#FF9900;}
a.menu:visited {text-decoration: none; color:#FF9900;}
a.menu:hover {text-decoration: underline; color:#FF9900;}
.tiny {font-size:9px; color: #000000; font-family:verdana, arial, helvetica, sans-serif; }
.header {font-size:14px; color: #000000; font-family:verdana, arial, helvetica, sans-serif; font-weight: bold; }
blockquote, body, div, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, select, td, textarea, tr, ul {font-size:10px; color: #000000; font-family:verdana, arial, helvetica, sans-serif; }
body {font-size:10px; color: #000000; font-family:verdana, arial, helvetica, sans-serif;
margin:0px;
padding:0px;
}
.cola {position: absolute;
width:277px;
}
.colb1 {position: absolute;
top: 0px;
left: 277px;
}
.colb2 {position: absolute;
top: 45px;
left: 277px;
}
.text {position: absolute;
top: 46px; width: 300px;
left: 278px; text-align: left;
overflow: auto;
height: 350px;
margin: 5px;
margin-right: 5px;
display: inline-block;
}
.contact {position: absolute;
top: 445px;
left: 310px;
font-size:9px; color: #000000; font-family:verdana, arial, helvetica, sans-serif;
}
</style>
</head>
<body><a name="top"></a>
<div class="cola">
<img src="images/press-image.jpg" border="0" align="left" valign="top">
</div>
<div class="colb1">
<img src="images/press-nav.gif" border="0" align="left" usemap="#Map">
<map name="Map">
<area shape="rect" coords="59,33,85,45" href="index.html">
<area shape="rect" coords="136,34,230,45" href="film.html">
<area shape="rect" coords="234,34,305,45" href="aa.html">
</map>
</div>
<div class="colb2">
<img src="images/bodybg.jpg" border="0" align="left">
</div>
<div class="text"><br>
<a href="#synopsis">Brief Synopsis</a> <a href="#statement">Statement</a> <a href="#credits">Credit</a>
<br><a name="synopsis"></a><br><b>Brief Synopsis</b><br>
blah blah blah
blah blah blah
blah blah blah
blah blah blah
<br>
<a href="#top">Top</a><br><br>
</div>
<div class="contact">
contact info
</div>
Without widths and heights in your image tags it's hard to see the layout of your page. But I think your divs are overlapping each other in some places? That could be the reason your links aren't working. There's a div on top of it.
When you 'stack' absolute positioned divs you have to use the z-index property to tell the browser the stacking order. Divs with links should be on top.
.cola {
z-index:1;
}
.text {
z-index:10;
}
Also, the order of your links rules is wrong. Should be
a:link
a:visited
a:hover
a:active
Still no scrollbar problems..