[Ecart frame haut et bas]

[Ecart frame haut et bas] - HTML/CSS - Programmation

Marsh Posté le 05-01-2005 à 10:01:14    

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 :
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3.   <head>
  4.     <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  5.     <meta name="generator" content="PSPad editor, www.pspad.com">
  6.     <title>
  7.     </title>
  8.    
  9.       <FRAMESET ROWS="115,*" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>
  10.         <FRAME id="frameHaut" SRC="frameHaut.htm" NAME="haut" scrolling="no" resize="no" marginheight="0" marginwidth="0">
  11.         <FRAME id="frameBas" SRC="frameBas.htm" NAME="bas" >
  12.       </FRAMESET>
  13.   </head>
  14. </html>


 
 
 
2eme frameHaut
 
 

Code :
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.   <head>
  4.     <title>
  5.    
  6.     </title>
  7.     <link type="text/css" rel="stylesheet" href="css/styles.css">
  8.     <script src="index_files/scripts.js" language="javascript"></script>
  9.     <meta content="text/html; charset=UTF-8" http-equiv="Content-type">
  10.   </head>
  11.   <body>
  12.     <table class="CadreDuHaut">
  13.       <tbody>
  14.         <tr>
  15.           <td class="CadreDeGauche">
  16.             <img alt="link" src="images/image.jpeg">
  17.           </td>
  18.           <td class="CadreDuMilieu">
  19.             <div class="TitreApplication">
  20.            
  21.             </div>
  22.           </td>
  23.           <td class="CadreDeDroite">
  24.           </td>
  25.         </tr>
  26.       </tbody>
  27.     </table>
  28.     <div class="BarreDeLiens">
  29.       <a class="Accueil" href="http://www.google.fr">YYYYYY</a>
  30.       <a class="Fonctionnalites" href="#">DDDDD</a>
  31.       <a class="Fonctionnalites" href="#">AAAAA</a>
  32.       <a class="Fonctionnalites" href="#">BBBBB</a>
  33.       <a class="Fonctionnalites" href="#">CCCCC</a>
  34.       <a class="Fonctionnalites" href="#">DDDDD</a>
  35.       <a class="Fonctionnalites" href="#">EEEEE</a>
  36.      </div>
  37. </body>
  38. </html>


 
 
3eme frameBas
 
 
 

Code :
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.   <head>
  4.     <title>
  5.     </title>
  6.     <link type="text/css" rel="stylesheet" href="css/styles.css">
  7.     <script src="js/scripts.js" language="javascript"></script>
  8.     <meta content="text/html; charset=UTF-8" http-equiv="Content-type">
  9.   </head>
  10.   <body>
  11.     <div class="menuDeroulant" id="zoneDeroulant_2" style="display:block;background-color: #666699" >
  12.       <ul>
  13.         <li>
  14.         <a href="#">Sous-Menu 2.1</a></li>
  15.         <li>
  16.         <a href="#">Sous-Menu 2.2</a></li>
  17.         <li>
  18.         <a href="#">Sous-Menu 2.3</a></li>
  19.       </ul>
  20.     </div>
  21.   </body>
  22. </html>


 
la feuille de style placée sous css : styles.css
 

Code :
  1. body, td {
  2.     margin: 0;
  3.     padding: 0;
  4.     font-family: Verdana, Tahoma, Helvetica, Sans-Serif;
  5. }
  6. .CadreDuHaut {
  7.     background-color: #333333;
  8.     color: white;
  9.     border: none;
  10.     border-spacing: 0;
  11.     border-collapse: separate;
  12.     margin: 0;
  13.     padding: 0;
  14.     width: 100%;
  15. }
  16. .CadreDeGauche {
  17.     vertical-align: bottom;
  18.     text-align: left;
  19.     border-right: 1px solid #9999FF;
  20.     width: 70px;
  21.     padding: 0;
  22. }
  23. .CadreDuMilieu {
  24.     vertical-align: bottom;
  25.     text-align: left;
  26. }
  27. .CadreDeDroite {
  28.     vertical-align: bottom;
  29.     text-align: left;
  30. }
  31. .TitreApplication {
  32.    display: block;
  33.    padding-left: 3px;
  34.    padding-right: 3px;
  35.    padding-top: 2px;
  36.    padding-bottom: 2px;
  37.    padding-left: 10px;
  38.    font-family: Verdana; 
  39.    font-size: 18pt;
  40.    color: #F5F5F5;
  41. }
  42. .BarreDeLiens {
  43.    background-color: #666699;
  44.    border-top: 1px solid #9999FF;
  45.    border-left: 1px solid #9999FF;
  46.    border-right: 1px solid #003399;
  47.    border-bottom: 1px solid #003399;
  48.    display: block;
  49.    height: 20px;
  50.    font-size: 8pt;
  51.    color: White;
  52.    vertical-align: middle;
  53. }
  54. .Accueil {
  55.     float:left;
  56.     margin-left: 15px;
  57.     padding-top: 4px;
  58.     padding-bottom: 4px;
  59.     padding-left: 6px;
  60.     padding-right: 6px; 
  61.     font-size: 8pt;
  62.     color: White;
  63. }
  64. .Fonctionnalites {
  65.     float: right;
  66.     margin-right: 15px;
  67.     padding-top: 4px;
  68.     padding-bottom: 4px;
  69.     padding-left: 6px;
  70.     padding-right: 6px;
  71.     font-size: 8pt;
  72.      color: White;
  73. }
  74. .MenuDeroulant {
  75.    background-color: #FDF5E6;
  76.    margin-left: 800px;
  77. }
  78. .ContenuPagraphe {
  79.     background-color: white;
  80.     color: black;
  81.     margin-right: 210px;
  82.     min-height: 800px;
  83. }
  84. .Paragraphe {
  85.      font-weight: normal;
  86.    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  87. }
  88. .PositionCorps {
  89.     margin-top: 25px;
  90.     margin-left: 40px;
  91.     margin-right: 0px;
  92. }
  93. .EnteteDeSection {
  94.     display: block;
  95.     text-align:left;
  96.     color: darkslategray;
  97.     border-bottom:solid 1px #333333;
  98.     margin-left: -12px;
  99.     margin-right: 0px;
  100.     padding-left: 10px;
  101.     padding-right: 10px;
  102.     padding-top: 30px;
  103. }
  104. .PiedPage {
  105.     background-color: white;
  106.     color: black;
  107.     border-top: 1px solid;
  108.     margin-top: 30px;
  109.     margin-bottom: 10px;
  110.     margin-right: 210px;
  111.     margin-left: 30px;
  112.     padding-top: 1px;
  113.     padding-bottom: 3px;
  114.     padding-left: 10px;
  115.     padding-right: 10px;
  116.     font-size: 75%;
  117.     font-family: Verdana, Tahoma, Helvetica, Sans-Serif;
  118.     font-style: italic;
  119. }
  120. .Droits { 
  121.     font-family: Verdana;
  122.     font-style: italic;
  123.     font-size: 80%;
  124. }


 
 

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.   :)

Reply

Marsh Posté le 05-01-2005 à 10:01:14   

Reply

Marsh Posté le 05-01-2005 à 10:02:34    

Marrant, ta page dans la Frame est XHTML 1.0 Strict, pourtant tu t'amuses à utiliser des frames :??: , c'est bien dommage...
 
Un conseil : c'est même pas la peine de tenter de faire quelque chose avec des frames, y'a trop de limitations et de truc qui font chier pour les utiliser...

Reply

Marsh Posté le 05-01-2005 à 10:24:15    

Ok, mon but est de faire apparaitre un menu déroulant dans l'autre frame, que me proposes tu à la place ??
 
@+ Pierre.

Reply

Marsh Posté le 05-01-2005 à 10:34:45    

Ben fait tout dans la même page...

Reply

Marsh Posté le 05-01-2005 à 10:40:42    

oui pourquoi pas, mais mon but final c'est d'avoir un menu fixe et un contenu de page dynamique (jsp ...)
@+ Pierre.

Reply

Marsh Posté le 05-01-2005 à 11:17:06    

et puis ?
 
Mise en page CSS ...
 
Tu fais ton menu dans un bloc que tu positionne tjrs au meme endroit, et que t'inclues ...
 
en php c'est faisable, en jsp ca doit l'etre aussi ...


---------------
http://www.alsacreations.com , http://www.openweb.eu.org. Mon CV : http://cv.roane-irkana.net/. Exemple à ne surtout pas suivre : www.worldinternet.be
Reply

Marsh Posté le 05-01-2005 à 11:18:48    

Oui, les pseudo-frames côté serveur

Reply

Marsh Posté le 05-01-2005 à 11:21:29    

ok je vais voir, merci pour ces renseignements
 
@+ Pierre

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed