Help - Search - Members - Calendar
Full Version: Missing lines in table
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
denmarks
Sometimes when I display this page
http://dmmarks.com/hawaii.html
a few of the right outside lines on the table do not appear.
A refresh of the page fixes it. What could cause that?
Darin McGrew
I didn't notice the problem you described, but the online tools report markup and CSS errors, including some structural problems:
http://htmlhelp.com/cgi-bin/validate.cgi?u...mp;warnings=yes
http://jigsaw.w3.org/css-validator/validat...ng=&lang=en
denmarks
QUOTE(Darin McGrew @ Jul 7 2011, 10:50 AM) *

I didn't notice the problem you described, but the online tools report markup and CSS errors, including some structural problems:
http://htmlhelp.com/cgi-bin/validate.cgi?u...mp;warnings=yes
http://jigsaw.w3.org/css-validator/validat...ng=&lang=en


I have changed the <img ...> to <img ... /> and <br> to <br />.
Most of the others are false errors or things that don't really matter.
Darin McGrew
CODE
Error: character not allowed in prolog
This looks like an extraneous BOM, but regardless, it can throw browsers into quirks mode:
http://hsivonen.iki.fi/doctype/

CODE
Error: element a not allowed here; possible cause is an inline element containing a block-level element
This is a structural problem, and occurs several times. You're missing some closing </a> tags.

CODE
The maximum number of errors was reached. Further errors in the document have not been reported.
There are probably more errors (including structural errors) but the validator won't report them until you fix the other errors.
denmarks
QUOTE(Darin McGrew @ Jul 7 2011, 01:04 PM) *

CODE
Error: character not allowed in prolog
This looks like an extraneous BOM, but regardless, it can throw browsers into quirks mode:
http://hsivonen.iki.fi/doctype/

CODE
Error: element a not allowed here; possible cause is an inline element containing a block-level element
This is a structural problem, and occurs several times. You're missing some closing </a> tags.

CODE
The maximum number of errors was reached. Further errors in the document have not been reported.
There are probably more errors (including structural errors) but the validator won't report them until you fix the other errors.


Thank you for your help. I have fixed many of the important errors. I can not understand the first error. That is not in the HTML source.
EDIT: I have fixed the first error. I was defining the page as UTF8 which was not needed.
denmarks
Is there a replacement for the marquee command which the validator does not like?

Many of the errors refer to links that I have copied from other sites. For example there are links to Princess.com for each city. There is no way to change them.

The page displays fine in IE and Firefox so does it really matter if I fix the minor errors?
Darin McGrew
The marquee element isn't in any public (X)HTML specification before HTML 5. But IMHO marquee should be avoided anyway.

To fix the errors in the links, see:
http://htmlhelp.com/tools/validator/problems.html.en#amp
pandy
QUOTE(denmarks @ Jul 7 2011, 10:44 PM) *

Thank you for your help. I have fixed many of the important errors. I can not understand the first error. That is not in the HTML source.
EDIT: I have fixed the first error. I was defining the page as UTF8 which was not needed.


It is, but you don't see it. You have probably used an editor that insists on inserting a BOM (Byte Order Mark) even though it isn't needed for UTF-8.
http://www.w3.org/International/questions/qa-byte-order-mark

You seem to have gotten rid of it now anyhow. But for the future, see if you can make your editor not insert it in the first place or consider another editor.
pandy
Heh, I didn't read your last sentence even though I quoted it. blush.gif tongue.gif

Anyhow, you should be able to save as UTF-8. Most editors don't use a BOM for that.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.