I have a long table that has a width of 140%. The header I've added only stretches across the window but does not cover the last few items on the right-hand side of the table. If I (horizontal) scroll to the right, the header does not scroll with the page. I'm sure this can be done but I'm not sure how.
if ($va == '1') { echo '<div class="myFloatBar" align="center"><strong>Viewing Location</strong></div>'; }
and here's the CSS:
.myFloatBar{
bottom:0;
left:0;
width:100%;
position:fixed;
background-color:#0099ff;
color: #FFFFFF;
height: 20px;
font-size: 15px;
}
How do I get the bar to be the width of the table AND scroll horizontally?