cortomaltesse Posted September 23, 2005 Share Posted September 23, 2005 Salut j essaye de crée mon site web en xhtlm et css mais j ai un problème avec internet explorer mon site est collez sur la gauche mais mon site s affiche comme je le veux avec opera et firefox centrer c est quoi le problème? Je cherche des icône libres ou on les trouve? ex Link to comment Share on other sites More sharing options...
vodnok Posted September 23, 2005 Share Posted September 23, 2005 CSS ou CSS2? Si tu peux, montres la class css de ton body ou div et aussi le debut de tapage xhtml. Sinon pour les icones libre ca m'interesse aussi Link to comment Share on other sites More sharing options...
cortomaltesse Posted September 23, 2005 Author Share Posted September 23, 2005 le fichier css BODY {background-color: #fff; color: #000; font-family: serif; font-size:14px; text-align: justify; vertical-align: middle;} A:link {color: #0b27c6;text-decoration:none;font-family: sans-serif;} A:visited {color: #0b27c6;text-decoration:none;font-family: sans-serif;} A:hover {color: #ff0000;text-decoration:none;font-family: sans-serif;} CENTER {text-align: center;} TABLE {text-align: center; vertical-align:text-top; margin-right: auto; margin-left: auto ; margin-top: auto; margin-bottom: auto;} TABLE.general {text-align: center; vertical-align:text-top; margin-right: auto; margin-left: auto ; margin-top: auto; height: 100%;} TD {text-align: center; vertical-align:top;} TD.justify {text-align:justify;} TD.right {text-align:right;} TD.left {text-align:left; } TD.bas {text-align:center; vertical-align: bottom; } TR {text-align: center; vertical-align:top;} B {font-weight: bold;} b.cv { font-weight: bold; text-decoration: none; } STRONG {font-weight: bold;} PRE {white-space: pre;} PRE.console {white-space: pre; background-color: #d3d3d3; font-size:12px;} PRE.fichier {white-space: pre; background-color: #c2cfea; font-size:12px;} PRE.lettre {white-space: pre; background-color: #ecf9b6; font-size:12px;} H1 {color:black;font-family: serif;font-weight: bold; font-size:30px; margin: 0px; text-align: center; vertical-align: middle;} H2 {color:black;font-family: serif;font-weight: bold; font-size:20px; margin: 0px; text-align: center; vertical-align: middle;} H2.justify {color:black;font-family: serif;font-weight: bold; font-size: 20px; margin: 0px; text-align: justify; vertical-align: middle;} UL.menu {position: absolute; top: 13em; width: 9em; text-decoration: none; margin: 0; padding: 0 0 0 5px; border: 0; list-style-type: none;} DT {font-weight: bold; font-size:20px; margin-bottom: 15px;} IMG {border: 0;} div.news {list-style-type: none; border: solid #9e9784 1px; padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 7px; margin-bottom: 10px; margin-left: 0; text-align: justify;} div.citation {list-style-type: none; border: solid #9e9784 1px; background-color: #eeffff; padding-left: 40px; padding-right: 40px; padding-top: 10px; padding-bottom: 7px; margin-bottom: 10px; margin-left: 0; text-align: center;} div.icones {float: left; margin-right: 10px; } #all {width: 750px; margin-left: auto; margin-right: auto; margin-top: 2px; margin-bottom: 2px; background-color:#fff; border-top: solid; border-left: solid; border-right: solid; border-bottom: solid; border-width: 1px;} #navigateur {text-align: center; font-size: 10px;} #main {padding-left: 10.5em; padding-right: 1em;} #end {text-align: center; font-size: 10px;} xhtlm <?xml version="1.0" encoding="iso-8859-1" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <title>Xavier --CV en ligne Lefevre Xavier</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="content-language" content="fr" /> <link rel="icon" href="/img/favicon.ico" type="image/ico" /> <link rel="SHORTCUT ICON" href="img/favicon.ico" /> <style type="text/css"> @import url(../style/style.css); </style> </head> <body> <div id="all"> <div id="navigateur"> </script> </div> <a href="le/"><img src="../img/bienven.jpg" alt="Bienvenue" /></a><br /> </div> <a href="role/"><img src="..img/bienven.jpg" alt="Bienvenue" /></a><br /> <ul class="menu"> <li><a href="/role/"><img src="../img/acuiel.jpg" alt="Accueil" /></a></li> <li><a href="../elec.htm"><img src="../sandrine.parole/img/contact.jpg" alt="Contact" /></a></li> </ul> <div id="main"> <br /> <div id="end"> <a href="http://gimp.org"><img src="/img/gfx_by_gimp.gif" alt="Graphics by Gimp" /></a> <br /> Copyright © 2002-2005 </div> </div> </body> </html> Link to comment Share on other sites More sharing options...
Fab23 Posted September 23, 2005 Share Posted September 23, 2005 Et bien un pote à le même prob avec son blog qu'il est en train de faire! Le XHTML, IE n'aime vraiment pas... tu px tester avec FireFox et Netscape sont blog fonctionne mais pas IE ! Donc oublie... ou tu vas vraiment te prendre la tête longtemps ! Bon courage! EDIT: Je crois qu'il est en train de modifié car ca va déja mieux! Link to comment Share on other sites More sharing options...
cortomaltesse Posted September 26, 2005 Author Share Posted September 26, 2005 Je me suis inspirer du code source d un autre site c est l égale ou pas? Les icônes vienne du monde linux mais j ai pas trouvé de site qui les répertorie Link to comment Share on other sites More sharing options...
theocrite Posted September 26, 2005 Share Posted September 26, 2005 Normalement s'il y a un copyright ( dans les méta ou en bas de la page) non. Mais si tu ne fais que vaguement t'en inspirer sans trop pomper, ça passe. Pour les icônes, tu en as dans /usr/share/icons/* /usr/share/apps/*/icons/, /usr/X11R6/lib/X11/icons. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.