Help for a Newbie

J

Jr. Norfleet

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

Paul Watt

Jr. Norfleet said:
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
 
R

Rincewind

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

saz

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

Beauregard T. Shagnasty

saz said:
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">
 
J

Jonathan N. Little

Beauregard said:
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>

....
 
B

Beauregard T. Shagnasty

Jonathan said:
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>
 
J

Jonathan N. Little

Beauregard T. Shagnasty wrote:
Of course. I was pointing out the error in the above statement.



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

Beauregard T. Shagnasty

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

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

Jonathan N. Little

Beauregard T. Shagnasty wrote:
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.



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



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

Beauregard T. Shagnasty

Jonathan said:
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...
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top