Forum Moderators: not2easy
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myFlashContent", "9.0.0");
</script>
<style type="text/css">
#content {
margin: 0 auto;
}
#mainflash {
z-index: 1;
position: relative;
width: 1000px;
margin: 0 auto;
}
</style>
</head>
<body>
<div id="content">
<div id="mainflash">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%
2Fwww.facebook.com;layout=box_count&show_faces=false&width=150
&action=like&font&colorscheme=light&height=65"
scrolling="no" frameborder="0" style="right: 15px; top: 100px; width:
75px; height: 65px; z-index: 999; position: absolute; overflow:
hidden;" allowtransparency=;"false" ; border:none; overflow:hidden;></iframe>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="1000" height="600" id="myFlashContent">
<param name="movie" value="myswf.swf" />
<param name="wmode" value="opaque" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="myswf.swf" width="1000" height="600">
<param name="wmode" value="transparent" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</div>
>
</body>
</html> [edited by: alt131 at 11:49 am (utc) on May 19, 2011]
[edit reason] Side Scroll [/edit]
Some browsers have been known to eat the overflowing text. (Personal experience.)Hmmmmmm ... Note to self: Feed browsers twice daily.
Being serious, the issue of elements being "pulled" off screen is a result of conforming browsers behaving as directed. Definitely not an issue limited to a particular type.
I mean that if you have a negative margin as part of the definition of a text area some browsers will "white-out" the part that's on the wrong side of its margin. Even if the whole thing fits nicely on the screen. ... may have been an MSIE 6 issueInteresting issue Lucy, but note the example was specific to negative margins plus absolute positioning.