thedarkman said:
Okay, let's get this straight, I am NOT some sort of wind up merchant.
I use a 3 colour coding for my site which is overwhelmingly text. Many
such sites are just as prosaic, they are meant to be read, not adored.
We have established I am not using any sort of HTML, so I presume that
means I can omit the DOCTYPE.
Apparently we have all been too subtle for you. Your coding is so broken
that is does not conform to any version, you you feel breaking it
further by omitting a DOCTYPE is a solution?
BARONDOCTYPE would not work, I guess. As
I said, I don't want to use any sort of global template, but take this
short page. Whether or not you like the poem, the puns or neither, it
displays well. It's only with a really long page in Firefox or some
other minor browser that trouble develops.
No the correct answer is to fix your mistakes and make your markup more
valid, not break it more.
Without a global template, how can this code be improved? Probably in
a lot of ways in your universe, but how can the display be improved?
If you are content with 3 colours, I would suggest no way.
What is your aversion to a global "template" (external css file)? Afraid
is might actually fix your site and make it easier to maintain?
From all your posting it looks like you prefer to have all your poem
titles in red and italic, and you love to center everything. So instead
of peppering every page over and over with FONT, CENTER & I, & B
elements you could add just 1 line in each page's HEAD element
<link rel="stylesheet" type="text/css" href="poems.css">
and create a text file "poems.css":
/* start of stylesheet */
h1 { color: #ff0000; font-style: italic; text-align: center; }
p { color: #000000; font-weight: bold; text-align: center; }
/* end of stylesheet */
Now you have been told repeatedly that you are NOT closing elements that
REQUIRE closing tags like the FONT & B elements below:
<HTML><HEAD>
<TITLE>ODE FROM THE FRIESIAN CHURN: a poem by Alexander Baron</TITLE>
</HEAD>
<FONT COLOR=#FF0000>
<H1><i>Ode From The Friesian Churn</i></H1>
<FONT COLOR=#000000>
<b>
<p>My darling Buttercup, how fine though art,
<br>Your beauty so refined, your charm so rare,
<br>For though you're not renowned for being smart,
<br>In all Creation none can match your stare.
<p>You stand entranced in yonder clover field
<br>And gaze magnetically; I feel your pull,
<br>I try to draw away but I must yield
<br>And creep towards you, spellbound, like a bull.
<p>Your nose is big and black and always wet,
<br>Your grace reflects in every moo-ve you make,
<br>I always feel a morsel of regret
<br>And think of you when I eat beef, Miss Steak.
<p>The farmer treats you awfully, my pet,
<br>You're outside in most every kind of weather,
<br>But not to worry, I'll ask my Aunt Bet
<br>To knit a jersey to protect your leather.
<p>You'll wear that, but you'll never wear my ring
<br>Because we're worlds apart, but I'll be true,
<br>I'll never even think of marrying,
<br>And never have no udder love but moo.
<p>
[This was written for a punning competition. Sadly the judges didn't
like it as much as I did].
<p>
<A HREF="poetry.html"> Back To Poetry Index</A>
<p>
</HTML>
Now with the above stylesheet you would get DEPENDABLY what you wish:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"
http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>ODE FROM THE FRIESIAN CHURN: a poem by Alexander Baron</title>
<link rel="stylesheet" type="text/css" href="poems.css">
</head>
<body>
<h1>Ode From The Friesian Churn<h1>
<p>
My darling Buttercup, how fine though art,<br>
Your beauty so refined, your charm so rare,<br>
For though you're not renowned for being smart,<br>
In all Creation none can match your stare.
</p>
<p>
You stand entranced in yonder clover field<br>
And gaze magnetically; I feel your pull,<br>
I try to draw away but I must yield<br>
And creep towards you, spellbound, like a bull.
</p>
<p>
Your nose is big and black and always wet,<br>
Your grace reflects in every moo-ve you make,<br>
I always feel a morsel of regret<br>
And think of you when I eat beef, Miss Steak.
</p>
<p>
The farmer treats you awfully, my pet,<br>
You're outside in most every kind of weather,<br>
But not to worry, I'll ask my Aunt Bet<br>
To knit a jersey to protect your leather.
</p>
<p>
You'll wear that, but you'll never wear my ring<br>
Because we're worlds apart, but I'll be true,<br>
I'll never even think of marrying,<br>
And never have no udder love but moo.
</p>
<p>
[This was written for a punning competition. Sadly the judges didn't
like it as much as I did].
</p>
<div><a href="poetry.html"> Back To Poetry Index</a></div>
</body>
</html>
If you later decided you did not what those poem titles in italic but
maybe in small caps and blue not red than all you would have to do it
change ONE file, the stylesheet "poem.css"
/* start of stylesheet */
h1 { color: #0000ff; font-variant: small-caps; text-align: center; }
p { color: #000000; font-weight: bold; text-align: center; }
/* end of stylesheet */
That is it, just one file and ALL your poems on all your pages will now
have blue small caps titles without having to change each and every
document. For poems I might suggest where layout is so important with
spacing like this
A line to the left
but the next offset
maybe a bit here
and here
That you could just make your pages preserve the special spacing like
this:
<p class="freeform">
A line to the left
but the next offset
maybe a bit here
and here
</p>
and an one-liner in your stylesheet:
p.freeform { white-space: pre; }
Now if you cannot see the advantage then I would suggest that you should
go away, that you are either incapable or unwilling to do web design and
no one will be able to help you here.