Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Nov 2008
    Location
    Norway
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Validating my site... it's tricky!

    I have never bothered to validate my sites before. I've started to think this might come handy, and everybody is recommending it. Also, I have some trouble with accessing my sites from different browsers. So, here goes:

    But, when I try to validate, there are to many issues I can't manage to fix. Something with the META tag, and some are just annoying always refering to either " 's or the tags. Can anyone take a quick look. I warn you for "error-shock" I have been floating on air with my coding, now I really want to learn the real deep down basics of a validated file.

    You may check out this file for validation:
    http://ingeborgh.com/index.php

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    you've got no doc type for beginners
    way to many large pictures on one page
    iframes confuse search engines and validators
    forgot <tr> & </tr> on tables
    etc

    put it in the link below and post for each problem you can't figure out
    http://validator.w3.org/
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #3
    New Coder
    Join Date
    Nov 2008
    Location
    Norway
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Don't know how to fix this.

    Thank you for answering

    I can't understand this.

    Unable to Determine Parse Mode!
    No Character Encoding Found! Falling back to UTF-8.
    No DOCTYPE found! Checking with default HTML 4.01 Transitional Document Type.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Read this sticky on doctypes.

    Which Dtd (doctype) to use on page?

    Also add this just before you closing </head> tag.
    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • Users who have thanked _Aerospace_Eng_ for this post:

    ingeborgh (11-10-2008)

  • #5
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,695
    Thanks
    0
    Thanked 232 Times in 227 Posts
    Hi there ingeborgh,

    and a warm welcome to these forums.

    I can't understand this.
    It seems that at your present level of coding, page validation is beyond you.

    So here is your page validated.
    Code:
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    
    <title>ingeborgh</title>
    
    <link type="text/css" href="/layout/stylesheets/css.css" rel="stylesheet">
    
    </head>
    <body>
    
    <table style="width:100%; height: 100%" border="0" cellpadding="0" cellspacing="0"><tr>
    <td align="center" valign="middle">
    <table style="width:477px; background-color:#969696;" cellpadding="0" cellspacing="0">
    <tr>
    <td style="height:471px; background-color:#969696;">
    <img src="http://ingeborgh.com/layout/headers/side12.jpg" border="0" alt="">
    </td>
    <td style="width: 477px; height: 471px; background-color:#969696;">
    <img src="http://ingeborgh.com/layout/headers/middle2.jpg" border="0"  alt="">
    </td>
    <td style="background-color:#969696; height: 471px;">
    <img src="http://ingeborgh.com/layout/headers/side22.jpg" border="0" alt="">
    </td>
    </tr><tr>
    <td style="width: 50px; height: 243px; background-color:#969696;" rowspan="2">&nbsp;</td>
    <td style="width: 477px; height: 5px; padding-top: 2px; padding-bottom: 2px; padding-right: 5px; background-color:#ffffff;">
    <div align="right">
    <center><span class="tekst">
    <a href="/webdesign.php"><span class="mini">WEBDESIGN</span></a> ⁘ 
    <a href="/meg.php"><span class="mini">INGEBORG</span></a> ⁘ 
    <a href="/index.php"><span class="mini">FORSIDEN</span></a> ⁘ 
    <a href="/o"><span class="mini">ODINS SIDE</span></a>  ⁘
    <a href="/stubbe.php"><span class="mini">STUBBE</span></a> ⁘
    <a href="2/outside.php"><span class="mini">OUTSIDE</span></a>
    </span></center>
    </div>
    </td>
    </tr><tr>
    <td style="padding:10px; width: 477px; height: 100%; background-color:#ffffff;">
    <iframe src="b" height="10700" width="100%" name="innhold" marginwidth="40" marginheight="20" scrolling="auto" frameborder="0"></iframe>
    </td>
    <td style="width:17px; height:243px;background-color:#969696;" rowspan="2">&nbsp;</td>
    </tr></table>
    </td>
    </tr></table>
    
    </body>
    </html>
    
    ...perhaps you will be more successful with your CSS validation...

    You may, also find some of these links illuminating.
    coothead

  • Users who have thanked coothead for this post:

    ingeborgh (11-10-2008)

  • #6
    New Coder
    Join Date
    Nov 2008
    Location
    Norway
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Are tables really that bad

    EDIT:

    I admit page valitation coding is beyond me, and appreciate your help


    PHP Code:
    document type does not allow element "P" heremissing one of "APPLET""OBJECT""MAP""IFRAME""BUTTON" start-tag.

    &
    #8230;serer meg for (altså ikke ex phil).<p></span> 
    This does not make sense. I always use
    PHP Code:
    <p
    as paragraphs, or paragraphdividers.
    Last edited by ingeborgh; 11-10-2008 at 08:56 PM. Reason: Adding info in this post, so I didn't have to make a new one. 2. edit: sorry for not knowing the PHP tag's function.

  • #7
    New Coder
    Join Date
    Nov 2008
    Location
    Norway
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    I managed!

    Whoa! I managed to validate a site!

    I notice I don't use "-s and alt="" and close tags properly. I will hereby be strict to myself when coding.

    Click here to see the marvellous result!

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    very nice of coothead to do that...
    it's probably best if the coder learns themselves
    because of aerospace eng's red sig text

    z
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">


  •  

    Tags for this Thread

    Posting Permissions

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