Mercurial > defr > DualBlog
view css/OliveVerde.css @ 75:49b0a2f3a118
Fix IE: Rend l'administration utilisable avec Internet Explorer 6
En réalité, seulement trois réels changements sont introduits ici:
- il existait quelques problèmes dans le code supposé être executés lorsque
le navigateur ne connait pas les treewalkers, le code fait désormais ce
qu'il faut (la mauvaise fonction était associé à l'édition des brouillons,
la fonction de test ne renvoyait pas true / false)
- Internet Explorer 6 ne connait pas textContent. Une fonction essayant
diverses possibilités de remplacement, et faisant un parcours récursif de
tous les noeuds fils dans le pire des cas a été mise en place
- le code cherchant un remplacement à DOMParser supposait que l'objet ActiveX
XMLDOM fournissait exactement la même API, ce qui aurait été trop beau. Un
wrapper a été développé autour de XMLDOM qui fournit la seule fonction de
DOMParser utilisé dans le script. Evidemment ce n'est pas une solution
totalement générique...
Avec ces modifications, il est possible de poster depuis Internet Explorer
(testé sur la version 6), Safari (testé avec la version 3.1) et Firefox (testé
avec les versions 2 et 3)
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Mon, 31 Mar 2008 15:07:21 +0200 |
parents | 629389204276 |
children |
line wrap: on
line source
/* Dual Blog v10 : OS Edition Olive Verde Version */ #Link, #Link li, dl, dt, dd {display:block; margin:0px;list-style-type:none;} html {margin:0px;background:url('Res_OliveVerde/Fond.png') repeat-y; font-family:Tahoma, Verdana, Arial, serif;font-size:11px;} p {margin:0px;padding:0px;} #Main {margin:0px;margin-left:-374px;margin-top:-286px;left:50%;top:50%; position:absolute;width:745px;height:486px;overflow:hidden; padding-top:85px;padding-left:4px;padding-right:9px; background:url('Res_OliveVerde/FondMain.png') no-repeat;} #Adresse {position:absolute;left:512px;top:57px;width:237px;} #Link {position:absolute;left:484px;top:70px;border:1px #B3A868 solid;width:246px;height:100px; background:white url('Res_OliveVerde/Gimp.jpg') 182px 36px no-repeat;overflow:auto;padding:2px;padding-left:6px;padding-right:6px; z-index:100;display:none;} /* Style sur la colonne de gauche ^^; */ #SideBar {background:#DADBB5;position:absolute;left:4px;top:88px; width:222px;height:478px;overflow:auto;border-right:1px black dashed;} #SideBar dt, #SideBar dd {margin-left:auto;margin-right:auto; padding-left:10px;padding-right:10px;padding-top:4px; } #SideBar dt {background:url('Res_OliveVerde/ShellBar.gif') no-repeat;height:17px;width:182px; font-weight:bold;color:#575233;margin-top:12px;} #SideBar dd {background:#F0EBD7;color:#000000;width:180px;border:1px #B3A868 solid; text-align:left;padding-bottom:4px;border-top:none;} /* Style sur la partie principale du blog : les posts */ #Posts {top:88px;left:227px;width:524px;height:478px;overflow:auto; position:absolute;background:url('Res_OliveVerde/FondPost.png') repeat-y;} .PostContent {margin:10px;margin-top:12px;padding:10px;text-align:justify; background:url('Res_OliveVerde/FondPostContent.png');border:1px #B3A868 solid;} .PostContent h2 { margin:-19px auto 5px; padding:0px 10px; border:1px black dashed; background:url('Res_OliveVerde/FondTitre.png'); font-size:1.1em;} /* Style appliqués sur les span */ .i {font-style:italic;color:#333399;} .b {font-weight:bold;} /* Styles sur les liens */ a {color:#333399;} a:hover {color:#000000;} #Link a {text-decoration:none;margin-left:8px;border-bottom:1px black dotted;} /* Style sur le tagboard ^^ */ #TagBoard {width:175px;height:465px;border:none;margin:0px;padding:0px; margin-left:auto;margin-right:auto;} p.center img {width:450px;}