Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2002
    Thanked 0 Times in 0 Posts

    Validating to XHTML 1.0 and Errors in NN 4

    I have my website validated for XHTML 1.0 Transitional and have a question regarding some tags I'm having problmes with.

    If I make it so it displays correctly in all browsers by inserting the form tags in between the <table> and <tr> tags, it comes up with errors in the validation. If I make it so it validates corectly and use CSS to set the margin to 0px, it adds the line break in NN4.

    What is the best thing to do in this case? Make it so the table looks like crap in NN4 (it uses a lot of graphics which looks bad when the line is added), or make it so it looks right in all browsers but so it doesn't validate properly.

    OK I just came across another problem with NN4. I use a background image on my site. I used to have it defined in my CSS then I saw it wasn't showing up in NN4. I set the background in the <body> tag but now it's coming up with an error in the validator. What should I do?

    The marginwidth="0" marginheight="0" is also coming up with problems, but I need to get rid of the margin so it looks right in NN4.

    In my form image submit button a border will appear if I don't set it to border="0" and it comes up with an error in the validator. Should I add the tag or remove it?

    I would really like my site to look correctly in all browsers but I'm just not sure what I should do.


    Any advice would be greatly appreciated.


  • #2
    Senior Coder
    Join Date
    Jun 2002
    near Oswestry
    Thanked 0 Times in 0 Posts
    I suggest you sit and decice now whether to support netscape 4 or not:

    If you do want to properly support it, then use the form hack and marginwidths, and forget about the validator.

    If you're prepared to relegate ns4 to the status of "old browser" - so you only worry about basic legibility and coherent navigation - then code to compliance.

    I would suggest the latter.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts