• Login
  • Register
  • Zoek
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Filebase Entry
  • More Options

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Scripting & programmeren
  4. (X)HTML + XML + CSS

Forum

  • Het Grote Vibe Code Topic

    Jeroen.G 11 mei 2026 om 09:28
  • Ictscripters Chat

    AarClay 21 april 2026 om 11:34
  • PWYL source gezocht

    Syntax 25 maart 2026 om 11:44
  • Help testers nodig voor android app Urgent

    Servertjee 20 februari 2026 om 12:07
  • Partner Gezocht om meerdere NFT Collecties op Open Sea te Plaatsen

    Servertjee 20 februari 2026 om 12:06
  • Afspraken systeem met planbeperking

    Jeffrey.Hoekman 20 februari 2026 om 11:52
  • Developer Gezocht

    Servertjee 19 februari 2026 om 17:31
  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Servertjee 18 februari 2026 om 16:57

Marktplaats

  • 370 Nieuwe Domeinnamen April 2026

    shiga 1 mei 2026 om 12:06
  • Snel een website nodig?

    Syntax 10 april 2026 om 12:55
  • Sicarras.com - Moderne Mafia Text-Based RPG

    Syntax 5 april 2026 om 16:22

Basing

  • lhmedia
  • 19 augustus 2009 om 16:30
  • Closed
  • lhmedia
    Professional
    Berichten
    735
    • 19 augustus 2009 om 16:30
    • #1

    ik ben bezig met mijn site w3c valide temaken maar ik kom deze error tegen en ik snap de error niet helemaal. dit is de error:

    Line 95, Column 49: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <a href="index.php?p=register"><div id="button2">Aanmelden</div></a> ✉
    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    kan iemand mij aub helpen?

  • Niels
    -1
    Berichten
    1.360
    • 19 augustus 2009 om 16:33
    • #2

    Laat hem eens via w3 zelf zien. Dus met de link naar de site waar je aan werkt. Dit is nogal irritant om het zo te lezen zonder in iedergeval code tags

    -1

  • lhmedia
    Professional
    Berichten
    735
    • 19 augustus 2009 om 16:34
    • #3

    w3 url:
    http://validator.w3.org/check?uri=http…lidator%2F1.654


    php script:

    PHP
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl"> 
            <head> 
                    <title>ItalianDon - Be a Godfather</title> 
                    <link rel="stylesheet" type="text/css" href="opmaak.css" /> 
    				<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
            <script type="text/javascript">
    
    
    var dragswitch=0
    var nsx
    var nsy
    var nstemp
    
    
    function drag_dropns(name){
    temp=eval(name)
    temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
    temp.onmousedown=gons
    temp.onmousemove=dragns
    temp.onmouseup=stopns
    }
    
    
    function gons(e){
    temp.captureEvents(Event.MOUSEMOVE)
    nsx=e.x
    nsy=e.y
    }
    function dragns(e){
    if (dragswitch==1){
    temp.moveBy(e.x-nsx,e.y-nsy)
    return false
    }
    }
    
    
    function stopns(){
    temp.releaseEvents(Event.MOUSEMOVE)
    }
    
    
    
    
    //drag drop function for IE 4+////
    /////////////////////////////////
    
    
    var dragapproved=false
    
    
    function drag_dropie(){
    if (dragapproved==true){
    document.all.showimage.style.pixelLeft=tempx+event.clientX-iex
    document.all.showimage.style.pixelTop=tempy+event.clientY-iey
    return false
    }
    }
    
    
    function initializedragie(){
    iex=event.clientX
    iey=event.clientY
    tempx=showimage.style.pixelLeft
    tempy=showimage.style.pixelTop
    dragapproved=true
    document.onmousemove=drag_dropie
    }
    
    
    
    
    if (document.all){
    document.onmouseup=new Function("dragapproved=false")
    }
    
    
    function hidebox(){
    if (document.all)
    showimage.style.visibility="hidden"
    else if (document.layers)
    document.showimage.visibility="hide"
    }
    
    
    
    
    </script>
    		</head> 
            <body> 
    		<div id="content2">
    		<div id="leeg"></div>
    		<div id="tekstgedeelte">
    <?php
    include("includes/systemen/outgame/inc.login.php");
    
    
    ob_start();
    if(file_exists("outgame/" . @$_GET['p'] . ".php") && @$_GET['p'] != 'login') {
      include "outgame/" . @$_GET['p'] . ".php";
    } else {
      include "outgame/login.php";
    }
    ?>
    		</div>
    		<div id="leeg2"></div>
    <div id="button">  
    <? 
    if($_GET['p'] == register){
    echo'<a href="index.php"><div id="button2">Inloggen</div></a>';
    } else {
    echo'<a href="index.php?p=register"><div id="button2">Aanmelden</div></a>';
    }
    ?>  
    		<? 
    if($_GET['p'] == reset){
    echo'<a href="index.php"><div id="button3">Inloggen</div></a>';
    } else {
    echo'<a href="index.php?p=reset" ><div id="button3">Wachtwoord</div></a>';
    }
    ?>             
    </div>  
    
    
    		</div>
            </body>
    Toon Meer

    edit: was mijn site link nog vergeten. bij deze:
    http://lhmedia.nl/layouts/official/

  • Stefan.J
    Master
    Ontvangen Reacties
    9
    Berichten
    2.358
    • 19 augustus 2009 om 16:38
    • #4

    Een div-element kan niet in een a-element staan. Een div-element is namelijk een block element, en een a element is een inline element: Block elementen kunnen niet in inline elementen staan, alleen andersom.

  • Thisguyisgone
    Elite members
    Ontvangen Reacties
    197
    Berichten
    7.880
    • 19 augustus 2009 om 16:39
    • #5
    PHP
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl"> 
            <head> 
                    <title>ItalianDon - Be a Godfather</title> 
                    <link rel="stylesheet" type="text/css" href="opmaak.css" /> 
                    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
            <script type="text/javascript">
    
    
    var dragswitch=0
    var nsx
    var nsy
    var nstemp
    
    
    function drag_dropns(name){
    temp=eval(name)
    temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
    temp.onmousedown=gons
    temp.onmousemove=dragns
    temp.onmouseup=stopns
    }
    
    
    function gons(e){
    temp.captureEvents(Event.MOUSEMOVE)
    nsx=e.x
    nsy=e.y
    }
    function dragns(e){
    if (dragswitch==1){
    temp.moveBy(e.x-nsx,e.y-nsy)
    return false
    }
    }
    
    
    function stopns(){
    temp.releaseEvents(Event.MOUSEMOVE)
    }
    
    
    
    
    //drag drop function for IE 4+////
    /////////////////////////////////
    
    
    var dragapproved=false
    
    
    function drag_dropie(){
    if (dragapproved==true){
    document.all.showimage.style.pixelLeft=tempx+event.clientX-iex
    document.all.showimage.style.pixelTop=tempy+event.clientY-iey
    return false
    }
    }
    
    
    function initializedragie(){
    iex=event.clientX
    iey=event.clientY
    tempx=showimage.style.pixelLeft
    tempy=showimage.style.pixelTop
    dragapproved=true
    document.onmousemove=drag_dropie
    }
    
    
    
    
    if (document.all){
    document.onmouseup=new Function("dragapproved=false")
    }
    
    
    function hidebox(){
    if (document.all)
    showimage.style.visibility="hidden"
    else if (document.layers)
    document.showimage.visibility="hide"
    }
    
    
    
    
    </script>
            </head> 
            <body> 
            <div id="content2">
            <div id="leeg"></div>
            <div id="tekstgedeelte">
    <?php
    include("includes/systemen/outgame/inc.login.php");
    
    
    ob_start();
    if(file_exists("outgame/" . @$_GET['p'] . ".php") && @$_GET['p'] != 'login') {
      include "outgame/" . @$_GET['p'] . ".php";
    } else {
      include "outgame/login.php";
    }
    ?>
            </div>
            <div id="leeg2"></div>
    <div id="button">  
    <? 
    if($_GET['p'] == register){
    echo'<div id="button2"><a href="index.php">Inloggen</a></div>';
    } else {
    echo'<div id="button2"><a href="index.php?p=register">Aanmelden</a></div>';
    }
    ?>  
            <? 
    if($_GET['p'] == reset){
    echo'<div id="button3"><a href="index.php">Inloggen</a></div>';
    } else {
    echo'<div id="button3"><a href="index.php?p=reset">Wachtwoord</a></div>';
    }
    ?>             
    </div>  
    
    
            </div>
            </body>
    Toon Meer



    Nieuwe reactie samengevoegd met originele reactie op 19.08.09 16:43:17:

    Citaat van Killingdevil

    Een div-element kan niet in een a-element staan. Een div-element is namelijk een block element, en een a element is een inline element: Block elementen kunnen niet in inline elementen staan, alleen andersom.


    Je was me net voor, maar heb het aangepast :D

  • lhmedia
    Professional
    Berichten
    735
    • 19 augustus 2009 om 16:46
    • #6

    mijn dank is groot:d

  • Stefan.J
    Master
    Ontvangen Reacties
    9
    Berichten
    2.358
    • 19 augustus 2009 om 16:55
    • #7

    Jammer dat iemand het dan weer voorkauwt... Zo leren we nooit iets natuurlijk.

  • lhmedia
    Professional
    Berichten
    735
    • 19 augustus 2009 om 16:57
    • #8

    klopt maar daarboven is het uitgelegt dus nu weet ik het.

Participate now!

Heb je nog geen account? Registreer je nu en word deel van onze community!

Maak een account aan Login

ICT Nieuws

  • Datalek bij leverancier Canvas - Universiteit van Amsterdam

    ICTscripters 10 mei 2026 om 12:03
  • Data privacy in 2026: Hoe de naleving van GDPR verandert

    ICTscripters 8 mei 2026 om 12:16
  • Tech.eu - Europees Start-up, Financiering en Technologienieuws

    ICTscripters 7 mei 2026 om 12:15

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37

Gebruikers die dit topic bekijken

  • 1 Gasten
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacy Policy
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen | Beste Zetes eid kaartlezer webshop
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design