Font size problem

Discussion in 'HTML' started by Robert Baer, Oct 19, 2007.

  1. Robert Baer

    Robert Baer Guest

    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:">Contact Us</a>
    </div>
    </td>
    </tr>
    </table>
    </center>
    </body>
    </html>
    Robert Baer, Oct 19, 2007
    #1
    1. Advertising

  2. Robert Baer

    mrcakey Guest

    "Robert Baer" <> wrote in message
    news:...
    > 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
    mrcakey, Oct 19, 2007
    #2
    1. Advertising

  3. 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.


    --
    Rob Waaijenberg
    Rob Waaijenberg, Oct 19, 2007
    #3
  4. Robert Baer

    rf Guest

    "Robert Baer" <> wrote in message
    news:...

    > 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?

    --
    Richard.
    rf, Oct 19, 2007
    #4
  5. Robert Baer wrote:

    > 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

    --
    -bts
    -Motorcycles defy gravity; cars just suck
    Beauregard T. Shagnasty, Oct 19, 2007
    #5
  6. Robert Baer

    Robert Baer Guest

    mrcakey wrote:

    > "Robert Baer" <> wrote in message
    > news:...
    >
    >> 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
    >
    >

    I think i tried that with no difference.
    Robert Baer, Oct 20, 2007
    #6
  7. Robert Baer

    Robert Baer Guest

    Rob Waaijenberg wrote:

    > 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?
    Robert Baer, Oct 20, 2007
    #7
  8. Robert Baer

    Robert Baer Guest

    rf wrote:

    > "Robert Baer" <> wrote in message
    > news:...
    >
    >
    >> 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?
    >
    > --
    > Richard.
    >
    >

    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.
    Robert Baer, Oct 20, 2007
    #8
  9. Robert Baer

    Robert Baer Guest

    Beauregard T. Shagnasty wrote:

    > Robert Baer wrote:
    >
    >
    >> 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
    >

    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)?
    Robert Baer, Oct 20, 2007
    #9
  10. Robert Baer

    dorayme Guest

    In article <>,
    Robert Baer <> wrote:

    > rf wrote:
    >
    > > "Robert Baer" <> wrote in message
    > > news:...
    > >
    > >
    > >> 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?
    > >
    > > --
    > > Richard.
    > >
    > >

    > 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.

    --
    dorayme
    dorayme, Oct 20, 2007
    #10
  11. Robert Baer

    Andy Dingley Guest

    On Fri, 19 Oct 2007 23:55:37 -0700, Robert Baer
    <> wrote:

    > 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.
    Andy Dingley, Oct 20, 2007
    #11
  12. Robert Baer wrote:

    > Beauregard T. Shagnasty wrote:
    >> Whoa, big fella! ...
    >>
    >> 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.


    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.

    --
    -bts
    -Motorcycles defy gravity; cars just suck
    Beauregard T. Shagnasty, Oct 20, 2007
    #12
  13. 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/

    --
    -bts
    -Motorcycles defy gravity; cars just suck
    Beauregard T. Shagnasty, Oct 20, 2007
    #13
  14. Robert Baer

    Neredbojias Guest

    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"
    Neredbojias, Oct 20, 2007
    #14
  15. Robert Baer wrote:
    > mrcakey wrote:
    >
    >> "Robert Baer" <> wrote in message
    >> news:...
    >>
    >>> 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
    >>
    >>

    > 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.

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    Jonathan N. Little, Oct 20, 2007
    #15
  16. On 2007-10-20, Beauregard T. Shagnasty wrote:
    > 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.


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


    --
    Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
    Chris F.A. Johnson, Oct 20, 2007
    #16
  17. Robert Baer

    dorayme Guest

    In article <>,
    "Chris F.A. Johnson" <> wrote:

    > On 2007-10-20, Beauregard T. Shagnasty wrote:
    > > 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.

    >
    > 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)

    --
    dorayme
    dorayme, Oct 20, 2007
    #17
  18. Robert Baer

    Neredbojias Guest

    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"
    Neredbojias, Oct 21, 2007
    #18
  19. While the city slept, Beauregard T. Shagnasty ()
    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

    --
    Nigel Moss http://www.nigenet.org.uk
    Mail address will bounce. | Take the DOG. out!
    "Your mother ate my dog!", "Not all of him!"
    nice.guy.nige, Oct 21, 2007
    #19
  20. While the city slept, Robert Baer () 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

    --
    Nigel Moss http://www.nigenet.org.uk
    Mail address will bounce. | Take the DOG. out!
    "Your mother ate my dog!", "Not all of him!"
    nice.guy.nige, Oct 21, 2007
    #20
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Klemt
    Replies:
    6
    Views:
    10,964
    Peter Theill
    Nov 28, 2004
  2. dave richards
    Replies:
    2
    Views:
    591
    Paul Furman
    Feb 19, 2004
  3. Wongod
    Replies:
    2
    Views:
    687
  4. wial
    Replies:
    2
    Views:
    787
  5. mttc
    Replies:
    2
    Views:
    2,351
    Roedy Green
    Jul 3, 2009
Loading...

Share This Page