Click to See Complete Forum and Search --> : Page margin problem


jazzy1
05-03-2007, 10:11 AM
I have a page margin at the top of my web page (even though I have set the top page margin to 0)

this has been caused by some script I pasted into the head of the document to enable a custom scroll box.
no matter how hard I try I cant remove the gap (which appears between the top of the page and my layout table.

moving the script from the head renders it inactive . please help

the following is the offending script :


</SCRIPT>
<link href="tutorsty.css" rel="stylesheet" type="text/css" />
<link href="flexcrollstyles.css" rel="stylesheet" type="text/css" />
<script type='text/javascript' src="flexcroll.js"></script>
<script type='text/javascript'>
if (document.getElementById && document.getElementsByTagName) {
if (window.addEventListener) window.addEventListener('load', initScrollBars, false);
else if (window.attachEvent) window.attachEvent('onload', initScrollBars);
}

function initScrollBars() {
CSBfleXcroll('mycustomscroll');
CSBfleXcroll('mycustomscroll2');
}

//-->
</script>

jazzy1
05-04-2007, 06:04 AM
Hey I've figured it out, sorry its was an external css file causing the margin problem.