xhercule | Bonjour j'ai un soucis avec 2 frames, lorsque je suis sous ie l'écart entre les
2 frames est minim mais sous firefox il est plus grand.
Je vous joint les bouts de code :
1er : index.html
Code :
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=windows-1250">
- <meta name="generator" content="PSPad editor, www.pspad.com">
- <title>
- </title>
-
- <FRAMESET ROWS="115,*" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>
- <FRAME id="frameHaut" SRC="frameHaut.htm" NAME="haut" scrolling="no" resize="no" marginheight="0" marginwidth="0">
- <FRAME id="frameBas" SRC="frameBas.htm" NAME="bas" >
- </FRAMESET>
- </head>
- </html>
|
2eme frameHaut
Code :
- <!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">
- <head>
- <title>
-
- </title>
- <link type="text/css" rel="stylesheet" href="css/styles.css">
- <script src="index_files/scripts.js" language="javascript"></script>
- <meta content="text/html; charset=UTF-8" http-equiv="Content-type">
- </head>
- <body>
- <table class="CadreDuHaut">
- <tbody>
- <tr>
- <td class="CadreDeGauche">
- <img alt="link" src="images/image.jpeg">
- </td>
- <td class="CadreDuMilieu">
- <div class="TitreApplication">
-
- </div>
- </td>
- <td class="CadreDeDroite">
- </td>
- </tr>
- </tbody>
- </table>
- <div class="BarreDeLiens">
- <a class="Accueil" href="http://www.google.fr">YYYYYY</a>
- <a class="Fonctionnalites" href="#">DDDDD</a>
- <a class="Fonctionnalites" href="#">AAAAA</a>
- <a class="Fonctionnalites" href="#">BBBBB</a>
- <a class="Fonctionnalites" href="#">CCCCC</a>
- <a class="Fonctionnalites" href="#">DDDDD</a>
- <a class="Fonctionnalites" href="#">EEEEE</a>
- </div>
- </body>
- </html>
|
3eme frameBas
Code :
- <!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">
- <head>
- <title>
- </title>
- <link type="text/css" rel="stylesheet" href="css/styles.css">
- <script src="js/scripts.js" language="javascript"></script>
- <meta content="text/html; charset=UTF-8" http-equiv="Content-type">
- </head>
- <body>
- <div class="menuDeroulant" id="zoneDeroulant_2" style="display:block;background-color: #666699" >
- <ul>
- <li>
- <a href="#">Sous-Menu 2.1</a></li>
- <li>
- <a href="#">Sous-Menu 2.2</a></li>
- <li>
- <a href="#">Sous-Menu 2.3</a></li>
- </ul>
- </div>
- </body>
- </html>
|
la feuille de style placée sous css : styles.css
Code :
- body, td {
- margin: 0;
- padding: 0;
- font-family: Verdana, Tahoma, Helvetica, Sans-Serif;
- }
- .CadreDuHaut {
- background-color: #333333;
- color: white;
- border: none;
- border-spacing: 0;
- border-collapse: separate;
- margin: 0;
- padding: 0;
- width: 100%;
- }
- .CadreDeGauche {
- vertical-align: bottom;
- text-align: left;
- border-right: 1px solid #9999FF;
- width: 70px;
- padding: 0;
- }
- .CadreDuMilieu {
- vertical-align: bottom;
- text-align: left;
- }
- .CadreDeDroite {
- vertical-align: bottom;
- text-align: left;
- }
- .TitreApplication {
- display: block;
- padding-left: 3px;
- padding-right: 3px;
- padding-top: 2px;
- padding-bottom: 2px;
- padding-left: 10px;
- font-family: Verdana;
- font-size: 18pt;
- color: #F5F5F5;
- }
- .BarreDeLiens {
- background-color: #666699;
- border-top: 1px solid #9999FF;
- border-left: 1px solid #9999FF;
- border-right: 1px solid #003399;
- border-bottom: 1px solid #003399;
- display: block;
- height: 20px;
- font-size: 8pt;
- color: White;
- vertical-align: middle;
- }
- .Accueil {
- float:left;
- margin-left: 15px;
- padding-top: 4px;
- padding-bottom: 4px;
- padding-left: 6px;
- padding-right: 6px;
- font-size: 8pt;
- color: White;
- }
- .Fonctionnalites {
- float: right;
- margin-right: 15px;
- padding-top: 4px;
- padding-bottom: 4px;
- padding-left: 6px;
- padding-right: 6px;
- font-size: 8pt;
- color: White;
- }
- .MenuDeroulant {
- background-color: #FDF5E6;
- margin-left: 800px;
- }
- .ContenuPagraphe {
- background-color: white;
- color: black;
- margin-right: 210px;
- min-height: 800px;
- }
- .Paragraphe {
- font-weight: normal;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- }
- .PositionCorps {
- margin-top: 25px;
- margin-left: 40px;
- margin-right: 0px;
- }
- .EnteteDeSection {
- display: block;
- text-align:left;
- color: darkslategray;
- border-bottom:solid 1px #333333;
- margin-left: -12px;
- margin-right: 0px;
- padding-left: 10px;
- padding-right: 10px;
- padding-top: 30px;
- }
- .PiedPage {
- background-color: white;
- color: black;
- border-top: 1px solid;
- margin-top: 30px;
- margin-bottom: 10px;
- margin-right: 210px;
- margin-left: 30px;
- padding-top: 1px;
- padding-bottom: 3px;
- padding-left: 10px;
- padding-right: 10px;
- font-size: 75%;
- font-family: Verdana, Tahoma, Helvetica, Sans-Serif;
- font-style: italic;
- }
- .Droits {
- font-family: Verdana;
- font-style: italic;
- font-size: 80%;
- }
|
une image jpeg sous images : image.jpeg de taille 168x85 pixels
Pourriez vous regarder et tester ce code ?, et si la meme erreur apparait
auriez vous la solution ?
Merci.
@+ Pierre. |