Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
  1. #1
    Senior Member
    Join Date
    Oct 2002
    Location
    Nashville, Tennessee
    Posts
    133
    Member #
    233
    Hello!

    I'm working on a page (don't bother clicking the links, they don't go anywhere) right now, and I'm wanting to make sure it's valid Xhtml 1.0 Strict, but the validator tells me it's not. Do I not need the <html> or the <head> tags in xhtml??? The validator keeps telling me those are invalid...is there a good site I can go to that's less than totally boring that'll give me info on that kind of thing? I really wanna be up to standards, but it's not working right for me. And it doesn't display right in Mozilla either (well, that's debatable...it probably DOES display right in Mozilla, just not in IE's proprietary way of doing it, but since everybody uses IE, it's considered right....). Anybody got any ideas on that one???

    Thanks!

  2.  

  3. #2
    Senior Member
    Join Date
    Oct 2002
    Location
    Nashville, Tennessee
    Posts
    133
    Member #
    233
    DUH! In case you want the link to check the code out....go here: http://www.scottcleans.com/chris

  4. #3
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    i think you need <html></html> tags placed straight before and after the <head></body> tags. Not 100% certain on this one though.
    JR

  5. #4
    Senior Member
    Join Date
    Oct 2002
    Location
    Nashville, Tennessee
    Posts
    133
    Member #
    233
    Hmmm....nope, didn't work....It gives me the following error:

    Below are the results of attempting to parse this document with an SGML parser.

    Line 3, column 0: character "<" invalid
    <html><head>
    ^
    Line 3, column 0: cannot continue because of previous errors
    <html><head>
    ^

  6. #5
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    by the way i am using netscape 7 and it does not display the same as in IE, but it still looks cool. i will give you a print screen (ignore the dodgy colours)...
    Attached Images Attached Images
    JR

  7. #6
    Senior Member
    Join Date
    Oct 2002
    Location
    Nashville, Tennessee
    Posts
    133
    Member #
    233
    Thanks! I was wanting it to display just like it does in IE, a simple box with drop shadow effects...I wish the stupid browser companies would just get together and apply the standards in the same ways! Yeesh! It's irritating!

  8. #7
    Senior Member
    Join Date
    Oct 2002
    Location
    Nashville, Tennessee
    Posts
    133
    Member #
    233
    Okay, I took out the <html> tags all together, and now it says that it's having a problem with <head>...It always stops at the '<' symbol, as if it doesn't like that symbol or something. Does Xhtml use a different symbol for opening and closing tags that I don't know about???

  9. #8
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    im not sure what this is it looks ok, just look around the net for examples of xhtml see if they are doing anything differently.
    JR

  10. #9
    Senior Member
    Join Date
    Oct 2002
    Location
    Nashville, Tennessee
    Posts
    133
    Member #
    233
    I went to the following page:

    http://www.nypl.org/styleguide/xhtml/guidelines.html

    and looked at their source code, but it's the same as mine as far as most of it goes. The only difference I see is that they close their doctype with a '>' but when I do that on my page, it really throws the validator off. I validated their page, and it's correct....weird...I'll keep looking...

  11. #10
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    maybe the validator is just messed up thinks that < is text and it wants you to put in the character code. Just a guess.
    JR


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:52 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com