Hello,
I read on the forum that it is better to use relative positioning of images instead of absolute, so as to accommodate various browser resolutions. I had a shopping cart image in my header that I had positioned with absolute:
Code:
#cart_img {
position: absolute;
right: 115px;
top: 44px;
}
I changed the position to relative, and adjusted my horizontal/vertical positions as necessary, on this and a couple other images I had positioned in this manner. Things looked fine - or so I thought...
I had a couple more tweaks I wanted to do before submitting my site for review. I installed Comodo Trust Logo Contribution, but then noticed that my site, which previously fit nicely within the browser, now had a horizontal scroll bar. The site still loads correctly, but bumps the empty site background out far to the right, enough so that the scroll bar kicks in.
I completely removed this contribution, but any subsequent attempts of positioning my cart image results in the scroll bar, whether I use relative or my old absolute positioning controls.
The Comodo Trust Logo Contribution contribution used the following javascript code in a php file, which was located in my template's jscript folder:
Code:
<script language="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>
Anything in the above code that could have fouled something up? The contribution does not seem to be supported any longer, or I would have posted it there.
More importantly, what can I do to get my image back to the right side of my header area, without invoking the horizontal scroll bar?
Thanks,
DBB1
Bookmarks