Font size problem

R

Robert Baer

How can i fix this to get rid of the W3C complaint, but still have
control of that font size (line 61 in code having 77 lines)?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- does NOT validate; bitches on use of size=6 and face="Arial"
together -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<style type="text/css" media="all">
</style>
<meta name="copyright"
content="Copyright (C) 2007 Petro-Gas LiftTech LLC All rights reserved.">
<meta http-equiv="description"
content="Customer-oriented manufacturer &amp; supplier of low pressure
gas well dewatering lifters." >
<meta http-equiv="keywords" content="lifter, pump, dewater, de-water,
marginal, marginal well, marginal oil well, marginal gas well, low
pressure gas well, dewatering, de-watering, efficent, economical, green" >
<title>Petro-Gas LiftTech LLC</title>

<style type="text/css">
body {
background-color: #0093DD; <!-- light blue -->
margin: 0px;
}
body,table,tr,td,div,span,p,form {
font-family: sans-serif;
font-size: 9pt;
}
.blockHeader { <!-- make border zero size -->
width: 100%;
margin-top: 0px;
border-bottom: solid 0px #1F1A17; <!-- black -->
}
.ourTitle {
color: #A6D9F6; <!-- very light blue -->
font-size: 8pt;
font-family: arial;
}
.navHeader {
color: #ffDB7D; <!-- moon green -->
font-size: 8pt;
font-family: verdana,arial,sans-serif;
}
.navHeader a {
color: #FFFFFF; <!-- white -->
font-size: 8pt;
font-family: verdana,arial,sans-serif;
}
.navHeader a:hover {
color: #B9DB7D; <!-- moon green -->
}
</style>
</head>
<body>
<center>
<table border="0" class="ourTitle">
<tr>
<td valign="top" align="center" width="120">
<a href="http://www.petro-gaslifttechllc.com/" target="_parent" >
<img src="PGLtechT.gif" height="84" width="191" border="0" alt="" >
</a>
</td>
<td valign="top" align="center"> <!-- make
border zero size -->
<table cellpadding="0" cellspacing="0" width="550" border="0"
style="margin-bottom: 0px;" class="ourTitle">
<tr>
<font face="Arial" size=6>Petro-Gas Lift Tech LLC</font>
</tr>
</table> <BR><BR>
<div class="navHeader">
<a href="AboutUs.htm/" target="right">Home</a> |
<a href="AboutUs.htm" target="right">About Petro-Gas Lift Tech</a> |
<a href="Products.htm" target="right">Products</a> |
<a href="Clients.htm" target="right">Clients</a> |
<a href="Partners.htm" target="right">Partners</a> |
<a href="mailto:eek:[email protected]">Contact Us</a>
</div>
</td>
</tr>
</table>
</center>
</body>
</html>
 
M

mrcakey

Robert Baer said:
How can i fix this to get rid of the W3C complaint, but still have
control of that font size (line 61 in code having 77 lines)?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- does NOT validate; bitches on use of size=6 and face="Arial"

It doesn't validate because in your nested table (naughty, naughty) you've
added text directly to the table row element. You need to enclose it in a
<td> or <th> tag pair. Or preferrably switch to a strict doctype and do it
properly.

+mrcakey
 
R

Rob Waaijenberg

Robert Baer schreef:
How can i fix this to get rid of the W3C complaint, but still have
control of that font size (line 61 in code having 77 lines)?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- does NOT validate; bitches on use of size=6 and face="Arial"
together -->

[snipped html code]

Didn't I ask you just a couple of days ago to provide links to online
pages instead of posting html-code.
And didn't I explain that it helps us helping you?
Because when we visit the online page we get to see the same things you see?

Now you complain about W3C "bitching on use of size=6 and face="Arial"
> together".
But that is not what the complaint is at all. Because in writing your
post you misrepresented the actual W3C-statement.

The actual complaint is
"The mentioned element is not allowed to appear in the context in which
you've placed it; the other mentioned elements are the only ones that
are both allowed there and can contain the element mentioned. This might
mean that you need a containing element, or possibly that you've
forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a
block-level element (such as "<p>" or "<table>") inside an inline
element (such as "<a>", "<span>", or "<font>")."


The validator is trying to guess what you did. And in doing that, come
up with suggestions.


There are a couple of things you did wrong:
- you've got a <tr></tr> without any cells
and
- you forgot to use a <p>-paragraph in the cell (that you don't have)
- You used <font ....> wihtout having an element that it applies to.
 
R

rf

How can i fix this to get rid of the W3C complaint, but still have
control of that font size

Why are you trying to specify (read *dictate*) font size?

What is wrong with the font size your viewer has chosen for herself?
 
B

Beauregard T. Shagnasty

Robert said:
How can i fix this to get rid of the W3C complaint, but still have
control of that font size (line 61 in code having 77 lines)? ....
<style type="text/css">
body {
background-color: #0093DD; <!-- light blue -->

Whoa, big fella! What are those HTML comments doing in your CSS? Did
you try at all to validate this page, both HTML and CSS?

background-color: #0093DD; /* light blue */

...is a correct CSS comment. With such errors, the browser is free to
either try to correct, or to ignore your CSS.

Read this before you proceed further:
http://k75s.home.att.net/fontsize.html
 
R

Robert Baer

mrcakey said:
It doesn't validate because in your nested table (naughty, naughty) you've
added text directly to the table row element. You need to enclose it in a
<td> or <th> tag pair. Or preferrably switch to a strict doctype and do it
properly.

+mrcakey
I think i tried that with no difference.
 
R

Robert Baer

Rob said:
Robert Baer schreef:
How can i fix this to get rid of the W3C complaint, but still have
control of that font size (line 61 in code having 77 lines)?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- does NOT validate; bitches on use of size=6 and face="Arial"
together -->


[snipped html code]

Didn't I ask you just a couple of days ago to provide links to online
pages instead of posting html-code.
And didn't I explain that it helps us helping you?
Because when we visit the online page we get to see the same things you
see?

Now you complain about W3C "bitching on use of size=6 and face="Arial"
together".
But that is not what the complaint is at all. Because in writing your
post you misrepresented the actual W3C-statement.

The actual complaint is
"The mentioned element is not allowed to appear in the context in which
you've placed it; the other mentioned elements are the only ones that
are both allowed there and can contain the element mentioned. This might
mean that you need a containing element, or possibly that you've
forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a
block-level element (such as "<p>" or "<table>") inside an inline
element (such as "<a>", "<span>", or "<font>")."


The validator is trying to guess what you did. And in doing that, come
up with suggestions.


There are a couple of things you did wrong:
- you've got a <tr></tr> without any cells
and
- you forgot to use a <p>-paragraph in the cell (that you don't have)
- You used <font ....> wihtout having an element that it applies to.
To post this stuff would mean i must use a website, which i ain't got.
I do not understand any of the items you mentioned, because i do not
understand how this stuff works.
How does one find a "coder" that can do this stuff without a month
(or so) delay from input to output?
 
R

Robert Baer

rf said:
Why are you trying to specify (read *dictate*) font size?

What is wrong with the font size your viewer has chosen for herself?
If you want a page to look a certain way, i think you need to specify
what you want it to look like...not have someone else fiddle with it.
....and i have yet to see any site that allows such foolishments.
 
R

Robert Baer

Beauregard said:
Robert Baer wrote:




Whoa, big fella! What are those HTML comments doing in your CSS? Did
you try at all to validate this page, both HTML and CSS?

background-color: #0093DD; /* light blue */

..is a correct CSS comment. With such errors, the browser is free to
either try to correct, or to ignore your CSS.

Read this before you proceed further:
http://k75s.home.att.net/fontsize.html
I had no idea that comments are done differently in different areas
like this.
I suppose that there may be hundreds of different areas, each with
their own quirks and zero standardization.
Anybody for a left-handed Wentworth screw?
Or how about a screw with concentric 1/4-20 threads ("zero" handed),
and a matching nut (have both)?
 
D

dorayme

Robert Baer said:
If you want a page to look a certain way, i think you need to specify
what you want it to look like...not have someone else fiddle with it.
...and i have yet to see any site that allows such foolishments.

<http://members.optushome.com.au/droovies/binHassad/armyFork.html>

allows for such foolishness, as you can see by altering the
font-size in your View menu or by pressing alt together with the
plus key (or Command and the Plus key on a Mac for many
browsers).

So do many pages and sites. And anyway, you cannot stop people
doing this sort of thing to suit themselves.
 
A

Andy Dingley

To post this stuff would mean i must use a website, which i ain't got.

Then get one.

Or else a solution you ain't got.

It simply isn't credible to say "I can't get webspace", especially not
when the page is clearly for some company in a high-ticket business.
Most of us here have children or even pets who've got their own web
space by now.
How does one find a "coder" that can do this stuff without a month
(or so) delay from input to output?

By allowing the coder to work in an efficient manner.

Pay me enough, and I'll work in poor conditions. Give me an interesting
problem and I'll work on it anywhere. Ask me to explain uninteresting
beginners' problems for free, and I might do it, if I don't have to work
too hard.
 
B

Beauregard T. Shagnasty

Robert said:
I had no idea that comments are done differently in different areas
like this. I suppose that there may be hundreds of different areas,
each with their own quirks and zero standardization.

Quirks, maybe. Non-standard, no. There are standards.

Perhaps you should start here?
http://htmldog.com/
Anybody for a left-handed Wentworth screw? Or how about a screw with
concentric 1/4-20 threads ("zero" handed), and a matching nut (have
both)?

I'll trade you a Whitworth screwdriver for one of those.
 
B

Beauregard T. Shagnasty

Robert Baer wrote:

[posting code:]
To post this stuff would mean i must use a website, which i ain't got.

http://www.google.com/search?hl=en&q=free+web+site+hosting
"Results 1 - 10 of about 158,000,000 for free web site hosting. (0.08
seconds) "

Your ISP might also provide free web space. Two of mine do.

Does beg the question, though. Why are you writing web pages if you have
no web site?
I do not understand any of the items you mentioned, because i do not
understand how this stuff works.

Time for school: http://htmldog.com/
How does one find a "coder" that can do this stuff without a month (or
so) delay from input to output?

Ask a high-schooler in your neighborhood?

You might also want to upgrade your ancient Netscape
(Gecko/20040804 Netscape/7.2)
with the latest iteration, now called SeaMonkey.
http://www.mozilla.org/projects/seamonkey/
 
N

Neredbojias

Well bust mah britches and call me cheeky, on Sat, 20 Oct 2007 07:08:18 GMT
Robert Baer scribed:
I had no idea that comments are done differently in different areas
like this.
I suppose that there may be hundreds of different areas, each with
their own quirks and zero standardization.
Anybody for a left-handed Wentworth screw?
Or how about a screw with concentric 1/4-20 threads ("zero" handed),
and a matching nut (have both)?

Quit bragging. I have both nuts, too, and they are more than a match for
any screw which comes along.

--
Neredbojias

The 16th century French satirical writer François Rabelais in his series of
novels Gargantua and Pantagruel, discussing the various ways of cleansing
oneself at the toilet, wrote that: "He who uses paper on his filthy bum,
will always find his ballocks lined with scum"
 
J

Jonathan N. Little

Robert said:
I think i tried that with no difference.

What? Just add the strict doctype without fixing the markup errors, of
course there will be no difference.
 
C

Chris F.A. Johnson

Robert Baer wrote: ....

I'll trade you a Whitworth screwdriver for one of those.

The only screwdriver worth anything is a Robertson (or one
containing vodka).
 
D

dorayme

"Chris F.A. Johnson said:
The only screwdriver worth anything is a Robertson (or one
containing vodka).

I have no name for one I made to open up a Mac SE30, a star drill
bit type of driver jammed and glued into a long thin aluminium
tube with a tube of plastic at the other end to assist hand
gripping... it is worth heaps as a historical object. Just a
mo... I will take a snap of it and show you:

<http://netweaver.com.au/test/pics/macSE_screwdriver.jpg>

I don't want to sell or swap it for anything but I would consider
lending it, if suitable arrangements could be made for its
safekeeping and return (as when things like some of the Chinese
Terracotta Army are lent to mother countries)
 
N

Neredbojias

Well bust mah britches and call me cheeky, on Sat, 20 Oct 2007 22:46:25 GMT
dorayme scribed:
I have no name for one I made to open up a Mac SE30, a star drill
bit type of driver jammed and glued into a long thin aluminium
tube with a tube of plastic at the other end to assist hand
gripping... it is worth heaps as a historical object. Just a
mo... I will take a snap of it and show you:

<http://netweaver.com.au/test/pics/macSE_screwdriver.jpg>

Looks like an anorexic spark plug with a snotty nose.

--
Neredbojias

The 16th century French satirical writer François Rabelais in his series of
novels Gargantua and Pantagruel, discussing the various ways of cleansing
oneself at the toilet, wrote that: "He who uses paper on his filthy bum,
will always find his ballocks lined with scum"
 
N

nice.guy.nige

While the city slept, Beauregard T. Shagnasty ([email protected])
feverishly typed...
Robert Baer wrote: [...]
Anybody for a left-handed Wentworth screw? Or how about a screw with
concentric 1/4-20 threads ("zero" handed), and a matching nut (have
both)?

I'll trade you a Whitworth screwdriver for one of those.

That would be a left-handed Whitworth screwdriver of course??? ;-)

Cheers,
Nige
 
N

nice.guy.nige

While the city slept, Robert Baer ([email protected]) feverishly
typed...

[css comments vs html comments]
I had no idea that comments are done differently in different areas
like this.
I suppose that there may be hundreds of different areas, each with
their own quirks and zero standardization.

No, there are standards. You can find them for both HTML and CSS at
http://www.w3.org

The fun thing with CSS comments is that they use the standard C comment
separators of /* ... */, which lulls you into a false sense of security,
what with C++, Java, PHP etc also using the // comment identifier, but CSS
doesn't go with that idea. Maybe it was just me who fell for that one...

Cheers,
Nige
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top