bonjour à tous, j'utilise wordpress que j aime bien comme dotclear.
je bidouille pas mal les themes ce qui doit causer quelques soucis
j'ai donc fait mon themes domax4u le nom de ma boite jusque la je ne m'inquietais ps des standards mais les clients demandent alors je dois m y mettre je l' ai mis sur mon site mais voila il y a des erreurs que je ne comprends pas. les problemes bandeau flash tout ca j ai réglé.
il y aussi du php dans wordpress
bon en fin voilà mes codes si quelqu'un peut m aiguiller.
<!--le code du header-->
<!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="fr" lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<!--icone du nav-->
<link rel="shortcut icon" href="http://www.domax4u.com/favicon.ico"/>
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' _Agence web_'; } ?> <?php bloginfo('name'); ?></title>
<meta name="keywords" content="création de site web, création de site Internet, agence web, web agency, référencement site Internet, css, html, xhtml, w3c, standards, styles CSS, style, conception web, menu css, gabarit, web design, Internet, stratégie Internet, site flash, développement Internet, refonte site Internet, identité visuelle Internet, communication Internet, référencement naturel, formations, conseils, action script,flash, photoshop, photographe, vidéaste" />
<meta name="description" DOMAX4U conception de sites web, HTML , CSS conformes aux standards W3C, codeveloppement, référencement, design, refonte de sites, CMS adapté, formations" />
<meta name="subject" content="DOMAX4U, agence WEB, codéveloppement de sites internet, standards du web"/>
<meta name="author" CONTENT="Domax4u" />
<meta name="revisit-after" CONTENT="1 days" />
<meta name="identifier-url" CONTENT="http://domax4u.com"/>
<meta name="reply-to" CONTENT="contact@domax4u.com"/>
<meta name="robots" content="all" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!--we need this for plugins-->
<?php wp_head(); ?>
</head>
<body>
<!--testflash-->
<div id="headerimage">
<div align="left">
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="1040" height="140" align="center">
<param name="movie" value="<?php bloginfo('template_url'); ?>/logo.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="<?php bloginfo('template_url'); ?>/logo.swf" width="1040" height="140"
align="center" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>
<!--finflash-->
<div id="container">
<div id="menu">
<ul>
<?php wp_list_pages('depth=1&title_li=&sort_column=menu_order&exclude=1,6'); ?>
</ul>
</div>
<!--header.php end-->
<!--le code css-->
/*
Theme Name: domax4u
Author URI: http://www.domax4u.com
Version: 1.0
Author: Laurent Benkemoun
Description: Domax , theme facon site sans commentaires ni rss, pages en menu haut et sidebar, 1 categorie
The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php
*/
body {
background: #FFFFFF;
color: #666666;
font-size: 12px;
font-family: Helvetica, Arial, Sans-Serif;
margin: 5px 5px 5px 5px;
}
a, a:visited{
color: #50281a;
font-size: 12px;
font-family: Helvetica, Arial, Verdana, Sans-Serif;
font-weight:bolder;
text-transform: uppercase;
margin-bottom: 10px;
line-height:150%;
text-decoration: none;
}
a:hover{
color: #A9A8A8;
font-size: 12px;
font-family: Helvetica, Arial, Verdana, Sans-Serif;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 10px;
}
#container {
width: 960px;
text-align: left;
margin: 0 auto;
}
#header {
padding: 0px 0px 0px 0px;
}
#menu {
width:960px;
height:50px;
align:center;
background-image:url(/wp-content/themes/domax4u/images/template/menu_haut.jpg);
background-repeat:no-repeat;
background-position:bottom;
font-weight: bold;
margin-top:5px;
margin-bottom:5px;
color: #50281a;
font-size: 16px;
font-family: Helvetica, Arial, Sans-Serif;
font-weight: bolder;
text-align: center;
vertical-align:bottom;
}
#menu h2 {
font-weight:bolder;
font-size:16px;
margin: 0px;
padding: 0px 0px 0px 0px;
}
#menu li {
background-repeat: no-repeat;
background-position:center;
display: inline;
list-style-type: none;
margin: 5px;
padding: 10px;
}
#menu ul {
margin: 0px;
padding: 4px;
}
#menu ul li a {
color:#50281a;
padding: 0px 40px 0px 40px;
margin-top: 10px;
text-decoration: none;
}
#menu ul li a:hover {
font-size:12px;
color: #A9A8A8;
text-decoration: none;
}
#content {
background-image:url(/wp-content/themes/domax4u/images/template/content_bkg.jpg);
background-repeat:no-repeat;
background-position:top;
width: 550px;
float: right;
margin-bottom: 20px;
margin-top: 20px;
padding: 10px 30px 15px 30px;
}
#content p{
margin-top: 10px;
line-height: 160%;
padding: 0px 0px 15px 0px;
}
#content p img{
border: none;
margin-right: 5px;
}
#content h1 {
color: #50281a;
font-size: 16px;
font-family: Helvetica, Arial, Verdana, Sans-Serif;
font-weight: bold;
text-transform: uppercase;
margin: 0px;
line-height: 150%;
}
#content h1 a {
color: #50281a;
font-size: 16px;
font-family: Helvetica, Arial, Verdana, Sans-Serif;
font-weight: bold;
text-transform: uppercase;
margin: 0px;
line-height: 150%;
}
#content h1 a:hover {
color: #A9A8A8;
text-decoration: none;
}
#content h2 {
color: #50281a;
font-size: 16px;
font-family: Helvetica, Arial, Verdana, Sans-Serif;
font-weight: bold;
text-transform: uppercase;
margin: 0px;
line-height: 150%;
}
#content h2 a {
color: #50281a;
text-decoration: none;
}
#content h2 a:hover {
color: #A9A8A8;
text-decoration: none;
}
blockquote{
margin: 0px 0px 0px 25px;
padding: 0px 25px 0px 10px;
font-style: italic;
color: #666666;
border-left: 1px solid #cccccc;
}
#content blockquote p{
margin: 0px 0px 20px 0px;
padding: 0px;
}
.postspace {
background: #FFFFFF;
width: 440px;
height: 32px;
margin: 0px;
padding: 0px;
}
.postspace2 {
background: #FFFFFF;
width: 440px;
height: 0px;
margin: 0px;
padding: 0px;
}
.comments h3 {
font-family: Arial, Sans-Serif;
margin-bottom: 10px;
}
.comments ol, .comments ol li {
list-style-type: none;
}
.comments ol li {
margin: 5px 40px 5px 0px;
padding: 10px;
border: 1px solid #003053;
background: #F2F2F2;
overflow: hidden;
}
* html .comments ol li {
word-wrap: break-word;
}
#sidebar {
background-image:url(/wp-content/themes/domax4u/images/template/menu_bkg.jpg);
background-repeat:no-repeat;
background-position:top;
width: 270px;
height:750px;
float: left;
margin-top: 20px;
margin-bottom: 20px;
padding: 10px 10px 15px 30px;
}
#sidebar h2 {
color: #50281a;
font-size: 16px;
font-family: Helvetica, Arial, Verdana, Sans-Serif;
font-weight: bold;
text-transform: uppercase;
list-style: none;
padding: 5px 0px 5px 0px;
margin: 0px;
}
#sidebar ul {
list-style: none;
margin: 0px;
padding: 0px 0px 20px 15px;
}
#sidebar li {
list-style: none;
margin: 0px;
padding: 0px;
}
#sidebar ul li {
list-style-image:url(/wp-content/themes/domax4u/images/template/logonav-copie.jpg);;
margin: 0px;
padding: 5px 0px 0px 0px;
}
#sidebar ul li a {
color: #50281a;
text-decoration: none;
}
#sidebar ul li a:hover {
color: #A9A8A8;
text-decoration: underline;
}
#footer {
border-top: 10px solid #50281a;
clear: both;
padding: 15px;
text-align: center;
}
et la validation w3C :
http://validator.w3.org/check?uri=http%3A%2F%2Fdomax4u.com%2F&charset=%28detect+automatically%29&doctype=Inline&No200=1
sur des mots des virgules il me met ceci is not a member of a group specified of any attribute ????? que faire !!