Bonjour,

Ca fait pas longtemps que j'apprends le html et je ne comprends pas encore certaines choses.
Voici ma question.

J'utilise la dtd xtml 1.0 stric.
Dans ma page html j'utilise juste la balise <object> qui me permet d'incorporer une autre page web dans mon site.

J'ai dimensionné la taille dans un fichier css avec width et height.

Sous google chrome cela fonctionne bien mais quand je teste sous firefox la hauteur de la balise pose probleme. Firefox n'affiche pas la bonne taille.

Voici la page xhtml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
<!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" >
   <head>
       <title>Mon site</title>
       <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	   <link rel="stylesheet" media="screen" type="text/css" title="DesignPage3" href="designPageHtml.css" />
   </head>
   <body>
		<!-- web page -->
		<p >
			<object id="webpage" data="http://fr.wikipedia.org/wiki/Hypertext_Markup_Language" type="text/html">
			  impossible to display the web page !
			</object>
		</p>
   </body>
</html>
voici le css
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
#webpage
{
	width: 80%;
	height:70%;
	border: 2px solid black;
}
Merci d'avance!!