The only solution I could think of would be to use a negative spread radius which should remove the scrollbar.
I've used the -moz-prefix which targets FF3.6 as FF4 uses the proper css property. I was unable to test FF4 but FF5 doesn't have the bug and will use the proper box shadow.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
html, body {
height:100%;
margin:0;
padding:0
}
.footer {
background:red url(header.gif);
height:76px;
color:#777;
padding:20px 0;
position:absolute;
top:10px;
left:0;
width:100%;
border-top:1px solid #fff;
z-index:999;
-webkit-box-shadow: 0 -5px 7px #000;
-moz-box-shadow: 0 -5px 7px -7px #000;
box-shadow: 0 -5px 7px #000;
}
</style>
</head>
<body>
<div class="footer"> test </div>
</body>
</html>
Of course that changes the look of the shadow so you are stuck with the lesser of two evils.
Bookmarks