Hey, Boxtorrents , your site’s broken (css)
Saturday, August 30th, 2008To boxtorrents.com , and everyone else who thinks css divs for your Right Bar Ad Content is so great…
From a cross-browser standpoint, your website is broken. Here’s what it looks like:
Here’s a simple solution: put your “float right” ad “iframe” (and div) OUTSIDE your main body “div”!!
EXAMPLE:
<body>
<div style="float: right;margin-top: 148px;">
<!--<script type="text/javascript" src="http://adserving.cpxinteractive.com/st?ad_type=ad&ad_size=120x600§ion=333953&pop_nofreqcap=1"></script>-->
<script type="text/Javascript">
// <![CDATA[
$(document).ready(function() {
document.getElementById("skyscraper").src="http://adserving.cpxinteractive.com/st?ad_type=iframe&ad_size=120x600§ion=333953&pop_nofreqcap=1";
});
// ]]>
</script>
<iframe id="skyscraper" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" style="width: 120px; height: 600px;"></iframe>
<div style="color: rgb(180, 180, 180);text-align: center;">-ADVERTISEMENT-</div> </div>
<div style="width: 1104px;margin: auto;">
&bnsp;