Tu as fait un site avec 550 photos, je t'en félicite.
Word est un excellent traitement de texte, mais Word n'est qu'un traitement de texte. cela devrait se suffire à lui-même. désolé pour la longueur mais puisqu'il faut voir pour croire, voici 3 titres (h1->h3) et un paragraphe de texte que Word 2003 vient de me pondre :
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List href="test_word_fichiers/filelist.xml">
<title>Titre 1</title>
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:1;
font-size:16.0pt;
font-family:Arial;
mso-font-kerning:16.0pt;}
h2
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:2;
font-size:14.0pt;
font-family:Arial;
font-style:italic;}
h3
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:3;
font-size:13.0pt;
font-family:Arial;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tableau Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=FR style='tab-interval:35.4pt'>
<div class=Section1>
<h1>Titre 1</h1>
<p class=MsoNormal><o:p> </o:p></p>
<h2>Titre 2</h2>
<p class=MsoNormal><o:p> </o:p></p>
<h3>Titre 3</h3>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span class=SpellE>Fusce</span> ut <span class=SpellE>metus</span>
<span class=SpellE>eget</span> <span class=SpellE>tellus</span> <span
class=SpellE>luctus</span> <span class=SpellE>vehicula</span>. <span
class=SpellE>Vestibulum</span> <span class=SpellE>venenatis</span> <span
class=SpellE>lacus</span> <span class=SpellE>sit</span> <span class=SpellE>amet</span>
<span class=SpellE>risus</span>. In <span class=SpellE>feugiat</span> <span
class=SpellE>eros</span> in <span class=SpellE>sapien</span>. In <span
class=SpellE>vulputate</span>. In vitae <span class=SpellE>lacus</span>. <span
class=SpellE>Maecenas</span> <span class=SpellE>blandit</span> <span
class=SpellE>sapien</span> <span class=SpellE>vel</span> <span class=SpellE>tortor</span>.
Sed <span class=SpellE>enim</span> <span class=SpellE>odio</span>, <span
class=SpellE>iaculis</span> et, <span class=SpellE>fringilla</span> <span
class=SpellE>vel</span>, <span class=SpellE>elementum</span> in, est. <span
class=SpellE>Integer</span> <span class=SpellE>feugiat</span> <span
class=SpellE>tortor</span>. <span class=SpellE>Praesent</span> <span
class=SpellE>turpis</span> <span class=SpellE>augue</span>, <span class=SpellE>volutpat</span>
eu, <span class=SpellE>tempor</span> cursus, <span class=SpellE>placerat</span>
<span class=SpellE>fringilla</span>, tellus. <span class=SpellE>Vestibulum</span>
ante <span class=SpellE>ipsum</span> <span class=SpellE>primis</span> in <span
class=SpellE>faucibus</span> <span class=SpellE>orci</span> <span class=SpellE>luctus</span>
et <span class=SpellE>ultrices</span> <span class=SpellE>posuere</span> <span
class=SpellE>cubilia</span> <span class=SpellE>Curae</span>; <span
class=SpellE>Fusce</span> <span class=SpellE>sollicitudin</span> <span
class=SpellE>nisi</span> <span class=SpellE>quis</span> purus. <span
class=SpellE>Vestibulum</span> <span class=SpellE>dictum</span> <span
class=SpellE>aliquet</span> <span class=SpellE>quam</span>. <span class=SpellE>Fusce</span>
non massa.</p>
</div>
</body>
</html>
vous apprécierez en particulier les <span> à chaque mot du paragraphe, mais bon on a le droit, même les spécifications l'autorisent !
(ça donne
ça, visible 36h je crois)
en html propre (je peux te l'écrire) ça doit passer en cinq fois moins que ça.
ça me suffit pour dire que Word n'est qu'un traitement de texte et pas un éditeur web.
[ Mathieu ]
savoir rester faignant, c'est progresser en informatique. enfin, j'essaie...