Safari 2 and 3 shows vertical scrollbar when it should not

Joined
May 20, 2008
Messages
2
Reaction score
0
Points
1
Dear people,

I have the code below that works great for all browsers but Safari 2 & 3.

In Safari it is displayed a vertical scrollbar for the iframe, even when I am preventing it from the iframe code and from the css. How can I solve that? I do not want any scrollbars for the iframe.

Thanks a lot in advance!

Code:
<html>
<head>
 
<style type="text/css">
<!--
body {
background-image: url(background.jpg);
background-repeat: repeat-x;
margin-left: 0px;
margin-top: 0px;
text-align:center;
background-color: #212121;
}
#box { 
margin: 0 auto; 
width: 1045px;
height: 1100px;
}
 
#elementId {
   overflow: hidden;
 
   overflow-y: hidden;
}
-->
</style></head>
 
<body>
<iframe id="box" scrolling="no" src="page1045x1100.htm" frameborder="0" style="overflow: hidden;"></iframe>
</body>
</html>
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top