What is this error telling me?

They have: 166 posts

Joined: Mar 2006

Line 4 column 52: end tag for "meta" omitted, but OMITTAG NO was specified.

<meta http-equiv="Content-Language" content="en-au">

You may have neglected to close an element, or perhaps you meant to
"self-close" an element, that is, ending it with "/>" instead of ">".
'

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Validator wrote: perhaps you meant to
"self-close" an element,

Exactly that, for an element that doesn't need a closing tag (e.g. ) you need to self-close it. You do that by putting: " />" at the end instead of: ">"

So in this case your line:

DSSR wrote:

should be:

DSSR wrote:

Easy, eh?

a Padded Cell our articles site!

They have: 166 posts

Joined: Mar 2006

I did that and it still says the same thing. That's why I asked Laughing out loud because I thought it must be saying soemthing else Sad. Ill see if I can do it again, thanks mate.

They have: 166 posts

Joined: Mar 2006

OKay okay, the thing didnt refresh over the network folder. It works Sticking out tongue thanks.

Okay, mr smarty pants, what are these two saying?

Error Line 45 column 6: required attribute "type" not specified.
<style>
The attribute given above is required for an element that you've used, but
you have omitted it. For instance, in most HTML and XHTML document types
the "type" attribute is required on the "script" element and the "alt" attribute
is required for the "img" element.

Typical values for type are type="text/css" for <style> and
type="text/javascript" for &lt;script&gt;.


Error Line 53 column 17: there is no attribute "leftmargin".
<body leftmargin="0" topmargin="0">
You have used the attribute named above in your document, but the
document type you are using does not support that attribute for this
element. This error is often caused by incorrect use of the "Strict" document
type with a document that uses frames (e.g. you must use the "Transitional"
document type to get the "target" attribute), or by using vendor proprietary
extensions such as "marginheight" (this is usually fixed by using CSS to
achieve the desired effect instead).

This error may also result if the element itself is not supported in the
document type you are using, as an undefined element will have no
supported attributes; in this case, see the element-undefined error message
for further information.

How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both allowed
in the chosen document type, and/or use CSS instead of this attribute.
'

They have: 166 posts

Joined: Mar 2006

This is what is in my html doc at error line 45

<style>
<!--
.text { font-size: 13px; font-family: verdana, arial; }

-->
</style>
</head>
'

Thaat is the part it is saying something is wrong? I didnt do that, image ready automatically put that there when I made splices for my buttons I made in photoshop.

They have: 166 posts

Joined: Mar 2006

ahh I see, I see, it didnt close with xhtml tag? or its commented out and serves no purpose?

They have: 166 posts

Joined: Mar 2006

Oh no, I have to make it css? So not only do I have to leanr xhtml I have to learn css at the same time? Sad is that right?

They have: 166 posts

Joined: Mar 2006

okay okay, I dont think Im allwoed to use xhtml in the head and use html in the rest of teh doc? Sad this is giving me a headache.

They have: 166 posts

Joined: Mar 2006

okay okay, Im starting to work this out now, thanks for the help Smiling see how I go

They have: 166 posts

Joined: Mar 2006

Okay, I have one more big problem. I have 800 errors, and most of them are this

end tag for "br" omitted, but OMITTAG NO was specified.
    Support Materials <br>
'

whats that saying? do I have to clode those?

They have: 166 posts

Joined: Mar 2006

Ahh okay I was sure Busy told me what to do yesterday, he said I had to close them with xhtml Smiling, like this so sweet as, now I have to do my WHOLE DAMN SITE AGAIN. Sad

isnt there a progrfam that closees these tags in xhtml automatically? I think using this frontpage is a bad idea.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

front page doesnt look at the markup and doesnt check if its validated... There are actually other WYSIWYG (what you see is what you get) site editor that does some clean up like dreamweaver, and others like me use a manual text editor that cleans tag too.. but once you get used to making validated code, you wouldnt even need to clean it up since you typed the markup yourself... Post your errors again and well try to help...

They have: 166 posts

Joined: Mar 2006

Yeah, Im nearly done. I had 684 errors. Now I think I got less, I have to finish my site, I have just a few more things I dopnt understand, but Im getting there. I am actually starting to see how easy it is to validate. Since I dont know how to code, I use teh gui thing in frontpage. But now I see it, I think I might actually start hand coding in notepad Smiling, dreamweaver I have and used, but I dont like it because it doesnt display the pictures till I preview it in the browser, so I stuck with frontpage, because it does. I like to see the things on the fly, and what it looks like. Laughing out loud

They have: 166 posts

Joined: Mar 2006

Woohoo, I had 684 errors, now I have only 230 Laughing out loud..well, still a lot, but way less than before Wink.

I dont think I will give you this many errors, its too much of a big job, Ill try read it, and put all the errors only and ask for teh ones I dont understand. Thanks a lot.

They have: 166 posts

Joined: Mar 2006

I dont understand what these are saying.
1.
-----------
Line 45 column 6: required attribute "type" not specified.

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for and type="text/javascript" for <script>.
-----------

2.
-----------
Line 53 column 17: there is no attribute "leftmargin".

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
-----------

3.
-----------
Line 53 column 31: there is no attribute "topmargin".

-----------

4.
-----------
Line 55 column 49: document type does not allow element "body" here.

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

-----------

5. This one is a warning.
-----------
Line 70 column 660: cannot generate system identifier for general entity "affiliate".

...oftsell/nph-softsell.cgi?item=8527-2&affiliate=60022">

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (Wink. The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (Wink. If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
-----------

6.
-----------
Line 70 column 660: general entity "affiliate" not defined and no default entity.

...oftsell/nph-softsell.cgi?item=8527-2&affiliate=60022">

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
-----------

7. Warning. I cant do what this is saying, otherwise my link wont work?
-----------
Line 70 column 669: reference not terminated by REFC delimiter.

...ph-softsell.cgi?item=8527-2&affiliate=60022">

If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
-----------

8. Warning.
-----------
Line 70 column 669: reference to external entity in attribute value.

...ph-softsell.cgi?item=8527-2&affiliate=60022">

This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
-----------

9.
-----------
Line 70 column 669: reference to entity "affiliate" for which no system identifier could be generated.

...ph-softsell.cgi?item=8527-2&affiliate=60022">

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

Info Line 70 column 659: entity was defined here.

...softsell/nph-softsell.cgi?item=8527-2&affiliate=60022">
-----------

10.
-----------
Line 218 column 88: there is no attribute "height".

... id="AutoNumber6" width="142" height="126">
-----------

11.
-----------
Line 228 column 105: there is no attribute "background".

..." width="746" height="27" background="images/Body_Background.gif" style="bord
-----------

12.
-----------
Line 278 column 57: ID "AutoNumber1" already defined.

...cellpadding="10" cellspacing="0" id="AutoNumber1" width="746" height="7" back

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
-----------

13. Do I have to end it ith ?
-----------
Line 422 column 110: end tag for "img" omitted, but OMITTAG NO was specified.

...V-12_F.jpg" alt="" width="100">

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Info Line 422 column 4: start tag was here.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

one at a time, post your html, or site address...

then the first problem would be you didnt assign a type tag at your css or javascript... then the second one no leftmargin and topmargin should be

demonhale's picture

He has: 3,278 posts

Joined: May 2005

the problem actually mostly comes from table attributes, and some active URLS used as links...

demonhale's picture

He has: 3,278 posts

Joined: May 2005

if you correct one, the error will reoccur since theres a bunch of them... the one detected is about 200+ actually its about 500+

They have: 166 posts

Joined: Mar 2006

Um, not sure I understand? what am I fixing? Is it possible to fix or do I just leave it and use html, and forget this xhtml and css thing? It seems to be fussy to me. Sad

They have: 166 posts

Joined: Mar 2006

I wouldve done the tables like jeeves told me, but I had to use some css thing, and I dont know where to put it or what to do to make the tables I need. What values do I use for my tables as you can see them? its very hard this making websites. I give up on it I think..lol..

Busy's picture

He has: 6,151 posts

Joined: May 2001

By the looks of it you might be validating in STRICT mode, TRANSITIONAL is more newbie friendly

answers to your errors:
1. should be

2. and 3. you can not use leftmargin="0" topmargin="0" in this mode, instead use CSS and do body {margin: 0; }

4. the bgcolor should be done with CSS in the body like above (background-color:white; ) the error thou is the capital I in preloadImages

5-9. & should be done &

10. my guess is it's in a table cell, can't use height, use CSS

11. can't use background in table cells, instead use CSS, style="background:url(images/Body_Background.gif)"

12. id can only be used once on a page, use class= instead of id= if more than one, also in css change #name to .name

13. img tag needs to be closed

Stick with it.
If you have a text editor with search and replace, you can quickly convert all to at click of a button

They have: 166 posts

Joined: Mar 2006

....

They have: 166 posts

Joined: Mar 2006

What is a search and replace editor? Can notepad do it?

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

edit > replace

They have: 166 posts

Joined: Mar 2006

OMFG! ROFLMMFAO ..... You mean I sopent 4 hours looking for all the brs and hrs and closed em manually? hahahahahahahaha....

Oh well, I know now Laughing out loud...thanks champ...

They have: 166 posts

Joined: Mar 2006

damn, even frontpage has it Laughing out loud

Roo's picture

She has: 840 posts

Joined: Apr 1999

Here are a few text editors with global search and replace. This means you can open all files, find what you need to change and then replace that in all open files, then save all open files. Voila! Done!

Edit Pad (This is what I use to code with) • NoteTabConTEXT

Roo

They have: 166 posts

Joined: Mar 2006

<style type="text/css">
'
That didn't work? I just replaced it. Am I meant to add something, or?

This code below

<style>
<!--
.text { font-size: 13px; font-family: verdana, arial; }

-->
</style>
'
Now reads this
<style type="text/css">
<!--
.text { font-size: 13px; font-family: verdana, arial; }

-->
</style>
'
Sure Im meant to do soemthing else or I done something wrong?

They have: 166 posts

Joined: Mar 2006

Thanks roo, But I found that frontpage does it also, and it also lets me find all webs and replace Smiling, its a way cool thing I wish I knew 5 hours ago hahaha..thanks though, Ill give them a lok at.

They have: 166 posts

Joined: Mar 2006

Dude, I dont know what to say, but thank you : ). I think I can figure out the rest from what Busy has said, wish he couldve explained it for a n00b, but none the less Wink, something to work off.

Busy's picture

He has: 6,151 posts

Joined: May 2001

Sorry I didn't explain it, was in a rush this morning so just quickly went over the errors.

Did you fix the style tag error? if not take out the comments ()

Also a note on frontpage, frontpage isn't very 'up to date' with standards (XHTML, CSS etc) so opening your soon to be valid page in frontpage may change a few things (I know the older versions used to), so ideally if you can get your head around hand coding (using a text editor) go for that method.
And is a big head swell when you get your first page you wrote all in a text editor to validate, but a warning, it is addicting Wink

They have: 166 posts

Joined: Mar 2006

Yes!!, demonhale fixed most of my main errors up, the really hard ones, including that style one.

I have got it down to 17 errors now Laughing out loud...I feel loads better. Thanks all to helped.

I have only these left, some are more than one, but I just need to know what to do with each one, then Ill fix the rest of em. Theres 7 different errors. each one I have no idea what it is asking me to do, or telling me what's wrong? Can you shed some light please? Thanks a bunch again fellas.

1.
Line 867 column 37: there is no attribute "height".

<table width="664" border="0" height="1">

2.
Line 1139 column 9: ID "purchase-button" already defined.

<div id="purchase-button" style="width: 555; height: 137">

3.
Line 1355 column 103: there is no attribute "background".

...3" width="745" height="7" background="images/Body_Background.gif">

4.
Line 1503 column 86: there is no attribute "border".

...n_US/i/btn/x-click-butcc.gif" border="0" name="submit" alt="Make payments wit

5.
Line 1522 column 2: document type does not allow element "p" here; missing one of
"object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

<p>Note: Always make sure you scan exe files for viri. Even though we have

6.
Line 1722 column 13: value of attribute "name" must be a single token.

<a name="Back To Top" href="#Dropship Your Way To Real Money">Back To Top</a></s

This attribute can not take a space-separated list of words as a value, but only
one word ("token"). This may also be caused by the use of a space for the value
of an attribute which does not permit it.

7.

Line 1725 column 94: an attribute value specification must be an attribute value
literal unless SHORTTAG YES is specified.

...ompany Logo Image]" border="0" width=167 height=66 /></p>
'

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

for the ones for height and background problems, create a style into your stylesheet for each instead of having it in the html.

The background one might be something like this :

.background1 {
background-image: url(images/image.jpg);
}
'

then simply apply that style to the area you want to have that background.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

1.make it

2. put the style part inside the id for purchase-button or just delete that id tag if its not that important...

3.make that whole line including width and height to...

....style="width:745px; height:7px; background: #fff url(images/Body_Background.gif) no-repeat;">

4. remove or delete that border tag...

5. remove or check above if theres no close for the first

6. change name to name="BacktoTop"

7. not sure

repost whole html so we can check again...

demonhale's picture

He has: 3,278 posts

Joined: May 2005

its showing 13 error, that means you still have about 100 uncheked errors, since the validator only sees first affecting error tag, then once corrected looks for the other contained related to that tag...

Anyways Heres a validated code, you usually need to pay for this kind of service... Anyways I need the exercise...

Quote:
removed html

Busy's picture

He has: 6,151 posts

Joined: May 2001

number 7 was missing quotes - demonhale 10000 lines "all values must be quoted" Laughing out loud

DSSR, you should of been able to fix some of those errors yourself as they have been brought up before. The validators gives the line number and column number of the error (not always 100%) so is a good starting point to learn from.
Try fix the errors yourself first, if you cant do then ask for help, you wont learn otherwise

They have: 166 posts

Joined: Mar 2006

I treid my best to try understand. I fixed from 640 errors to 230 erors. I think , i didn try. Most of the answers or people trying to help me I dont think undetrstaood that I needed it explained for a 10 year old. I still don't understand what's going on.

Yeah, thanks demon, if I had money, I wouldve. But I am total broke, which is why I made this site. I gave you I think what is worth it. If you have a read of it....

Anyway. Thanks a lot everyone. I think I go try make money, then I make donation to you?

demonhale's picture

He has: 3,278 posts

Joined: May 2005

No need to pay anyone DSSR,

and busy , I already tried to explain these little things so that he could learn editing his code and make it validate even with auto generated tables code, but since he needs it validate soon enough so that he could start his site I helped him validate it... And I know how frustrating it can be if theres no help at hand and he has been trying for several days... At least now its fixed...

Busy's picture

He has: 6,151 posts

Joined: May 2001

640 errors to 230 erros is great.
When fixing errors once down around 100-150 mark only do the top ones (4 or 5) at a time, you may find fixing those fixes a lot of others too.

Good on you for wanting to validate and use XHTML in your early days of your addiction Wink
can only get easier from here

They have: 166 posts

Joined: Mar 2006

Nah man, this is BS!... ibeen up 17 hours hand coding, (yeah, by freak'n
hand) Sad...trying to change my font to Times New Roman, I got half way,
then learnt there was an easier way in using teh span thing, for color size
and face. so anyway, I got half way, then WTF, my browser changed it all
back to arial, or whatever it was... Ever since the beginning, when I
transferred my site from my other pc, to this pc running xp, and the exact
same browser IE, it all of a sudden wanted to change my text to arial, or
straight ****. So I thought, oh, must be because it doesnt have the name
face, and that, sure enough, started working, went to get valide, yup, cool.
Then just now, I got half way, been doing the same bloody thing all the way
through, and now it went back to arial. But most of the code I changed was
Times New Roman, and I could see the changes, so I know it was working,
some stuff was arial, some was Times New Roman.

The only thing I done now is, changed the very first part from the normal
way you use font, which was this.

<p class="MsoNormal"><font color="#C0C0C0">
to this
<span style="font-size: 12.0pt; color: #C0C0C0; face: Times New Roman; ">
'
When I open it in the IE browser, it starts off with exactly what I want, until
it loads the full page, then every single line of text on my page chagnes to
something like a default or something. Which was happening in the beginning.
The code is valid, the only way I can get it to do what I want is if it is not valid?

<p class="MsoNormal"><font face="Times New Roman" size="2"
color="#C0C0C0">Simply put, a dropshipper is a <a title="Click here to read
what a Manufacturer is." href="What_Is_A_Manufacturer%20or%
20Distributor.htm"><font color="FFCC00">Manufacturer</font></a> or <a
title="Click here to see what a Distributor is."
href="What_Is_A_Manufacturer%20or%20Distributor.htm"><font
color="FFCC00">Distributor</font></a>
'

The error is

end tag for "font" omitted, but OMITTAG NO was specified.

...ell, they ship, you profit.</span></p>

You may have neglected to close an element, or perhaps you meant to "self
-close" an element, that is, ending it with "/>" instead of ">".

Info Line 37 column 21: start tag was here.

<p class="MsoNormal"><font face="Times New Roman" size="2"
color="#C0C0C0">Simpl
'

Okay, so I closed the font tag where it said to, then it change all that
bottom text from where i ended it to arial again, and left everything else the
way it's meant to be.

Heres the whole thing where I have the problem.

<p class="MsoNormal"><font face="Times New Roman" size="2"
color="#C0C0C0">Simply put, a dropshipper is a
<a title="Click here to read what a Manufacturer is."
href="What_Is_A_Manufacturer%20or%20Distributor.htm"><font
color="FFCC00">Manufacturer</font></a> or
<a title="Click here to se what a Distributor is."
href="What_Is_A_Manufacturer%20or%20Distributor.htm"><font
color="FFCC00">Distributor</font></a>

<span style="font-size: 12.0pt; color: #C0C0C0; face: Times New
Roman; ">that allows you to sell their products without ever having to
purchase them first (sell first, buy later.) With no minimum purchase
requirements - no need to stock any products in your garage or warehouse,
you sell, they ship, you profit.</span></p>

<p><span style="font-size: 12.0pt; color: #C0C0C0; face: Times New
Roman; ">If you're a retailer or e-tailer, you will know the consequences of
having to purchase items in bulk. Have you ever purchased items in bulk from
a wholesaler or distributor only to find out 4 weeks later the items you
purchased are out of date or you simply can't sell them? What a waste of
time, money, and storage space right? You either have to liquidate them, or
sell them at a garage sale to get rid of the inventory to make space for
future stock. Well, using the dropship method there are two main
benefits.</span></font></p>
'
So I ended it where you see the at the bottom here, in the middle,
at the end of the , and infront of the .

So I thought I coudl fix it by closing it here at the top.

<p class="MsoNormal"><font face="Times New Roman" size="2"
color="#C0C0C0">Simply put, a dropshipper is a <----HERE </font>
'
But then no, it changed my text back to the way I explained before. I just
can't seem to change the stupid text to times new roman up the top here,
everywehre under that is fine..

Anyone know why? Sorry to give you this trouble again, but I tried hard to do
it myself, even had to make several backups of my index to keep testing
ideas. But none have worked. I thought it would be easy to do because it
was working under this, I finsihed most of the bottom text, then I thought I
would go to the top and do that, then this happend.

please help. I'm sure it's something stupid Sad

And yes busy, it's very addicting, but theres no way on this earth Im going to
do it for a hobby Laughing out loud, I have a very bad headache. I am about to give up and
just upload the damn thing. Stuff the stupid tables, stuff it all, just plain text
like my old one will do. Validating gives me a headache Sad

demonhale's picture

He has: 3,278 posts

Joined: May 2005

just change "face" to font-family: Times New Roman;

They have: 166 posts

Joined: Mar 2006

AH, its okay, its okay, I got it Sad..

<p class="MsoNormal"><font face="Times New Roman" size="3" color="#C0C0C0">Simply put, a dropshipper is a</font>

<a title="Click here to read what a Manufacturer is." href="What_Is_A_Manufacturer%20or%20Distributor.htm"><font face="Times New Roman" size="3" color="#FFCC00">Manufacturer</font></a> or <a title="Click here to se what a Distributor is."

href="What_Is_A_Manufacturer%20or%20Distributor.htm"><font color="FFCC00">Distributor</font></a>
'

It was teh damn font for the two links after the font end which was the problem. When I ended the font at teh very top, it would then change everythign under that to arial. So I looked at the link font

And changed it to include to face and size.

Happy days, I cant believe I didnt think of it before, I was kicking myself. When I done it, just beforeI went to validate, I said to myself, YEAH< I BET IT WORKS>.....Soon as I ask for help, that always bloody happens. Laughing out loud...anyways, if anyones working on it, its cool.

They have: 166 posts

Joined: Mar 2006

Ahh, there you are demon, yeah its cool mate, I got it done.

Change what to font-family btw mate?

Will that allow me to change to whole entire site to times new roman?

They have: 166 posts

Joined: Mar 2006

Ah I see I see. That's weird though, I used font face and it works under all the other tables, but whenI use it at the top, it doesnt work? I used it for the first line, with face, didnt work, used it under that for everything else, and it works? Whats the deal..?

They have: 166 posts

Joined: Mar 2006

Sweeeeeet, copying and pasting away this babeeehh

Laughing out loud

They have: 166 posts

Joined: Mar 2006

Ohh I get it, face works in th font tag, adn font-family works in the span tag? I was using face in span Sad... now I got font-family, works a charm.. Laughing out loud

They have: 166 posts

Joined: Mar 2006

hey something interesting.
This is what my link is meant to display, it shows it in yellow, with a yellow underline.

<a title="Click here to se what a Distributor is."href="What_Is_A_Manufacturer%20or%
20Distributor.htm">
<font face="Times New Roman" size="3" color="#FFCC00">Distributor</font></a>
'

If I use the span tag in teh same place, it puts a blue underline under the word istead of yellow, which it's meant to be? Weird or what?

<a title="Click here to read what a Manufacturer is." href="What_Is_A_Manufacturer%
20or%20Distributor.htm"><span style="font-size: 12.0pt; color: #FFCC00; font-family:
Times New Roman; ">Manufacturer</span></a>
'

They have: 166 posts

Joined: Mar 2006

Ahhh, and if I put the span tag infront of the a link tag this time to see what would happen and it makes the whole thing blue, text and underlined. Just that word though..Is this meant to do this or is there any logic to it? Because the color is FFCC00 and that is yellow...I have a way around it, Im just curious why it wont let me use this span tag on links and it lets me use it everywhere else.

<span style="font-size: 12.0pt; color: #FFCC00; font-family: Times New Roman; ">
<a title="Click here to read what a Manufacturer is." href="What_Is_A_Manufacturer%20or%20Distributor.htm">Manufacturer</a></span>
'

demonhale's picture

He has: 3,278 posts

Joined: May 2005

you can remove all face commands from your font in individual spans and entry, and put something in your body tag like this...

every text inside body will become times, now its easier to edit if you want to change fonts...

They have: 166 posts

Joined: Mar 2006

yeah but thats just it, I have different fonts inside of the same body. It's cool though, I have figured a way instead of doing it manually, I am going to use frontpage to change all the main font (with most text) for me.

It's funny, because the first time I done all this in frontppage, I thought it would have the times new roman font tag in there because that's what I selected, but it didn't. So to fix it, I had to reselect the actual font to get the tag in there, works now. But saves me looking at all the code Smiling. I am actually starting to get use to this html thing, it really isnt that hard after all Laughing out loud. I love goign to the validate site and seeing green Sticking out tongue, and if it's red, I know now how to fix it because of you guys. I am in your debt Laughing out loud

demonhale's picture

He has: 3,278 posts

Joined: May 2005

im glad youre learning, it takes a patient person to learn html and css out of frotnpage...

They have: 166 posts

Joined: Mar 2006

I dont get it!!!!!! I fix errors, and more get created? It tells me that you have omitted a tag, so I add it, then it says, after that, when I check again for errors, that you have a a close tag, but its not even open? WTF is gong on?

Then it says something like...
------------
there is no attribute "background".

------------
But every other table style is exactly the same, and it doesn't say theres an error with them? Only this one?

So I changed it to what you told me to change it too yesterday.
-------

-------
But then the stupid thing removes my background picture in the table?

I seriously don't get it.

They have: 166 posts

Joined: Mar 2006

I tried, Im going to upload it to the host valid or not. I been up bloody going on 48 hours, just fixing my font. Everything is beautiful, the code is clean as. But everything is fracked again? Even though, it was valid yesterday? Everytime I made a change to teh font, it was valid, I checked each time I made a change. Then when I was done, it finally said I had 70 freacking errors again? Im upto 52 errors now. But it wont let me have it the way I want it. This is just BS!. Anyways, goodnight, Ill upload it, then figure it out another day.

Thanks for all the help peeps.

They have: 166 posts

Joined: Mar 2006

OMG!!, fixing 1 stupid error fixed 32 errors? It said I omitted a td tag. I had a close look, and the damn tag was there, and it was closed, but just before it, there was a tag, but no div align or anything above it. So I deleted that, and viola. Now, why didnt the validator say I had a close tag there but it wasnt open like it does every other stupid tag thats not open? this thing don't make sense, or Im totally stupid. Yeah, I go the latter. I must be real tired. I think I learn css like daveyboy said and make that **** up one day, but I dont know where or how to make a css file, or how to make the variables for what I need.

They have: 166 posts

Joined: Mar 2006

Evening Laughing out loud..Okay, I'm up to 12 errors now, I just cant let this beat me... : ) I'll have to "use the force"..

They have: 166 posts

Joined: Mar 2006

Woohoo, I done all but 2 Laughing out loud.....I am very happy, everything is perfect, everything everything everything Laughing out loud, I didnt think I would ever do it, but its done.

There are just 2 errors left, I can fix them, but it is not what I want.

As stated before, the background won't show, I can make it show, but then the code isn't valid. Can someone show me the code to make my background show in a table?

This code below is what works, but is invalid.

------------
there is no attribute "background".
<table style="width:715; height:111" background="images/Body_Background.gif">
------------
'
This code below is valid, but doesn't display my background image. And it is the correct path. Is there something I need to add or remove from this code?

-------
<table style="width:745px; height:7px; background: #fff url(images/Body_Background.gif) no-repeat;">
-------
'

Thanks guys, I'm nearly there. : )

Edit:
Sorry, forgot the other error. I don't know how to fix this.

there is no attribute "height".
...ng="1" id="AutoNumber23" width="742" height="107">
'

They have: 166 posts

Joined: Mar 2006

I done it I done it Laughing out loud, woohoo... Damn..

This code works, and is valid.

<table style="width:715; height:111; background: url ('images/Body_Background.gif') nop-repeat;">
'

All I did was remove the px after the width and height, removed the #fff, and put in single quotes in ('images/Body_Background.gif')

So I have to go through my whole site again and change each table style Sad(, aye, but at least I know what to do now aye Laughing out loud...

So all I neeeeed now is the last error

there is no attribute "height".
...ng="1" id="AutoNumber23" width="742" height="107">
'

They have: 166 posts

Joined: Mar 2006

Ahhh, its okay its okay, I think I fiugured it out....damn this was hard to spot because the error said something about height, when in fact the line it was saying the error was on, was a bloody blank line? had nothing there even. But a few lines above it, there was an image that had alt=src"image" all teh other images in this same line read img src=, I changed it to that, and magik happend Laughing out loud...damn, I dont know why, but its been the same since its been valid, and I didnt change anything...But now all of a sudden, it wants to complain about it? Oh well, nearly done, now I have to go change all these bloody img things and put alts in em Laughing out loud...

They have: 166 posts

Joined: Mar 2006

WOOHOOOO!!!!!, I have officially hit the roof :DDDD.....

It's time for lift off Laughing out loud.

Is it okay if I put your guys links on my page?

I will upload it soon, and show you this master piece Sticking out tongue, my first website, but second attempt at it. I am proud of it.

If you can, check my page, and give me some tips on design, or a general overview, I would appreciate any feedback, good and bad... I will consider making another design of the same site, but will make it valid xhtml and css Smiling, I just have to go learn css..

Well, thanks all that helped, you know who you are. I really do appreciate it. I cant name names, because you all helped in some way, but davey, busy, demon, and jeeves, you guys are champions. yeah yeah, Im happy alright, I want to run a marathon now Laughing out loud..

Cyas.. :wave:

Busy's picture

He has: 6,151 posts

Joined: May 2001

Oh what a feeling Laughing out loud

feels good huh, knowing you did it yourself.
This is the reason I wanted you to try do more of it yourself than us just do it for you, plus by finding the srcimage fault you have proved you have learnt something along the way.
And that buzz, although not as great can still be there in many years to come.

Good on ya, you'll go far.

They have: 166 posts

Joined: Mar 2006

You know it bro, you know it Laughing out loud..Yeah, was over the moon aye, still am. I have learnt heaps just by doing it by hand, that frontpage just kept stuffing it up, so I had to listen to you guys and yup, sure enough. I even had the confidence to change loads of stuff and add more stuff knowing I would get errors, but I actually was looking forward to the errors, funny huh? All this time I was complaining about errors and being scared, and now I want them to appear? hahaha Laughing out loud

Thanks mate, I appreciate the vote of confidence Smiling..

PS:Can I add your website to my links? Wont get much exposure because all my links are at the bottom, but if I'm right, people will scroll the whole page and find them there.

PSS:And I am officially hooked bro, you called it. I was dreaming code... Laughing out loud I can't wait to learn css now.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

I watched the thread as you commented on each, it seems every 5 minutes you figured the problem out, so everytime you hurdle, youve learned a lot... I waited till you had problems you cant fix for 45 minutes and Ill make an intervention... But Im gladd I didnt have to since you learned quite fast... Good Job!

Busy's picture

He has: 6,151 posts

Joined: May 2001

Looking forward to fixing errors is a good sign you want to learn and advance. While that is good, don't get to ahead of yourself - pace yourself or you will burn out/stump out.
Knowing how to fix the errors is one thing but understanding what your actually doing is another. I think you have learnt a lot of why, but you also need to learn when and how. The errors you get from the validater will help in this but try understand it all before you get to far ahead or you will run into a simple problem and feel you have gone back to the start.

Frontpage is one of the worst things to make a webpage with, if you can make a frontpage created page validate there is hope for you.

Add the links if you want, isn't needed though.

Welcome to your addiction Laughing out loud

They have: 166 posts

Joined: Mar 2006

NO No demon, it took me a lot longer to figure them out, about 10 hours for the lot, I only came here because I couldnt do it, then as soon as I did, I found it, that always happens to me, cant do somethign for days, then soon as I ask for help, I take one last look and bang, there it is.. Laughing out loud So now I have been getting problems, but I been fixing em, got a bunch today, adding langiuage and trasnlation, fixed a good deal, actually fix em all, but got two warnings I dont know what to do about, the page is still valid, but I was wondering if you could tell me what they mean?

Warning Line 26 column 128:
character "<" is the first character of a delimiter but occurred as data.

...e.asp?template=You are visiting from <COUNTRY> <FLAG>. Please, click your fla
This message may appear in several cases:

You tried to include the "<" character in your page: you should escape it as "&lt;"
You used an unescaped ampersand "&": this may be valid in some contexts,
but it is recommended to use "&amp;", which is always safe. Another
possibility is that you forgot to close quotes in a previous tag.
'

I got it for both country and flag. I tried putting the < infront of and behind the "<" but still the same. You know what this means?

There is also another problem.

When I place a just before the script language, I go to load it in my browser, then it makes the text small, very small like it did with my wholoe site a few days ago. When I remove this td tag, its perfect, but then it isnt valid. These are the two erros.

end tag for element "td" which is not open.
end tag for "tr" which is not finished.

If I place teh td width blah up the top then they go away, but I dont want teh td there, or I want my text to stay as it should. And I cant change teh text color or anything, because its a script that gets downloaded form another server to tell the visitor where they are in the world.

Do you know a way around this?

Here is the full code I am trying to get the warnings away from. And get that text to display properly without the td tag.

<div align="center">
  <center>
<table width="580"><tr>

&lt;script language="JavaScript" type="text/javascript"
src="http://www.ip2phrase.com/ip2phrase.asp?template=You are visiting from
<COUNTRY&gt; <FLAG>. Please, click your flag below to translate this
website.">&lt;/script&gt;<a href="http://www.ip2location.com"></a>
</td>
</tr>
</table> 
</center>
</div>
'
And dont wait 45 minutes, because I aint getting this one right Laughing out loud... lol

----
Busy, Laughing out loud, yeah, I won't get ahead of myself, but I'm looking forward to the challenge. And frontpage, well, I'm only going to use that to publish my site, because I cant get dreamweaver to do it. So I use DW now with notepad.

Do you know what "td" stands for?

How come you have to do ? Then close with center then div? why are there two things when most of the stuff Im looking at has it in one tag, like span, face color size etc...and this needs two tags for one function? Or is "div center" centering something else? And center is centering like text within something?

What does div mean?

I need to know what and stand for.

Thanks guys, after this, I am ready....Im nearly done, maybe one more day, then you can laugh at my website Sticking out tongue..

DSSR.

Busy's picture

He has: 6,151 posts

Joined: May 2001

= table row
= table data
= divison

You dont have to do , thats a frontpage (and some other editors) way of doing it, just use the or if its in a table cell () just put align="center" in the td tag and all that td cell will align center.

The are script language inserts, usually PHP so similar which would normally replace with predefined values, just delete them. The link itself wont work in some browsers anyway as the url has to many spaces in it.

They have: 166 posts

Joined: Mar 2006

Ahhh k thanks mate, I get it sort of Smiling.

After all this, I need this main thing for my site, and I cant have it? Sad Its not a URL, the URL is fine, but the end is a template used from ip2phrase, those spaces in the phrase are what I say when they come to my site, example.

You are visiting from New Zealand . Please click your flag below to translate this website.

The URL before it has no spaces though?The link at the end is a normal backlink to their site.

Anyways, I delete the characters, and it doesnt display anything anymore? isnt there a way around it? It's still valid, but I want now warnings either.

Did you figure out whats wrong with teh text changing to a small text because of the

?

I change the value here and there, smaller bigger, it just moves it around the place. But the text still changes to a small text like its default. I cant change it to include a span of font tag to have it forced like everything else on here, because it wont let me. The country and flags dont show Sad..

You know how to fix this? Or I live with it?

They have: 166 posts

Joined: Mar 2006

Man this is funny. I went to replace all "&" with "&", I clicked it, and it didnt have that box that says finishd blah. So I clicked it again, and again, and again...then I looked, and it had 4 sets of &s;&&&, so I pushed ctrl z to go back 3 spaces. well, I went back 3 spaces, adn seen the change in one of the palces where this ampersand is, and it was correct. But, when I went to the other parts of my page to check everything, most of them had "&nbsp;"? I though, wtf? I dont remember those being there last I looked. Anyways, to my suprise, I refreshed my website on this computer in the browser, and the text I was complaining about that goes small when my site fully loads? yeah, it didnt do it anymore..?????????????But, it loaded and said there were errors on the page. So I went to go check validator, and yes, it didnt even load and said internal error, first time it has done that. So I was thinking and thinking what could it be...I thought ahhh, I go to replace and type find :amp; and replace with nothing....cleared it back to normal...Was valid, laoded and all, then I went to refresh teh page in my browser, and WTF, the text went small again....Sad(((m that extra amp; on the end of all of the &amp; <-- like that, mustve done something. But I couldnt have it because it had errors, and wouldnt let me check on teh validate site anymore.. So OMG< Im gettting tired again...and its the last thing I need to bloody do...this is some freaky ****...

Busy's picture

He has: 6,151 posts

Joined: May 2001

Without the code the small font could be anything, something nested etc. try this

At the very top, look for your tag, now add the following after this tag

body, td { font-size: 13px; font-family: verdana, arial; }

They have: 166 posts

Joined: Mar 2006

Hey nah, its fixed itself, dont ask me how, but it doesnt do it anymore, and I havent changed anything?

And hey, I dont have any css in my site, because I dont know how to do it yet Sticking out tongue

Thanks for the reply though mate. Im going to leave hose two warnings about the coutry and flag characters.

They have: 166 posts

Joined: Mar 2006

Hi guys,

How would i make this valid?

&lt;script language=javascript src="http://www.clickXchange.com/jd.phtml
?act=1644276.1"&gt;&lt;/script&gt;<noscript>
<table><tr><td><a href="http://www.clickXchange.com/ur.phtml
?act=1644276.1" target="_top">
<img src="http://www.clickXchange.com/bd.phtml?act=1644276.1"
border=0></a></td></tr>
</table></noscript>
'

The errors are.

1.
an attribute value specification must be an attribute value literal unless
SHORTTAG YES is specified.

&lt;script language=javascript src="http://www.clickXchange.com/jd.phtmlact=164427
------------
2.
required attribute "type" not specified.

...Xchange.com/jd.phtml?act=1644276.1" /&gt;&lt;/script&gt;

The attribute given above is required for an element that you've used, but
you have omitted it. For instance, in most HTML and XHTML document types
the "type" attribute is required on the "script" element and the "alt" attribute
is required for the "img" element.

Typical values for type are type="text/css" for <style> and
type="text/javascript" for &lt;script&gt;.
------------
3.
end tag for element "script" which is not open.

...om/jd.phtml?act=1644276.1" />&lt;/script&gt;

The Validator found an end tag for the above element, but that element is
not currently open. This is often caused by a leftover end tag from an
element that was removed during editing, or by an implicitly closed element
(if you have an error related to an element being used where it is not
allowed, this is almost certainly the case). In the latter case this error will
disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should
probably read this FAQ entry.
------------
4.
document type does not allow element "noscript" here; missing one
of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

<noscript>

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>").
------------
'

I know you told me how to fix it, but this is a bit different.

I promise this is the last time I ask for help Laughing out loud...

dk01's picture

He has: 516 posts

Joined: Mar 2002

DSSR wrote: Hi guys,

How would i make this valid?

&lt;script language=javascript src="http://www.clickXchange.com/jd.phtml
?act=1644276.1"&gt;&lt;/script&gt;<noscript>
<table><tr><td><a href="http://www.clickXchange.com/ur.phtml
?act=1644276.1" target="_top">
<img src="http://www.clickXchange.com/bd.phtml?act=1644276.1"
border=0></a></td></tr>
</table></noscript>
'

The errors are.

1.
an attribute value specification must be an attribute value literal unless
SHORTTAG YES is specified.

&lt;script language=javascript src="http://www.clickXchange.com/jd.phtmlact=164427
------------
2.
required attribute "type" not specified.

...Xchange.com/jd.phtml?act=1644276.1" /&gt;&lt;/script&gt;

The attribute given above is required for an element that you've used, but
you have omitted it. For instance, in most HTML and XHTML document types
the "type" attribute is required on the "script" element and the "alt" attribute
is required for the "img" element.

Typical values for type are type="text/css" for <style> and
type="text/javascript" for &lt;script&gt;.
------------
3.
end tag for element "script" which is not open.

...om/jd.phtml?act=1644276.1" />&lt;/script&gt;

The Validator found an end tag for the above element, but that element is
not currently open. This is often caused by a leftover end tag from an
element that was removed during editing, or by an implicitly closed element
(if you have an error related to an element being used where it is not
allowed, this is almost certainly the case). In the latter case this error will
disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should
probably read this FAQ entry.
------------
4.
document type does not allow element "noscript" here; missing one
of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

<noscript>

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>").
------------
'

I know you told me how to fix it, but this is a bit different.

I promise this is the last time I ask for help Laughing out loud...

Remove: language="javascript" from the script tag and add type="text/javascript" instead.

That should solve the first 3 errors. Post back if the 4th error still exists after you change that line.

Busy's picture

He has: 6,151 posts

Joined: May 2001

4. Take the table tags out, they aren't needed anyway

remove:

and

They have: 166 posts

Joined: Mar 2006

Yeah, errors 3 and 4 still exists. If I remove noscript, then it doesnt rotate the banner, instead, it places all the banners there at once instead of when the page is reloaded.

But it's working at least Smiling Any solution to this?

Thanks mate.

And I removed the table, tr, and td, thanks bro. Why do my affiliates put them there when we dont need em?

They have: 36 posts

Joined: Mar 2006

The script is valid HTML 4.01 apart from the missing alt tag but it's not valid for XHTML. XHTML does not permit the noscript tag to be used just anywhere, there are only certain tags it can be used inside of. I can't tell exactly what the error is without your code but I can tell you that blockquote, body, button, dd, del, dfn, div, fieldset, form, ins, li, map, noscript, object, td, and th are the only permissible parent tags (no I'm not smart enough to know them all off the top of my head, I had to look them up).

The following validates if it's any help.

<div>
&lt;script type="text/javascript" src="http://www.clickXchange.com/jd.phtml
?act=1644276.1"&gt;&lt;/script&gt;
<noscript>
<a href="http://www.clickXchange.com/ur.phtml
?act=1644276.1" target="_top">
<img src="http://www.clickXchange.com/bd.phtml?act=1644276.1"
border="0" alt="test"/></a></noscript>
</div>
'
Whether it works is another thing entirely Laughing out loud

They have: 166 posts

Joined: Mar 2006

Wow dude, thanks heaps, it works perfectly. Laughing out loud

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.