Note that there are some explanatory texts on larger screens.

plurals
  1. POLarge space at bottom of webpage
    primarykey
    data
    text
    <p>i've made my first ever webpage for a college project and when it renders there is a huge space at the bottom of the page, from reading elsewhere i've determined this is because of the huge padding i've been using with all my elements, but is there a quick fix to remove this space? Or even a way to re-write it and have it all in the same place, thanks!</p> <p>The code is as follows:</p> <pre><code> &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;style&gt; body {background-image:url('bckground.png');} p.menutext { padding-top:250px; text-align:center; position:relative;left:-55px; white-space:nowrap; } p.jscript { padding-left:250px; position:relative;top:-25px; } p.topproducts { padding-left:222px; position:relative;top:-120px; } p.arrowborder { position:relative;top:-640px; padding-left:175px; } p.deckthumb1 { padding-left:210px; position:relative;top:-699px; } p.deckthumb2 { padding-left:408px; position:relative;top:-970px; } p.deckthumb3 { padding-left:605px; position:relative;top:-1243px; } p.deckthumb4 { padding-left:800px; position:relative;top:-1516px; } p.info {padding-left:300px; position:relative;top:-1500px; } &lt;/style&gt; &lt;script language="JavaScript1.1"&gt; &lt;!-- var slideimages=new Array() var slidelinks=new Array() function slideshowimages(){ for (i=0;i&lt;slideshowimages.arguments.length;i++){ slideimages[i]=new Image() slideimages[i].src=slideshowimages.arguments[i] } } function slideshowlinks(){ for (i=0;i&lt;slideshowlinks.arguments.length;i++) slidelinks[i]=slideshowlinks.arguments[i] } function gotoshow(){ if (!window.winslide||winslide.closed) winslide=window.open(slidelinks[whichlink]) else winslide.location=slidelinks[whichlink] winslide.focus() } //--&gt; &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="mainside"&gt; &lt;p class="menutext"&gt; &lt;a href="Index.html"&gt;&lt;img src="homebutton.png" border="0" alt="" width="80 height="50"/&gt;&lt;/a&gt;&lt;a href="skateboards.html"&gt;&lt;img src="skateboardsbutton.png"border="0" alt="" width="222 height="65"/&gt;&lt;/a&gt;&lt;a href="accessories.html"&gt;&lt;img src="accessoriesbutton.png"border="0"alt=""width="215 height="40"/&gt;&lt;/a&gt;&lt;a href="help.html"&gt;&lt;img src="helpbutton.png"border="0" alt="" width="100"height="59"/&gt;&lt;/a&gt; &lt;/p&gt; &lt;/div&gt; &lt;p class="jscript"&gt; &lt;a href="javascript:gotoshow()"&gt;&lt;img src="food1.jpg" name="slide" border=0 width=800 height=450&gt;&lt;/a&gt; &lt;script&gt; &lt;!-- slideshowimages ("slideshow1.png","slideshow2.png","slideshow3.png","slideshow4.png") slideshowlinks ("skateboards.html","skateboards.html","skateboards.html","accessories.h tml") //configure the speed of the slideshow, in miliseconds var slideshowspeed=2000 var whichlink=0 var whichimage=0 function slideit(){ if (!document.images) return document.images.slide.src=slideimages[whichimage].src whichlink=whichimage if (whichimage&lt;slideimages.length-1) whichimage++ else whichimage=0 setTimeout("slideit()",slideshowspeed) } slideit() //--&gt; &lt;/script&gt; &lt;/p&gt; &lt;p class="topproducts"&gt; &lt;img src="topproducts.png" border="0" alt="" width="830 height="50"/&gt; &lt;/p&gt; &lt;p class="arrowborder"&gt; &lt;img src="arrowborder.png" border="0" alt="" width="880" height="490"/&gt; &lt;/p&gt; &lt;div id="mainside"&gt; &lt;p class="deckthumb1"&gt; &lt;img src="indexdeckthumb1.png" border="0" alt="" width="250" height="250"/&gt; &lt;/p&gt; &lt;p class="deckthumb2"&gt; &lt;img src="indexdeckthumb2.png" border="0" alt="" width="250" height="250"/&gt; &lt;/p&gt; &lt;p class="deckthumb3"&gt; &lt;img src="indexdeckthumb3.png" border="0" alt="" width="250" height="250"/&gt; &lt;/p&gt; &lt;p class="deckthumb4"&gt; &lt;img src="indexdeckthumb4.png" border="0" alt="" width="250" height="250"/&gt; &lt;/p&gt; &lt;/div&gt; &lt;div&gt; &lt;p class="info"&gt; &lt;font face="herculanum" color="#518087" size="3"&gt; CYCLONE &lt;br&gt; Cyclone Skateboards &lt;br&gt; Ltd. &lt;br&gt; 1 Holmes Street,&lt;br&gt; Oxford &lt;br&gt; Oxfordshire, England,&lt;br&gt; OX25 7PJ &lt;br&gt; &lt;/font&gt; &lt;/p&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload