Help for a Newbie

Discussion in 'HTML' started by Jr. Norfleet, Sep 16, 2005.

  1. Jr. Norfleet

    Jr. Norfleet Guest

    Hey Folks,
    I'm new to html, and I'm having a problem with a table. The problem is that
    I am getting a "<" just above the caption. Can someone point me in the
    right direction? Here's the part of the code I'm having the issue. Please
    forgive the brashness of the code - I'm just getting started!!
    Thanks,
    Jr

    <!--Nextel Cup Points Table-->
    <table border=1 body bgcolor="ffff00" width="23%" height="100%"
    align="right">
    <caption> <font color="ff6600" size="-1"> <B> Nextel Cup Points
    Standings</B></font></CAPTION>
    <TR>
    <TH><font color=0000cc size="-1">Driver</TH>
    <TH><font color=0000cc size="-1">Points</TH>
    </TR>
    Jr. Norfleet, Sep 16, 2005
    #1
    1. Advertising

  2. Jr. Norfleet

    Paul Watt Guest

    "Jr. Norfleet" <> wrote in message
    news:fyyWe.44047$...
    > Hey Folks,
    > I'm new to html, and I'm having a problem with a table. The problem is
    > that I am getting a "<" just above the caption. Can someone point me in
    > the right direction? Here's the part of the code I'm having the issue.
    > Please forgive the brashness of the code - I'm just getting started!!
    > Thanks,
    > Jr
    >
    > <!--Nextel Cup Points Table-->
    > <table border=1 body bgcolor="ffff00" width="23%" height="100%"
    > align="right">
    > <caption> <font color="ff6600" size="-1"> <B> Nextel Cup Points
    > Standings</B></font></CAPTION>
    > <TR>
    > <TH><font color=0000cc size="-1">Driver</TH>
    > <TH><font color=0000cc size="-1">Points</TH>
    > </TR>
    >


    Hi,
    I cant see where the ">" is but i'm wondering why you have "body" in the
    table tag?

    Paul
    Paul Watt, Sep 16, 2005
    #2
    1. Advertising

  3. Jr. Norfleet

    Rincewind Guest

    On Fri, 16 Sep 2005 12:05:31 GMT, Jr. Norfleet wrote:

    > I'm new to html, and I'm having a problem with a table. The problem is that
    > I am getting a "<" just above the caption. Can someone point me in the
    > right direction? Here's the part of the code I'm having the issue.


    No your problem is Not with this bit of code.
    Rincewind, Sep 16, 2005
    #3
  4. Jr. Norfleet

    saz Guest

    In article <fyyWe.44047$>,
    says...
    > Hey Folks,
    > I'm new to html, and I'm having a problem with a table. The problem is that
    > I am getting a "<" just above the caption. Can someone point me in the
    > right direction? Here's the part of the code I'm having the issue. Please
    > forgive the brashness of the code - I'm just getting started!!
    > Thanks,
    > Jr
    >
    > <!--Nextel Cup Points Table-->
    > <table border=1 body bgcolor="ffff00" width="23%" height="100%"
    > align="right">
    > <caption> <font color="ff6600" size="-1"> <B> Nextel Cup Points
    > Standings</B></font></CAPTION>
    > <TR>
    > <TH><font color=0000cc size="-1">Driver</TH>
    > <TH><font color=0000cc size="-1">Points</TH>
    > </TR>
    >
    >
    >

    Excatly where do you want the "<"?

    The <body> tag should not be in a table.

    Put quotes on all attributes. <table border=1> should be <table
    border="1">, <font color=0000cc> should be <font color="0000cc">.
    saz, Sep 16, 2005
    #4
  5. saz wrote:
    > Put quotes on all attributes. <table border=1> should be <table
    > border="1">, <font color=0000cc> should be <font color="0000cc">.


    Been a long time since I've used inline styles, but shouldn't that be:

    <font color="#0000cc">

    --
    -bts
    -This space intentionally left blank.
    Beauregard T. Shagnasty, Sep 16, 2005
    #5
  6. Beauregard T. Shagnasty wrote:
    > saz wrote:
    >
    >> Put quotes on all attributes. <table border=1> should be <table
    >> border="1">, <font color=0000cc> should be <font color="0000cc">.

    >
    >
    > Been a long time since I've used inline styles, but shouldn't that be:
    >
    > <font color="#0000cc">
    >

    better yet dump the deprecated FONT element and style it!

    ..mycaption { font-size: %80; color: #0000cc; }

    ....

    <caption class="mycaption">Blah blah blah</caption>

    ....

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    Jonathan N. Little, Sep 16, 2005
    #6
  7. Jonathan N. Little wrote:
    > Beauregard T. Shagnasty wrote:
    >
    >> saz wrote:
    >>
    >>> Put quotes on all attributes. <table border=1> should be <table
    >>> border="1">, <font color=0000cc> should be <font
    >>> color="0000cc">.

    >>
    >> Been a long time since I've used inline styles, but shouldn't
    >> that be:
    >>
    >> <font color="#0000cc">
    >>

    > better yet dump the deprecated FONT element and style it!


    Of course. I was pointing out the error in the above statement.

    > .mycaption { font-size: %80; color: #0000cc; }


    ..mycaption { font-size: 80%; color: #0000cc; }

    Though after moving the percent sign, I would pick a size that was
    readable. <g>

    --
    -bts
    -This space intentionally left blank.
    Beauregard T. Shagnasty, Sep 16, 2005
    #7
  8. Beauregard T. Shagnasty wrote:
    <snip>
    >
    > Of course. I was pointing out the error in the above statement.
    >
    >> .mycaption { font-size: %80; color: #0000cc; }

    >
    >
    > .mycaption { font-size: 80%; color: #0000cc; }
    >
    > Though after moving the percent sign, I would pick a size that was
    > readable. <g>
    >

    Agreed, but I was trying to match OP's settings,

    > <caption> <font color="ff6600" size="-1"> <B> Nextel Cup Points


    Oops I guess it should have been
    ..mycaption { font-size: %80; color: #ff6600; }

    Although for a mere caption small text may not be an issue, not like
    being confronted with a full page of minuscule text!

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    Jonathan N. Little, Sep 16, 2005
    #8
  9. Jonathan N. Little wrote:
    > Beauregard T. Shagnasty wrote: <snip>
    >
    >> Of course. I was pointing out the error in the above statement.
    >>
    >>> .mycaption { font-size: %80; color: #0000cc; }

    >>
    >> .mycaption { font-size: 80%; color: #0000cc; }
    >>
    >> Though after moving the percent sign, I would pick a size that
    >> was readable. <g>
    >>

    > Agreed, but I was trying to match OP's settings,
    >
    >> <caption> <font color="ff6600" size="-1"> <B> Nextel Cup Points


    The -1, if contained within a block of size="4" for example, would be
    about a 3, right? So 80% could be nowhere near an old-style 3.

    > Oops I guess it should have been
    > .mycaption { font-size: %80; color: #ff6600; }


    No, the percent sign goes after the number. :)

    > Although for a mere caption small text may not be an issue, not
    > like being confronted with a full page of minuscule text!


    You could get away with that... though I would still pick at least 90%.

    --
    -bts
    -This space intentionally left blank.
    Beauregard T. Shagnasty, Sep 16, 2005
    #9
  10. Beauregard T. Shagnasty wrote:
    <snip>
    > The -1, if contained within a block of size="4" for example, would be
    > about a 3, right? So 80% could be nowhere near an old-style 3.
    >
    >> Oops I guess it should have been .mycaption { font-size: %80; color:
    >> #ff6600; }

    >
    >
    > No, the percent sign goes after the number. :)
    >
    >> Although for a mere caption small text may not be an issue, not
    >> like being confronted with a full page of minuscule text!

    >
    >
    > You could get away with that... though I would still pick at least 90%.
    >


    No, I believe size -1 is an absolute value from default not calculated
    from immediate container like CSS percentages...see for yourself

    <font size="-1">small outside</font>
    <font size="4">Big <font size="-1">small inside</font></font>
    <span style="font-size: 80%;">small by CSS</span>


    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    Jonathan N. Little, Sep 16, 2005
    #10
  11. Jr. Norfleet

    saz Guest

    In article <SKzWe.97719$>,
    lid says...
    > saz wrote:
    > > Put quotes on all attributes. <table border=1> should be <table
    > > border="1">, <font color=0000cc> should be <font color="0000cc">.

    >
    > Been a long time since I've used inline styles, but shouldn't that be:
    >
    > <font color="#0000cc">
    >
    >

    My mistake. I was typing too fast.
    saz, Sep 16, 2005
    #11
  12. Jonathan N. Little wrote:
    > No, I believe size -1 is an absolute value from default not
    > calculated from immediate container like CSS percentages...see for
    > yourself


    Maybe it works if a basefont is specified. Not sure; it's been eons
    since I set a size with a font element. Maybe several eons...

    --
    -bts
    -This space intentionally left blank.
    Beauregard T. Shagnasty, Sep 16, 2005
    #12
  13. Jr. Norfleet

    Jr. Norfleet Guest

    Thanks everyone for the advice.
    JR

    "saz" <> wrote in message
    news:...
    > In article <SKzWe.97719$>,
    > lid says...
    >> saz wrote:
    >> > Put quotes on all attributes. <table border=1> should be <table
    >> > border="1">, <font color=0000cc> should be <font color="0000cc">.

    >>
    >> Been a long time since I've used inline styles, but shouldn't that be:
    >>
    >> <font color="#0000cc">
    >>
    >>

    > My mistake. I was typing too fast.
    Jr. Norfleet, Sep 17, 2005
    #13
    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. James Bond
    Replies:
    0
    Views:
    513
    James Bond
    Aug 3, 2004
  2. Id0x
    Replies:
    4
    Views:
    1,168
    Erik Max Francis
    Jul 21, 2003
  3. JohnE

    newbie with newbie questions

    JohnE, Aug 17, 2009, in forum: ASP .Net
    Replies:
    3
    Views:
    482
    Gregory A. Beamer
    Aug 17, 2009
  4. LeTubs
    Replies:
    6
    Views:
    112
    Tad McClellan
    Jan 25, 2004
  5. Replies:
    56
    Views:
    676
    alex23
    Dec 27, 2012
Loading...

Share This Page