Pb de dimensionnement de page - dreamweaver

Résolu/Fermé
ogavazzi - 19 sept. 2007 à 18:30
gryzzly Messages postés 4608 Date d'inscription lundi 7 novembre 2005 Statut Contributeur Dernière intervention 24 octobre 2020 - 19 sept. 2007 à 19:04
bonjour
je suis en train de creer un site web sous dreamweaver en mode création (car mes compétences en informatique sont limitées!!)

mon probleme est le suivant :
je souhaite fixer la taille de la fenetre sous dreamweaver
j ai lu sur un post qu il fallait

"Donc pour arriver à redimensionner la fenêtre il faut placer ce code dans le script HTML de la page juste au niveau de la balise BODY:
<body onLoad="Javascript: self.resizeTo(taille horizontale,taille verticale);">

Après entrée les tailles que l'on désire ici "(taille horizontale,taille verticale" et tatonner pour arriver à un résultat satisfaisant."

je suis d accord mais quand je vais sous dreamweaver en mode code j ai nulle part le texte "body onload"!!!!

je vous montre les premieres lignes du code de mon site pour savoir ou le mettre


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>page_de_test</title>
<style type="text/css">
<!--
.Style2 {
color: #911313;
font-size: 36px;
font-weight: bold;
}
body {
background-color: #CCCCCC;
}
.Style3 {color: #911313}
.Style4 {
font-size: 18px;
color: #911313;
}
.Style5 {
font-size: 24px;
color: #911313;
font-weight: bold;
font-style: italic;
}
.Style6 {font-size: 24px; color: #911313; }
-->
</style>
</head>

<body>
<table width="785" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCCCC" title="lien_pdv">
<!--DWLayoutTable-->
<tr>
<td colspan="2" rowspan="2" valign="top" bgcolor="#911313"><img src="images/IMG_0001.jpg" width="192" height="139" /> </td>
<td colspan="2" rowspan="2" valign="top" bgcolor="#911313"><!--DWLayoutEmptyCell--> </td>
<td height="122" colspan="5" valign="top" bgcolor="#911313"><!--DWLayoutEmptyCell--> </td>
<td width="24" valign="top" bgcolor="#911313"><!--DWLayoutEmptyCell--> </td>
</tr>

<tr>
<td height="43" colspan="5" valign="top" bgcolor="#911313"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="464" height="43" align="absmiddle" title="slogan_flash">
<param name="movie" value="slogan_flash.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#911313" />
<embed src="slogan_flash.swf" width="464" height="43" align="absmiddle" quality="high" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" bgcolor="#911313"></embed>




MERCI d avance
ogavazzi
A voir également:

1 réponse

gryzzly Messages postés 4608 Date d'inscription lundi 7 novembre 2005 Statut Contributeur Dernière intervention 24 octobre 2020 1 335
19 sept. 2007 à 19:04
salut,

tu as <body>.

donc tu fait des rajouts, tu sais, avec ton clavier ... ;-)

<body onLoad="Javascript: self.resizeTo(taille horizontale,taille verticale);">
0