Zen Follower
- Join Date:
- Mar 2011
- Posts:
- 386
- Plugin Contributions:
- 0
adding corner ssl trust logo screws up width of site
i currently have my site set up at 960px centered.
i added the corner trust logo from comodo. what happens is NOW that it is added, the screen is scrollable left to right because it screws up the store width of 960px.
here is the code added.
<script language="javascript" type="text/javascript"> //<![CDATA[ var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" : "http://www.trustlogo.com/trustlogo/javascript/cot.js"; document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>'); //]]> </script>in html_header.php
<a href="http://www.instantssl.com" id="comodoTL">2048 Bit SSL Certificate</a>
<script language="JavaScript" type="text/javascript"> COT("https://www.mydomain.com/images/cot_small.gif", "SC2", "none"); </script>in tpl_main_page.php
here is the css shown in firebug
- html {
background: url("http://www.trustlogo.com/images/cot_bgf0.gif") repeat fixed right bottom transparent;
}
#cot_tl_fixed {
bottom: 0;
position: fixed;
right: 0;
}
#cot_tl_pop {
background-color: transparent;
bottom: 20px;
height: 194px;
overflow: hidden;
position: fixed;
right: 120px;
visibility: hidden;
width: 244px;
z-index: 100;
}
tlfixed is for the corner logo, tlpop is for when you click on it and a pop up shows which i am not concerned about.
attached is a screen sshot
you can see now there is a scroll bar since the screen is widened now.