Hello Again, I seem to have one last problem with this code.
I have the two almost identical scroll boxes working fine except for the horizontal scroll bar in the first box. The horizontal bar should not be showing at all but it does in the first box only.
The problem is not with the coding because I can switch boxes and it is always the first box only that is the problem regardless of what is presented in it.
I think it is probably a small </div> error or general formatting error that I am not seeing because I am new to coding. You can assume the PHP and Includes are correct.
You can see the problem at: <SNIP> . My current CSS and HTML are below if that's more convenient.
Can someone see what mistake I am making?
Thanks a lot,
Bob
__
div.scroll {
height: 175px;
width: 145px;
overflow: auto;
text-align: left;
border: 2px solid #999;
background-color: #ccc;
padding: 0 0px 0px 0;
margin: 0px auto 0px auto;
}
.centerall{
text-align:center;
font-size: 120%;
font-weight: bold;
padding: 0px 0px 0px 0px;
margin: 20px auto 5px auto;
float: center;
}
.centermedium{
text-align:center;
font-size: 85%;
font-weight: normal;
padding: 5px 0px 5px 0px
}
__
<!-- RSS Feed Reader Usability In The News -->
<?php unset($arnews);?>
<div class="centerall"><a href="<SNIP>" title="Title">Text</a></div>
<div class="centermedium">Latest Headlines
</div>
<div class="scroll">
<?php
include ("<SNIP>");
?>
</div>
<div class="centermedium"><a href="<SNIP>"><img src="images/site/rss.gif" alt="Text"></a></div>
<!-- /RSS Feed Reader -->
<!-- /RSS Feed Reader -->
<?php unset($arnews);?>
<div class="centerall"><a href="<SNIP>" title="Title">Text</a></div>
<div class="centermedium">Latest Headlines
</div>
<div class="scroll">
<?php
include ("<SNIP>");
?>
</div>
<div class="centermedium"><a href="<SNIP>" title="Title"><img src="images/site/rss.gif" alt="RSS Feed"></a>
</div>
</div>
<!-- /RSS Feed Reader -->
[edited by: BlobFisk at 9:48 am (utc) on Aug. 2, 2005]
[edit reason] No specifics! See TOS [webmasterworld.com] [/edit]