Making webpages
There are many ways to make webpages. You can make a page, like you start writing a document in Open Office or
Koffice. The word processor will add whitespace where required to make a nicely formatted printed page. Do the
same with an HTML page and you're in for a surprise: the webserver will ignore spaces and linebreaks. You end
up with a flat text that is jammed against the sides of the viewframe. Not pretty to read.
A first improvement is to use tables. Inside a table, there is the parameter "cellpadding" which defines how many pixels of white space there must be between the content of the table cell (text, pictures) and the actual wall of the cell. This makes reading a lot easier on your eyes. At least, for me.
One step further is the 'I-frame'. This is a complex table (in many cases) consisting of
And there is CSS (since HTML 4) which let you define a padding and a margin and a box and a lot more than you care to know. Still, with some minor CSS code you can do a lot. These pages are being converted from Table based to CSS based. CSS just looks better (when used sensibly) although not all is possible. Here is part of my CSS file:
body { font-family : sans-serif;
color : black;
background-color : white;
padding : 8px;
}
red { color : red;
font-weight : bold; }
li { padding-bottom : 5px; }
pre { font-family : monospace;
font-weight : bold;
color : blue;
background-color : #FFFFE0;
padding-left : 25px;
}
If you skip the frames, you need to litter your pages with '<br clear="all">' or else you end up in a
big mess. This br command is illegal but it is the only one that works ALWAYS and is easy on the mind.
In my opinion the best method is to use frames. A frame is a set of webpages, each in it's own tiled viewscreen. Just look at the webpage on your screen: THIS is a framed webpage. The frame based webpage has the following characteristics:
Constructing this frameset
The screen you are watching now, is made with the following files:
<!doctype html>
<html lang="en">
<head>
<meta charset = "utf-8">
<title>Fruttenboel MAIN</title>
</head>
<frameset rows = "60, *" frameborder = "0">
<frame src = "maintop.html" scrolling = "no" noresize="noresize">
<frameset cols = "*, 16%" frameborder = "0">
<frame src = "main.html" name = "main" marginheight = "0" marginwidth = "0">
<frame src = "maincontent.html" name = "sidebar">
</frameset>
</frameset>
</html>
As you can see, there are two nested framesets. The first one splits the screen in two horizontal sections
(rows). The top row is 60 pixels high and the second row may use the remaining pixels.
<!doctype html>
<html lang="en">
<head>
<meta charset = 'utf-8'>
<meta name = 'author' content = 'Jan Verhoeven'>
<meta name = 'generator' content = 'Jan, Jed and some common sense'>
<title>TOP main</title>
<style type="text/css">
body {
color : white;
background-color : black;
padding : 0px;
margin : 0px;
font-weight : bold;
font-size : 150%;
font-family : monospace;
}
</style>
</head>
<body>
<table cellspacing="3" cellpadding="3" width="100%" height="45">
<tr>
<td align="center">
Welcome to F R U T T E N B O E L mainpage.
</td>
<td width="16%">
<span class="center">
<a href="http://www.slackware.com" target="_blank">
<img src="etc/SWyellow.jpg">
</a>
</span>
</td>
</tr>
</table>
</body>
</html>
This is just plain HTML with some CSS and you probably will be familiar with it by now. You need to keep in
mind that this frame is only 60 pixels high so don't make your letters too tall and don't use more than one
or two lines of text. Some experiments will be required...
<!doctype html>
<html lang="en">
<head>
<meta charset = "utf-8">
<meta name="Author" content="Jan Verhoeven">
<title>Navigator MAIN</title>
<link type="text/css" rel="stylesheet" href="frutt.css">
</head>
<body style = "font-family : monospace;">
<p class="navihead">Navigator:</p>
<p>
# <a href="index.html" target="_top">Main page</a>
<br>
o <a href="filosof.html" target="main">Philosophy</a>
</p>
<p class="navihead"># Subjects:</p>
<p>
o <a href="EEE/index.html" target="_top">Asus EEE</a>
<br>
o <a href="Murus/index.html" target="_top">Murus</a>
<br>
o <a href="various/index.html" target="_top">Various</a>
<p>
<p>
# <a href="http://www.verhoeven272.nl" target="_blank">Personal site</a>
</p>
<p class="center"><img src="dpinguin.gif"></p>
</body>
</html>
I removed major sections from this file. If you need to study my navigator frame, just issue a
'wget http://fruttenboel.verhoeven272.nl/maincontent.html'
command from within a command shell. If you are a sponsor for Bill gates you just ran out of luck. :o)
The way to read this file:
The (dis)advantages of frames
Frames have some very strong advantages:
And also some rather annoying disadvantages:
I 'solved' this problem for years by putting a clickable link in each content frame so that the full frameset would be reloaded, thereby throwing away the page you were visiting at that moment. But this is also not compliant with the motto...
The FrameStomper advantages
Some advantages of using the Frame Stomper (or Google Buster) are:
FrameStomper: the Google stomper
So I invented the Google Stomper. But since Google is just one search engine and they have patented their name, I changed the name to FrameStomper and hen once more to GoogleBuster. Try it. Go to a search engine and find one of these pages. Then load it. You will not get a single marooned frame anymore. You get the full set and you also get the file you wanted. The Frame Stomper does this by building a custom index.html file which is loaded with a target="_top". Below is an example of the FrameStomper:
<!doctype html>
<html lang="en">
<head>
<script>
<!--
if (parent.location.href == self.location.href)
{ window.location.href =
'http://verhoeven272.nl/cgi-bin/FS?fruttenboel&Fruttenboel+main&maintop&framestomp&maincontent'
}
// -->
</script>
<meta charset = 'utf-8'>
<meta name = 'author' content = 'Jan Verhoeven'>
<meta name = 'generator' content = 'Jan, Jed and common sense'>
<meta name="Description" content="Benefits of the framestomper">
<meta name="Keywords" content="google,frame,framestomper,altavista,search,engine">
<title>The Google Buster</title>
<link type="text/css" rel="stylesheet" href="frutt.css">
</head>
FrameStomper: the effect
On the left you see the effect of using the framestomper. I installed the stomper early April. And that's when
the webserver started to serve more data. This partly caused by the Stomper itself: three to four files are
served now, even when just one file is requested. This was the effect visible until April 15. Then, the other
effect kicked in.
The main reason the statistics go up so incredibly is the fact that people requesting just one page, are confronted with a full website: content, header and navigator are loaded as one unit. And since the content on my pages is above average, people also want to sample other pages.
So the Frame Stomper will stomp out the search engines and present full content to all visitors. Thereby
increasing the visibility of your site.
The column for May is not completed yet (as can be seen below, in the datefield) so you need to multiply it's
length with a factor 1.2 (approximately).
Page created on 24 April 2006 and
Page equipped with GoogleBuster technology!