Jump to content

Ok Weird Porb I Never Had Before


TKW22
 Share

Recommended Posts

this is the first time i had this porb.but here goes my try at saying this.im getting a weird space at the top of my page example.

------ top ------weird space------then my code---

Link to comment
Share on other sites

Did you recently add an <h1> element or a <p> element to the top? Do any of the elements have a margin?Show the portion of code that refers to this specific place, otherwise I can only guess what's going on.

Link to comment
Share on other sites

show your code/page
heres an example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Untitled</title></head><body><table border="1" cellspacing="0" cellpadding="2" summary=""> <tr>  <td>1,1</td> </tr></table></body></html>

i cant show you the real code its for an exe converted to a defendant lang.

Link to comment
Share on other sites

theres nothing there to show what would give you the gap. whats the webpage?
it for an .exe . but for some reason my website started to do it.yes theres a lot of errors and im working on a new layout so it has no tables.
<html xmlns:ice="somelink"><head><meta content="2.0" name="update" /><meta content="somelink" name="copyright" /><title>some title</title><script type="text/javascript" src="somelink"></script><script type="text/javascript" src="somelink"></script><script src="somelink" type="text/javascript"></script><script src="somelink" type="text/javascript"></script><script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script><script src="somelink" type="text/javascript"></script><script src="somelink" type="text/javascript"></script><script src="somelink" type="text/javascript"></script><link rel="shortcut icon" type="image/x-icon" href="somelink" /><link rel="stylesheet" type="text/css" href="somelink" /><link href="somelink" rel="stylesheet" type="text/css"><link href="somelink" rel="stylesheet" type="text/css"><link href="somelink" rel="stylesheet" type="text/css"><link href="somelink" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="somelink" /><script type="text/javascript" src="somelink"></script><style type="text/css">.usercp {border-width:2px;float: right;border-style: dashed;width:100px;background-image:url(somelink);}.doob {float: left;width:100px;}</style><script type="text/javascript"><!--function MM_effectAppearFade(targetElement, duration, from, to, toggle){	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});}//--></script>        <script type="text/javascript">        function onSilverlightError(sender, args) {                    var appSource = "";            if (sender != null && sender != 0) {                appSource = sender.getHost().Source;            }             var errorType = args.ErrorType;            var iErrorCode = args.ErrorCode;                        var errMsg = "Unhandled Error in Silverlight 2 Application " +  appSource + "\n" ;            errMsg += "Code: "+ iErrorCode + "    \n";            errMsg += "Category: " + errorType + "       \n";            errMsg += "Message: " + args.ErrorMessage + "     \n";            if (errorType == "ParserError")            {                errMsg += "File: " + args.xamlFile + "     \n";                errMsg += "Line: " + args.lineNumber + "     \n";                errMsg += "Position: " + args.charPosition + "     \n";            }            else if (errorType == "RuntimeError")            {                           if (args.lineNumber != 0)                {                    errMsg += "Line: " + args.lineNumber + "     \n";                    errMsg += "Position: " +  args.charPosition + "     \n";                }                errMsg += "MethodName: " + args.methodName + "     \n";            }            throw new Error(errMsg);        }    </script></head><body><div id="loading" class="loading">Now Loading some domain pages...</div></center><div id="content"><div class="usercp"></div></script><div class="men" id="bgs"></div><center><table border="0" cellspacing="0" cellpadding="0" summary="" width="740"> <tr>  <td colspan="6" class="logo">    </td> </tr> <tr class="menu">  <td><ul id="MenuBar1" class="MenuBarHorizontal">    <li><a class="MenuBarItemSubmenu" href="#">Free BGs</a>      <ul>				<li onClick="MM_effectAppearFade('MenuBar1', 1000, 100, 0, false)"><a href="#"><img src="somelink" height="100" width="100" onClick="show(bg12)"/></a></li>        <li><font color="#ff0000">New:</font> <a href="#"><img src="somelink" height="65" width="100" onClick="show(bg15)"/></a></li> 				<li><a href="#"><img src="somelink" height="100" width="100" onClick="show(bg14)"/></a></li>        <li><a href="#"><img src="somelink" height="100" width="100" onClick="show(bg13)"/></a></li>        <li><a href="#"><img src="somelink" height="100" width="100" onClick="show(bg11)"/></a></li>        <li><a href="#"><img  src="somelink" height="100" width="100" onClick="show(bg10)"/></a></li>        <li><a href="#"><img  src="somelink" height="75" width="100" onClick="show(bg1)"/></a></li>     <li><a href="#" class="MenuBarItemSubmenu">More</a>       <ul>        <li><a href="#"><img  src="somelink" height="67" width="100" onClick="show(bg3)"/></a></li><li><a href="#"><img  src="somelink" height="75" width="100" onClick="show(bg4)"/></a></li>     <li><a href="#"><img  src="somelink" height="75" width="100" onClick="show(bg5)"/></a></li>              <li><a href="#"><img  src="somelink" height="100" width="100" onClick="show(bg6)"/></a></li>      <li><a href="#"><img src="somelink" height="100" width="100" onClick="show(bg7)"/></a></li>     <li><a href="#"><img src="somelink" height="100" width="100" onClick="show(bg8)"/></a></li>     <li><a href="#"><img src="somelink" height="100" width="100" onClick="show(bg9)"/></a></li>       </ul>     </li>      </ul>          </li>    <li><a class="MenuBarItemSubmenu" href="#">Forms</a>    <ul>    <li><a class="MenuBarItemSubmenu" href="#">main forum</a>    <ul>    <li><a href="somelink">Index</a></li>    <li><a href="somelink">Welcome</a></li>    <li><a href="somelink">Games</a></li>    <li><a href="somelink">Random</a></li>    </ul>    </li>    <li><a href="somelink">help</a></li>    </ul>    </li>    <li><a class="MenuBarItemSubmenu" href="#">Games</a>      <ul>        <li><a class="MenuBarItemSubmenu" href="#"><img src="somelink" alt="gta4">Gta4</a>          <ul>            <li><a href="somelink">Tips</a></li>            <li><a href="somelink">Cheats</a></li>          </ul>        </li>        <li><a href="#" class="MenuBarItemSubmenu"><img src="somelink" alt="cod4">Cod4</a>        <ul>            <li><a href="somelink">Tips</a></li>          </ul></li>        <li><a class="MenuBarItemSubmenu" href="#"><img src="somelink" alt="bfbc">BF:BC</a>        <ul>        <li><a href="somelink">sniper help</a></li>        <li><a href="somelink">sniper tips</a></li></ul>        </li>                <li><a class="MenuBarItemSubmenu" href="#"><img src="somelink" alt="TES4">Oblivion</a>        <ul>        <li><a href="somelink">coming soon</a></li>        </ul></li>                <li><a class="MenuBarItemSubmenu" href="#"><img src="somelink" alt="svr09"> Smackdown vs raw 09</a>        <ul>        <li><a href="somelink">Coming soon</a></li></ul></li>      </ul>    </li>    <li><a href="#" class="MenuBarItemSubmenu">main page</a>      <ul>        <li><a href="somelink">home</a></li>        <li><a href="somelink">Blog</a></li>      </ul>    </li>  </ul></td> </tr>  <tr>  <td colspan="6" class="main"><center>      <div class="bs">            </div>      <p><strong><font size="20" color="#FF0000">PLZ ues fire fox to use my site</font></strong>      </p>      <hr>			<p>			<!-- start of e3 -->			<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="somelink" codebase="somelink" width="396" height="290" name="e309" id="WFHost" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="somelink" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="somelink" quality="high" wmode="transparent" bgcolor="#ffffff" width="396" height="290" name="e309" id="WFHost" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="somelink" /></object>			<!-- end of e3 -->			<!-- start of sims3 -->			<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="somelink" /><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="somelink" width="400" height="300" id="sims3Countdown" align="middle"><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="somelink" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="somelink" quality="high" bgcolor="#FFFFFF" width="400" height="300" wmode="transparent" name="sims3Countdown" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="somelink"  FlashVars="somelink"/></embed><param name="FlashVars" value="somelink" /></object>			<!-- end of sims3 -->			</p><br />      <p><img src="somelink" width="420" height="300"></p>      <p> </p>  </center>           <p><br />      <center>        sorry but if this image is infornt of any link its being delayed.        <img src="somelink" height="20" width="20" /><br />		<div id='errorLocation' style="font-size: small;color: Gray;"></div><?php 		include_once 'somelink';		 ?>				      <p>program is now intering new inerface till then its not able to be downloaded</p>      <hr /> if you see this (<img  src="somelink" height="20" width="20" />) its being delayed till i get a ps3	<br /><a href="somelink"><img alt="gamesglitches " src="somelink" height="200" width="300" /></a>	<br /><br />im working on it so updates may come in very fast<br /><br />if you want the e-updates(get e-mail when updates happen go <a href="somelink">here</a>)<br /><a href="somelink"><img alt="logo" src="somelink" height="70" width="740" /></a><br /><br /><center>there's a bug in the menu for ie the bug dose not effect fire fox </center><br /><br /><br /><table width="742" border="0" cellspacing="0" cellpadding="0">  <tr>    <td width="368">    <div id="CollapsiblePanel1" class="CollapsiblePanel">  <div class="CollapsiblePanelTab" tabindex="0">News</div>  <div class="CollapsiblePanelContent">   <p>new layout is coming soon</p>    <p>this is not the date of the new lay out: Wednesday, March 04, 2009 2:50 PM</p>  </div>   <div id="CollapsiblePanel2" class="CollapsiblePanel">    <div class="CollapsiblePanelTab" tabindex="0">erorr state</div>    <div class="CollapsiblePanelContent">      <p>none</p>  </div>  </div></td>    <td width="368"><div id="Accordion1" class="Accordion" tabindex="0">      <div class="AccordionPanel">        <div class="AccordionPanelTab">Update 2.0[<font color="#ff0033">b0.1</font>]</div>        <div class="AccordionPanelContent">          <ol>            <li>done added a login</li>						<li>done changed all pages to php</li>						<li>done added loding... js to site</li>						<li>bug fixes</li>						<li>added ?{miniforum}</li>						<li>done user cantrol panel</li> 						<li>removed dock</li>						<li>removed hi form logo in the reg page</li>						<li>added points system</li>						<li>fixed ?{miniforum}</li>          </ol>        </div>      </div>      <div class="AccordionPanel">        <div class="AccordionPanelTab" ice:repeating="true">upcoming</div>        <div class="AccordionPanelContent">          <p>no new news for now</p>        </div>      </div>        <div class="AccordionPanel">        <div class="AccordionPanelTab" ice:repeating="true">Date updated dated last</div>        <div class="AccordionPanelContent">          <p>last up date was at             [3/19/2009 7:44 PM]</p>          <p>changed all pages to php, added ?{miniforum}, and added login, removed hi in the logon in reg page, fixed ?{miniforum}, added points system</p>        </div>      </div>    </div>		</td>  </tr>		<tr>	<td colspan="5">	who's online	</tr>	</td>	<tr>	<td colspan="5">	<center>	</center>	</td>	</tr></table></center><div class="bs"></div><center><div class="copyright"><font color="#000000">copyright © 2009 <img src="somelink" height="18" width="34" /> team || games ratings or done by the team</font></div></center><center><div class="team"><a href="somelink"><font color="#00ff00">Ratings</font></a> <font color="#ffffff">|</font> <a href="somelink"><font color="#00ff00">e-updates</font></a></div></center></center></td> </tr></table><script type="text/javascript"><!--var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false});var Accordion1 = new Spry.Widget.Accordion("Accordion1");var CollapsiblePanel2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel2", {contentIsOpen:false});var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"somelink", imgRight:"somelink"});//--></script></div></body></html>

yes i know its a mess sorry for that.i got to fix those spelling errors lol. i type to fast.

Edited by TKW22
Link to comment
Share on other sites

You have an errant </script> tag after the third div, and what happens to the Loading div once it's loaded? If it is still there but with no real content (perhaps just a trailing space) it might stay open, causing a gap.

Link to comment
Share on other sites

You have an errant </script> tag after the third div, and what happens to the Loading div once it's loaded? If it is still there but with no real content (perhaps just a trailing space) it might stay open, causing a gap.
there is content there i just didn't post itheres what goes inside the <div id="usercp"><?php include_once 'somelink'; ?></div>and in the badly wright css its a float object.never mind i see what your talking about but it still has a gap. Edited by TKW22
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...