1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML HTML or CSS help

Discussion in 'Web Development' started by navyfalcon, Oct 28, 2008.

  1. navyfalcon

    navyfalcon Well-Known Member Verified Member

    I am trying to correct validation errors or warnings on this page
    http://freetutorials.name/Reference1/Mechanical_Hydraulic.html
    The problem is in the header or banner
    lines 87 - 89

    <body>
    <!--========== Banner ==========-->
    <div id="header">
    87. <b><h2>Mechanical/Hydraulics Tutorials</h2>
    88.<p>Air Compressors, Conveyor Basics, Machine Tools, Hydraulic Technical Library, Basic Hydraulics, Fluid Mechanics, Basic Lubrication, Maintenance Management, Hand Tools and their uses, Free CAD Programs, mechanic jobs.
    89.</p></b>
    <a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()"><img src="http://freetutorials.name/Images/menu.gif" width="85" height="20"
    align="BOTTOM" border="0" alt="MENU"></a>
    <a href="default2.htm" onClick="return dropdownmenu(this, event, menu2, '200px')" onMouseout="delayhidemenu()"></a>
    </div>
    -
    but when I correct the problem it creates problems with the banner display.
    I don'k know how to correct it and maintain the banner display as it is.
    -
    Any help would be appreciated
    -
    Thank You
    falcon
     
  2. navyfalcon

    navyfalcon Well-Known Member Verified Member

    Finally corrected the code to be complient (corrected validation errors)
    -
    is there a better way ??
    -
    Thank You
    falcon
     
  3. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    [Error] contact.html (79): End tag </b> without start tag
    [Error] contact.html (105): Required end tag </a> not found
    [Error] contact.html (171): End tag </span> without start tag
    [Error] contact.html (195): End tag </div> without start tag
    [Warning] contact.html (89): Illegal symbol < within tag
    Here's what I found
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Cancel that wrong web
    This is yours
    [Error] NoName.html (125): Undefined internal link #Mechanical
    [Error] NoName.html (476): Undefined internal link #Mechanical
    [Warning] NoName.html (53): javascript: ";" expected.
    [Warning] NoName.html (54): javascript: ";" expected.
    [Warning] NoName.html (55): javascript: ";" expected.
    [Warning] NoName.html (56): javascript: ";" expected.
    [Warning] NoName.html (57): javascript: ";" expected.
    [Warning] NoName.html (58): javascript: ";" expected.
    [Warning] NoName.html (59): javascript: ";" expected.
    [Warning] NoName.html (60): javascript: ";" expected.
    [Warning] NoName.html (61): javascript: ";" expected.
    [Warning] NoName.html (62): javascript: ";" expected.
    [Warning] NoName.html (63): javascript: ";" expected.
    [Warning] NoName.html (64): javascript: ";" expected.
     
  5. navyfalcon

    navyfalcon Well-Known Member Verified Member

    This is the code:
    <script type="text/javascript">
    /***********************************************
    * AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    //Contents for menu 1
    var menu1=new Array()
    menu1[0]='<a href="#Mechanical">Mechanical<\/a>'
    menu1[1]='<a href="#Hydraulic">Hydraulic<\/a>'
    menu1[2]='<a href="#Tools">Hand Tools<\/a>'
    menu1[3]='<a href="#Machine">Machine Tools<\/a>'
    menu1[4]='<a href="#Lubrication">Lubrication<\/a>'
    menu1[5]='<a href="#Bearings">Bearings<\/a>'
    menu1[6]='<a href="#Conveyors">Conveyors<\/a>'
    menu1[7]='<a href="#CAD">Free CAD<\/a>'
    menu1[8]='<a href="#Tutorials">CAD Tutorials<\/a>'
    menu1[9]='<a href="#Jobs">Jobs<\/a>'
    menu1[10]='<a href="Employment_Agencies.html">Employment Agcy<\/a>'
    </script>

    Information from:
    http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
    -
    will try and correct errors
    -
    Thank You for your time and information
    falcon