Spaces at top of page.. :(

windows

Guest
I am having some problems with my website.. i am getting a space at the top of the page that i just can not get to go away and i need it to go away... i designed this page for a contest for my school.. and i cant have too many errors.. so if you know how to get rid of it please help me.. the link is <!-- w --><a class="postlink" href="http://www.wilburtontsa.tk">www.wilburtontsa.tk</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.wilburtontsa.tk">http://www.wilburtontsa.tk</a><!-- m -->) Take a look at the Source and see if you can find the errors.. also if ya want to.. leave some comments about my site.. i know this aint the right place to do it.. but if you will.. Thank you for the help!!<!--content-->It's because this code<br />
<br />
<script language="JavaScript"><br />
<!--<br />
// Cache-busting LUBID bug.<br />
var ran = Math.round(Math.random() * 899999) + 100000;<br />
var lubid_string = "<img src=http://www.htmlforums.com/archive/index.php/\"http://hb.lycos.com/header?VID=6105&LHIG=1&ord=" + ran + "\" height=\"1\" width=\"1\">";<br />
document.write(lubid_string);<br />
//--><br />
</script><br />
<br />
remove this code and the space will be gone!<br />
I am not sure if this code is essential to you, but that's the reason that causes it!:D<br />
<br />
---<br />
<br />
PS: I love your design, it's awesome and very professional!:D<!--content-->Well.. thx for the reply man.. but i took that code out and it still gave me the space... anyhting alse it might be.. i took it out in my editor.. but i previewed and still a white space :(<!--content-->Are these doing anything special? DIV is a block element and may be causing your space, especially an empty div...<br />
<br />
<br />
<STYLE TYPE="text/css"><br />
<!--<br />
#dek {POSITION:absolute;VISIBILITY:hidden;Z-INDEX:200;}<br />
//--><br />
</STYLE><br />
<br />
<br />
Then further down...<br />
<br />
<br />
<DIV ID="dek"></DIV><!--content-->The Frameset [code (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.wilburtontsa.tk%2F&charset=iso-8859-1+%28Western+Europe%29&doctype=HTML+4.01+Frameset&ss=1&outline=1&sp=1&verbose=1">http://validator.w3.org/check?uri=http% ... &verbose=1</a><!-- m -->)] is OK, but you need to add type="text/javascript" to the <script> tag and get that <noframes> tag in the right place.<br />
<br />
<br />
The main page has quite a lot of [errors (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.angelfire.com%2Fab7%2Fcozmanok%2FWILBURTONTSA%2Fhome.html&doctype=HTML+4.01+Transitional&charset=iso-8859-1+%28Western+Europe%29&ss=1&outline=1&sp=1&verbose=1">http://validator.w3.org/check?uri=http% ... &verbose=1</a><!-- m -->)] most of which are very easy to fix. I have mentioned fixes for most of these several times in the last week.<br />
<br />
If you need any help understanding/fixing things, then just post again in this thread.<!--content-->
 
Back
Top