CSE Question

  • Thread starter Thread starter Wally S
  • Start date Start date
W

Wally S

I can't find a CSE newsgroup, so I am hoping someone here can help me. Last
night, I downloaded CSE, and it seems useful. The problem is that it finds
an error in the following, which is a cell from my navigation bar. This
coding works fine, and it does just what I want, but CSE does not like the
semicolons. It says that the semicolon is not a valid td attribute. This
coding also works on IE6 without the semicolons, but I do not know whether
it will work everywhere. I would like to use CSE because it does find some
interesting things, but by the time it finishes with my navigation bar, it
has no room to report any more errors.

<td
onmouseover="this.className='greenlink'"

title="Mumbai from Jan 2 till Feb 1.";

onmouseout="this.className='boldlink'";

width="100%" bgcolor="#FFE7CE"

height="18" class="boldlink"><font

face="Arial" size="1"><b><a

href="2003/12/11.20/17.mahabharat.audition/index.html">Jan

2,&nbsp;&nbsp; Auditions for Mahabharata</a></b></font></td>

Thanks,

Wally
 
In general, I'm not a big fan of HTML validators. The
browsers aren't 100% standards-compliant, so what good
does it do if your HTML is 100% compliant?

Also, most designers try to make one Web page appear
correctly in all browsers. As a result, the HTML contains
an assortment of techniques from various vendor versions
of HTML.

Also, virtually all HTML editors add non-standard
elements for their own use, and not for display.

Finally, many HTML checkers come from suppliers of HTML
editors. Guess whose editor passes with flying colors?

Those semicolons between the TD attributes *are* strange,
though. What version of FrontPage were you using? What
Theme and what settings?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Thanks for the answer. I don't use themes, and I did not design this with
FP. I knew the effect I wanted, so I checked the various script and style
websites till I found what I wanted, and that included the semicolons. And
it works.

I know what you mean about HTML validators, but this one came highly
recomended, and I thought that maybe I could get faster-loading pages by
checking the HTML. Otherwise, I'm not having any problems.

Thanks again.

Wally S
 
CSE doesn't like the semicolons because they are illegal constructs as separators for attributes
Change it to
<td onmouseover="this.className='greenlink';" title="Mumbai from Jan 2 till Feb 1." onmouseout="this.className='boldlink';"
width="100%" bgcolor="#FFE7CE"
height="18" class="boldlink">

PS
Also the dots in file and folder names & your.links will cause you problems
Change them to under_scores:

<a href="2003/12/11_20/17_mahabharat_audition/index.html">



| I can't find a CSE newsgroup, so I am hoping someone here can help me. Last
| night, I downloaded CSE, and it seems useful. The problem is that it finds
| an error in the following, which is a cell from my navigation bar. This
| coding works fine, and it does just what I want, but CSE does not like the
| semicolons. It says that the semicolon is not a valid td attribute. This
| coding also works on IE6 without the semicolons, but I do not know whether
| it will work everywhere. I would like to use CSE because it does find some
| interesting things, but by the time it finishes with my navigation bar, it
| has no room to report any more errors.
|
| <td
| onmouseover="this.className='greenlink'"
|
| title="Mumbai from Jan 2 till Feb 1.";
|
| onmouseout="this.className='boldlink'";
|
| width="100%" bgcolor="#FFE7CE"
|
| height="18" class="boldlink"><font
|
| face="Arial" size="1"><b><a
|
| href="2003/12/11.20/17.mahabharat.audition/index.html">Jan
|
| 2,&nbsp;&nbsp; Auditions for Mahabharata</a></b></font></td>
|
| Thanks,
|
| Wally
|
|
 
Thanks for the answer. I took out the semicolons based on Jim Buyens's
reply, and it all seems to work just as well without them. Would you
recommend that I put them back in where you placed them? Or should I just
leave them out?

I'm curious about the dots. I've been using them for the last five years,
and I have never had a single complaint that a link does not work or that a
page will not load, etc., at least not for that reason. And many of my
readers are in third-world countries and probably don't have the latest IE.
Still, I guess if they're a potential source of trouble, it might be worth
my while to phase them out.

Thanks for your time.

Wally S

Stefan B Rusynko said:
CSE doesn't like the semicolons because they are illegal constructs as separators for attributes
Change it to
<td onmouseover="this.className='greenlink';" title="Mumbai from Jan 2
till Feb 1." onmouseout="this.className='boldlink';"
 
CSE is not a javascript validator, it is an html validator.
Ignore any errors it displays concerning javascript.
 
Thanks for the reply. Your advice makes sense, but every time I use CSE on a
page, I will be annoyed by all the errors concerning semicolons, so I tried
taking them out, and so far everything seems to work just as well without
them. I'll see whether I get any complaints.

By the way, I got turned on to CSE on your site, which I log onto whenever I
feel like having some fun. Thanks for the reply and thanks for the site.
I've already gotten some useful things from it.

Wally S
 
Back
Top