Bonjour,
j'ai rendu tout un bloc cliquable, mais j'ai des messages d'erreurs lors de la validation W3C
L'extrait de code html/php qui génère ces erreurs :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>").
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 <div class="services"> <a href="<?php echo $instance['column_title_link']; ?>" style="display:block;width:100%;height:100%;"> <h3><?php echo $instance['column_title']; ?></h3> <?php if ( $columnicon ) { ?> <span class="service-icon"> <?php echo $instance['column_icon']; ?> </span> <?php } ?> <div class="clear"></div> <p><?php echo $instance['column_content']; ?></p> </a> </div>
Je ne vois pas comment solutionner ça…
Comment faire ?
Merci pour l'aide
Paul
Partager