GNT sans publicité, site mobile, fonctionnalitées exclusives...

Recherche gourous du hack

Le
JefReb webforumsuser
Un gourou pourrait-il m'aider à comprendre et trouver le Hack pour un affichage identique de plusieurs div imbriqués dans IE et les autres comme Netscape ou Mozilla.
Je joins le petit fichier en exemple qui me résiste.
Je désire que cela soit accessible et j'utilise les ems et les %
Merci à ceux qui m'aideront.

<style type="text/css">
<!--
body {color: #000000;background-color: #ffffff;margin: 0px;}
#navigate{background-color: #639CCE;float: left; width: 13%;}
#ac-contact {width: 95%;background-color: #FF0000;margin: 0.2em 0.2em 0.2em 0.2em;}
#ac-contactpad {width: 89%; background-color: #FFFF00;margin: 1em 0.2em 0.2em 0.2em;padding: 0.3em;}
-->
</style>
</head>
<body>
<div id="navigate">
xxx<br>
<div id="ac-contact">
Titre<br>
<div id="ac-contactpad">
XXX<br>
XXX<br>
</div>
</div>
xxx<br>
</div>
</body>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="FR-fr">
<head>
<title>Template</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body { color: #000000; background-color: #ffffff; margin: 0px;}
#navigate{ background-color: #639CCE; float: left; width: 13%;}
#ac-contact { width: 95%; background-color: #FF0000; margin: 0.2em 0.2em 0.2em 0.2em;}
#ac-contactpad { width: 89%; background-color: #FFFF00; margin: 1em 0.2em 0.2em 0.2em; padding: 0.3em;}
-->
</style>
</head>
<body>
<div id="navigate">
xxx<br>
<div id="ac-contact">
Titre<br>
<div id="ac-contactpad">
XXX<br>
XXX<br>
</div>
</div>
xxx<br>
</div>
</body>
</html>
Lire la réponse

Vidéos High-Tech et Jeu Vidéo
Téléchargements
Vos réponses
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Trier par : date / pertinence
Eric
Le #16828581
> Un gourou pourrait-il m'aider à comprendre et trouver le Hack pour un


affichage identique de plusieurs div imbriqués dans IE et les autres comme
Netscape ou Mozilla.
Je joins le petit fichier en exemple qui me résiste.
Je désire que cela soit accessible et j'utilise les ems et les %
Merci à ceux qui m'aideront.

<style type="text/css">
<!--
body {color: #000000;background-color: #ffffff;margin: 0px;}
#navigate{background-color: #639CCE;float: left; width: 13%;}
#ac-contact {width: 95%;background-color: #FF0000;margin: 0.2em 0.2em


0.2em 0.2em;}
#ac-contactpad {width: 89%; background-color: #FFFF00;margin: 1em 0.2em


0.2em 0.2em;padding: 0.3em;}
-->
</style>
</head>
<body>
<div id="navigate">
xxx<br>
<div id="ac-contact">
Titre<br>
<div id="ac-contactpad">
XXX<br>
XXX<br>
</div>
</div>
xxx<br>
</div>
</body>



"http://www.w3.org/TR/html4/strict.dtd">
<html lang="FR-fr">
<head>
<title>Template</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body { color: #000000; background-color: #ffffff; margin: 0px;}
#navigate{ background-color: #639CCE; float: left; width: 13%;}
#ac-contact { width: 95%; background-color: #FF0000; margin: 0.2em 0.2em


0.2em 0.2em;}
#ac-contactpad { width: 89%; background-color: #FFFF00; margin: 1em 0.2em


0.2em 0.2em; padding: 0.3em;}
-->
</style>
</head>
<body>
<div id="navigate">
xxx<br>
<div id="ac-contact">
Titre<br>
<div id="ac-contactpad">
XXX<br>
XXX<br>
</div>
</div>
xxx<br>
</div>
</body>
</html>



Salut,

Va voir ici : http://www.projectseven.com/tutoria.../index.htm
Pour info, ce que tu appelles 'hack' est du CSS-P

Eric
Publicité
Suivre les réponses
Poster une réponse
Anonyme