Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Help for a Newbie

Reply
Thread Tools

Help for a Newbie

 
 
Jr. Norfleet
Guest
Posts: n/a
 
      09-16-2005
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>


 
Reply With Quote
 
 
 
 
Paul Watt
Guest
Posts: n/a
 
      09-16-2005

"Jr. Norfleet" <(E-Mail Removed)> wrote in message
news:fyyWe.44047$(E-Mail Removed) m...
> 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


 
Reply With Quote
 
 
 
 
Rincewind
Guest
Posts: n/a
 
      09-16-2005
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.
 
Reply With Quote
 
saz
Guest
Posts: n/a
 
      09-16-2005
In article <fyyWe.44047$(E-Mail Removed)> ,
http://www.velocityreviews.com/forums/(E-Mail Removed) 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">.
 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      09-16-2005
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.
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      09-16-2005
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
 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      09-16-2005
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.
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      09-16-2005
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
 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      09-16-2005
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.
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      09-16-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie with newbie questions JohnE ASP .Net 3 08-17-2009 10:10 PM
VONAGE Newbie w/newbie question New_kid@nowhere.new VOIP 0 08-11-2007 01:40 PM
another newbie question from another newbie.... Lee UK VOIP 4 05-17-2005 04:10 PM
newbie: cisco vlan newbie question No Spam Cisco 3 06-07-2004 10:02 AM
Newbie! I'm a newbie! What's wrong with this program? Id0x Python 4 07-20-2003 11:40 PM



Advertisments