feuille css pas compatible IE

feuille css pas compatible IE - HTML/CSS - Programmation

Marsh Posté le 10-03-2006 à 13:05:27    

Salut les progeux !
j'ai un soucis avec ma feuille de style, apparement ca déconne grve dans IE et comme j'ai pas de PC, j'ai essayé de réparer à l'aveugle mais rien.... :(
 
quelqu'un peut m'aider ?
 
voici la feuille :
 

Code :
  1. body
  2. {
  3. margin:0px;
  4. background-image: url(images/hgfd.jpg);
  5. background-repeat: no-repeat;
  6. }
  7. p, div, h3, h4, li, span
  8. {
  9. padding:0;
  10. margin:0;
  11. }
  12. p, blockquote, li
  13. {
  14. font-family: Verdana, "Lucida Grande", Tahoma, Helvetica;
  15. font-size: 11px;
  16. text-align: left;
  17. }
  18. .content
  19. {
  20. width: 760px;
  21. \width: 770px;
  22. w\idth: 760px;
  23. margin-left: auto;
  24. margin-right: auto;
  25. padding-bottom: 10px;
  26. }
  27. #foot
  28. {
  29. clear: both;
  30. margin-top: 5px;
  31. background-color:#000;
  32. color:#fff;
  33. font-family: Georgia, Times, Serif;
  34. text-align: center;
  35. }
  36. a
  37. {
  38. color: black;
  39. text-decoration: none;
  40. border-bottom: 1px black dotted;
  41. }
  42. a:hover
  43. {
  44. color: black;
  45. text-decoration: none;
  46. border-bottom: 0px;
  47. }
  48. h3
  49. {
  50. font-family: Georgia, Times, Serif;
  51. font-weight: bold;
  52. font-size: 13px;
  53. }
  54. h3 a
  55. {
  56. border: 0px;
  57. font-weight: bold;
  58. font-family: Georgia, Times, Serif;
  59. font-size: 13px;
  60. }
  61. h4
  62. {
  63. font-weight: bold;
  64. font-size: 13px;
  65. }
  66. h4 a
  67. {
  68. border-bottom: 1px black dotted;
  69. font-weight: bold;
  70. font-family: Georgia, Times, Serif;
  71. font-size: 13px;
  72. }
  73. h4 a:hover
  74. {
  75. border-bottom: 0px;
  76. }
  77. .recent_comments a
  78. {
  79. font-weight: normal;
  80. }
  81. p
  82. {
  83. text-align:justify;
  84. }
  85. .comments_invite a, .auteur
  86. {
  87. font-weight: normal;
  88. font-family: Georgia, Times, Serif;
  89. font-size : 9px;
  90. }
  91. li a
  92. {
  93. font-weight: bold;
  94. font-family: Georgia, Times, Serif;
  95. font-size : 11px;
  96. }
  97. #colone1
  98. {
  99. margin-left: 420px;
  100. margin-right: 155px;
  101. }
  102. #articles {
  103. float:left;
  104. width: 415px;
  105. }
  106. #articles p {
  107. margin:5px;
  108. }
  109. #colone2 {
  110. float:right;
  111. width: 145px;
  112. }
  113. #edito {
  114. padding-left: 155px;
  115. padding-right: 155px;
  116. }
  117. #menu
  118. {
  119. float:right;
  120. width:150px;
  121. }
  122. #logo
  123. {
  124. clear:both;
  125. width:100%;
  126. background-image: url(images/fond.jpg);
  127. }
  128. #colone2 p,#colone1 p
  129. {
  130. text-align:justify;
  131. padding:0px;
  132. margin:0px;
  133. }
  134. .infos
  135. {
  136. padding-bottom:2px;
  137. margin-bottom:3px;
  138. border-bottom: 1px black dotted;
  139. font-size: 11px;
  140. }
  141. ul {
  142. list-style-type: none;
  143. }


Message édité par an3k le 10-03-2006 à 13:31:06
Reply

Marsh Posté le 10-03-2006 à 13:05:27   

Reply

Marsh Posté le 10-03-2006 à 13:15:06    

code HTML  ?????????????
 
et vire moi tes faux hack IE, safari, apparament tu as du merder quelques part
 
/me avait pas vu que c'était an3k aux commandes.
 
Ben tu files le code CSS les images si possible aussi et jte répare ça, pas cet aprem je suis pas là.
Ou un lien aussi vers la page ca sera trop bon

Reply

Marsh Posté le 10-03-2006 à 13:28:55    

et le xhtml (textpattern) :

Code :
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2.         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <link rel="stylesheet" href="css.php?s=default" type="text/css" media="screen" />
  7. <title>fghfgfggfhfgdhdfg</title>
  8. </head>
  9. <body>
  10. <div class="content">
  11.    <ul id="menu">
  12. <li><a href="../index.php">Accueil</a></li>
  13. <li><a href="index.php?c=action">dffddsffds</a></li>
  14. <li><a href="index.php?c=externe">dfgfdgfe</a></li>
  15. <li><a href="index.php?c=interne">dsqdsdsqdqs</a></li>
  16. <li><a href="index.php?c=analyse">srtezrezzer</a></li>
  17. <li><a href="index.php?c=organisation">sffsde</a></li>
  18. <li><a href="index.php?c=presse">sdfgfefefef</a></li>
  19. <li><a href="index.php?c=informations">Ifdfdsfdsfsf</a></li>
  20. <li><a href="index.php?id=10">Contacts</a></li>
  21.    </ul>
  22.    <div id="edito">
  23. <h3>Jfsdfsdffdsf</h3>
  24. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed ut libero. Vivamus metus nunc, varius hendrerit, congue sed, lacinia sed, nulla. Donec a metus non odio commodo iaculis. Praesent pellentesque ultrices elit. Donec sodales euismod lacus. Curabitur non tellus quis orci placerat cursus. Donec at nibh vel ipsum lacinia pellentesque. Suspendisse rhoncus nunc eu odio. Sed bibendum dapibus enim. Donec at turpis sed nisl vestibulum posuere. Aliquam blandit nulla vehicula arcu. Fusce arcu. Praesent pellentesque ultricies felis. Suspendisse at ligula nec eros euismod vehicula.</p>
  25.    </div>
  26. </div>
  27. <div id="logo"><center><img src="images/logo.jpg" /></center></div>
  28. <div class="content">
  29.   <div id="articles">
  30.    <div class="infos">
  31. <h3><a href=index.php?id=28" title="Permalien vers l'article">ffddfsggffdgfs</a><span class="auteur"> &#183;  9 mars 2006, 11:59 par dfgfdgfdfgfdg</span></h3>
  32. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed ut libero. Vivamus metus nunc, varius hendrerit, congue sed, lacinia sed, nulla. Donec a metus non odio commodo iaculis. Praesent pellentesque ultrices elit. Donec sodales euismod lacus.</p>
  33. <p><span class="comments_invite"><a href="index.php?id=28#commenter"  class="comments_invite">Commentaire</a> [1]</span><span class="comments_invite"> - <a href="index.php?id=28" title="Permalien vers l'article">Lire la suite</a></span></p>
  34.   </div>
  35.   <div class="infos">
  36. <h3><a href="index.php?id=27" title="Permalien vers l'article">dfgfdggffdggert</a><span class="auteur"> &#183;  8 mars 2006, 09:36 par fdgddfggdfsgdsdfg</span></h3>
  37. <p>Vivamus eget tellus sollicitudin orci fermentum cursus. Vestibulum vitae elit dapibus justo ullamcorper faucibus. Suspendisse vehicula, ante ac sollicitudin porttitor, lectus enim pretium lacus, vel placerat ante sem iaculis leo. Nam leo neque, ornare sed, ornare quis, sodales at, mauris. Etiam bibendum iaculis lacus.</p>
  38. <p><span class="comments_invite"><a href="index.php?id=27#commenter"  class="comments_invite">Commentaire</a></span><span class="comments_invite"> - <a href="index.php?id=27" title="Permalien vers l'article">Lire la suite</a></span></p>
  39.   </div>
  40.   <div class="infos">
  41. <h3><a href="index.php?id=26" title="Permalien vers l'article">sdsqsdqssdsqdqsd</a><span class="auteur"> &#183;  6 mars 2006, 10:18 par gfh hgh</span></h3>
  42. <p>Mauris quis turpis. Etiam eu justo. Morbi sed augue. Aliquam cursus orci sed risus. Curabitur consequat massa aliquet eros. Aenean bibendum, mi ac feugiat porttitor, ligula elit auctor enim, id tempus justo lectus et sapien. Sed nisl.</p>
  43. <p><span class="comments_invite"><a href="index.php?id=26#commenter"  class="comments_invite">Commentaire</a></span><span class="comments_invite"> - <a href="index.php?id=26" title="Permalien vers l'article">Lire la suite</a></span></p>
  44.   </div>
  45.    <p>
  46.    <a href="index.php?pg=2">Previous</a>
  47.    </p>
  48. </div>
  49.    <div id="colone2">
  50. <h3>Informations</h3>
  51.  <div class="infos"><p><h4><a href="index.php?id=26" title="Permalien vers l'article">fghgfhgfghfghf</a></h4>
  52.  <p>vvccxvcvxxcvv</p>
  53.  </p></div>
  54.  <div class="infos"><p><h4><a href="index.php?id=25" title="Permalien vers l'article">dsffdsdsfsdf</a></h4>
  55.  <p> fdsf sdfq fsd f dsfqfd fds df dffd f sdq sfd</p>
  56.  </p></div>
  57.  <div class="infos"><p><h4><a href="index.php?id=24" title="Permalien vers l'article">dfgdsfgsdf gdf sdgfdfg dfd</a></h4>
  58.  <p> gg gg gr ggs dfgfdgfg ssdfsd</p>
  59.  </p></div>
  60.  <div class="infos"><p><h4><a href="index.php?id=23" title="Permalien vers l'article">gfh fhg dfgh fgd fh fgh gf</a></h4>
  61.  <p> gfhdfgfgh gfhd h hg dh dhf gh g gfd</p>
  62.  </p></div>
  63.  <div class="infos"><p><h4><a href="index.php?id=22" title="Permalien vers l'article"> gfhd fgh hfgh fdg h fgh gfd fg</a></h4>
  64.  <p>gfh hdfg h gf fgsdfdthyth thrt ghftr hgf</p>
  65.  </p></div>
  66.  <div class="infos"><p><h4><a href="index.php?id=19" title="Permalien vers l'article">h jghfj hgj gf j  </a></h4>
  67.  <p> ghj ghj hj dfgj ghjgfdhdfghfgh h fgh d fg</p>
  68.  </p></div>
  69. <div id="colone1">
  70. <h3>Articles</h3>
  71. <div class="infos">
  72.  <h4><a href="index.php?id=21" title="Permalien vers l'article">hfgdfggfdg !</a></h4>le 24 février 2006, 10:38<br />par dsf dsf q fdqsdf ds
  73. </div>
  74. <div class="infos">
  75.  <h4><a href="index.php?id=20" title="Permalien vers l'article">sdfsd dfsq fd sf</a></h4>le 24 février 2006, 10:22<br />par dsf ds fdsdq
  76. </div>
  77. <h3>Commentaires</h3>
  78. <h4 class="recent_comments"><a href="index.php?id=28#c000018">Hdsfqo (dsfsdffsdsdf)</a><br />
  79.  <a href="index.php?id=25#c000017">dfssqd (dssfq dqsdq!)</a><br />
  80.  <a href="index.php?id=22#c000016">mascarade (dssdsdqsdfh)</a><br />
  81.  <a href=index.php?id=19#c000015">adqsf sdf (Nsdfsdsdf G)</a><br />
  82.  <a href="index.php?id=19#c000014">Mqsd sq (sd  sdfsdsd)</a><br />
  83.  <a href="index.php?id=19#c000013">nsqd (sfsd d vsdfsd d)</a><br />
  84.  <a href="index.php?id=19#c000012">bsq dsd (ds fq fsd dsq)</a><br />
  85. </h4>
  86. </div>
  87. </div>
  88. <div id="foot">sqdfsdf f ds sdqdsf - 2006</div>
  89. </body>
  90. </html>

Reply

Marsh Posté le 10-03-2006 à 13:29:59    

oui j'ai mis un peu de temps pour le xhtml, parce vu que c'est pour un truc semi politique, je veux pas de polémiques alors il fallait que je cache les textes :P
 
merci du coup de main gat' ;)

Reply

Marsh Posté le 10-03-2006 à 18:17:58    

ton xHTML est à corriger aussi ya pas mal d'erreur, j'espère que tu me pardonnera d'y toucher

Reply

Marsh Posté le 10-03-2006 à 18:42:22    

bah bien sur quand même ;)

Reply

Sujets relatifs:

Leave a Replay

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