Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
931 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  3 pixels jog et autres joyeusetés

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

3 pixels jog et autres joyeusetés

n°1807001
Forgaria
Posté le 31-10-2008 à 16:19:54  profilanswer
 

Bonjour !
 
Je suis en pleine phase de debugging IE et évidemment, tout ne se passe pas comme prévu...
 
En premier lieu, un petit lien vers le site en question : http://www.jironimo.com/leadbay/le [...] test.html.
 
1. A priori, je rencontre le bug du 3 pixels jog sur les deux premiers blocs en bas à droite.
Idéalement, les champs du 2ème bloc sont calés à 28 pixels de hauteur sur les lignes du 1er bloc... Ce n'est pas le cas ici : à 3 pixels près. Comment faire ?
 
2. Plus gênant : le 3ème bloc est décalé de 35 pixels vers la droite soit l'exact espacement en largeur de tous mes blocs... Impossible de trouver la faille.
 
Un petit coup de pouce ?
 
Voici le CSS incriminé :
 

Code :
  1. html, body {
  2. background-color:#0054A6;
  3. background-image:url(http://www.jironimo.com/leadbay/bg_site.jpg);
  4. background-repeat:repeat-x;
  5. margin:0px;
  6. padding:0px;
  7. text-align:center;
  8. }
  9. a {
  10. color:#7E7E7E;
  11. text-decoration:none;
  12. }
  13. img {
  14. border:none;
  15. }
  16. #page {
  17. background-image:url(http://www.jironimo.com/leadbay/bg_page.png);
  18. color:#7E7E7E;
  19. font-family:"Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
  20. font-size:62.5%; /* Resets 1em to 10px */
  21. margin:0px auto;
  22. padding:39px 60px 35px 60px;
  23. width:700px;
  24. }
  25. #logo {
  26. float:left;
  27. height:52px;
  28. margin:0px 0px 39px 0px;
  29. width:220px;
  30. }
  31. #slogan {
  32. float:left;
  33. height:32px;
  34. margin:11px 0px 0px 20px;
  35. width:154px;
  36. }
  37. #telephone {
  38. float:right;
  39. height:31px;
  40. margin:12px 0px 0px 0px;
  41. width:189px;
  42. }
  43. #header {
  44. float:left;
  45. height:300px;
  46. margin:0px 0px 35px 0px;
  47. width:700px;
  48. }
  49. #bloc_1 {
  50. background-color:#F4F4F4;
  51. background-image:url(http://www.jironimo.com/leadbay/bloc_1_titre.jpg);
  52. background-repeat:no-repeat;
  53. color:#7C7C7C;
  54. float:left;
  55. font-size:1.1em;
  56. height:162px;
  57. line-height:1.3em;
  58. margin:0px 35px 35px 0px;
  59. padding:33px 15px 15px 15px;
  60. text-align:left;
  61. width:180px;
  62. }
  63. #bloc_2 {
  64. background-color:#F4F4F4;
  65. background-image:url(http://www.jironimo.com/leadbay/bloc_2_titre.jpg);
  66. background-repeat:no-repeat;
  67. color:#7C7C7C;
  68. float:left;
  69. font-size:1.1em;
  70. height:162px;
  71. line-height:1.3em;
  72. margin:0px 0px 35px 0px;
  73. padding:33px 15px 15px 15px;
  74. text-align:left;
  75. width:180px;
  76. }
  77. #bloc_3 {
  78. background-color:#F4F4F4;
  79. background-image:url(http://www.jironimo.com/leadbay/bloc_3_titre.jpg);
  80. background-repeat:no-repeat;
  81. color:#7C7C7C;
  82. float:left;
  83. font-size:1.1em;
  84. height:162px;
  85. line-height:1.3em;
  86. margin:0px 0px 35px 35px;
  87. padding:33px 15px 15px 15px;
  88. text-align:left;
  89. width:180px;
  90. }
  91. .plus {
  92. background-image:url(http://www.jironimo.com/leadbay/bouton_en_savoir_plus.jpg);
  93. background-position:bottom center;
  94. background-repeat:no-repeat;
  95. float:left;
  96. height:177px;
  97. width:180px;
  98. }
  99. #footer {
  100. border-bottom:1px solid #DBDBDB;
  101. float:left;
  102. height:232px;
  103. padding:0px 0px 35px 0px;
  104. width:700px;
  105. }
  106. #ID {
  107. color:#7C7C7C;
  108. float:left;
  109. font-size:1em;
  110. height:232px;
  111. line-height:1.2em;
  112. margin:0px 35px 0px 0px;
  113. text-align:left;
  114. width:210px;
  115. }
  116. ul {
  117. height:204px;
  118. line-height:28px;
  119. list-style:none;
  120. margin:0px;
  121. padding:0px;
  122. }
  123. li {
  124. border-bottom:1px solid #DBDBDB;
  125. height:28px;
  126. }
  127. .entry {
  128. display:block;
  129. float:left;
  130. width:80px;
  131. }
  132. .information {
  133. display:block;
  134. float:left;
  135. width:130px;
  136. }
  137. #contact_information {
  138. float:left;
  139. height:232px;
  140. text-align:left;
  141. width:210px;
  142. }
  143. label {
  144. height:28px;
  145. line-height:28px;
  146. }
  147. .champs {
  148. background-color:#DBDBDB;
  149. border-style:none;
  150. color:#9D9FA2;
  151. height:24px;
  152. padding:6px 6px 0px 6px;
  153. width:198px;
  154. }
  155. #contact_message {
  156. float:left;
  157. height:232px;
  158. margin:0px 0px 0px 35px;
  159. text-align:left;
  160. width:210px;
  161. }
  162. .champs_message {
  163. background-color:#DBDBDB;
  164. border-style:none;
  165. color:#9D9FA2;
  166. font-family:"Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
  167. font-size:13px;
  168. height:168px;
  169. margin:0px;
  170. overflow:hidden;
  171. padding:6px 6px 0px 6px;
  172. width:198px;
  173. }
  174. #bouton {
  175. float:right;
  176. margin:21px -1px 0px 0px;
  177. }
  178. .clear {
  179. clear:both;
  180. height:0px;
  181. }
  182. #disclaimer {
  183. color:#9D9FA2;
  184. font-size:1em;
  185. line-height:1.1em;
  186. margin:35px 0px 0px 0px;
  187. text-align:left;
  188. }


 
Merci d'avance !
 
PS : Si vous voyez d'autres soucis, avez un avis à formuler concernant le code ou le design de la chose, n'hésitez surtout pas ! Je prends tout !


---------------
Kwinks up your day with Egonomia (Mon Blog) --> http://egonomia.free.fr/
mood
Publicité
Posté le 31-10-2008 à 16:19:54  profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  3 pixels jog et autres joyeusetés

 

Sujets relatifs
conversion cm en pixels et réciproquementMoyenne de deux pixels
Taille d'un texte en pixelscalcul coordonnées pixels d'un droite
afficher une image BMP a partir d'un tableau de pixelsTraductions, termes techniques et autres joyeusetés
Optimisation - Techniques d'animation par pixels6 pixels de décalage sous IE
Décalage de 3 pixels sous IE[OpenGL] récupérer les pixels (glReadPixels trop lent)
Plus de sujets relatifs à : 3 pixels jog et autres joyeusetés


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR