Nouveau sur le forum ? Voici votre case départ pour bien débuter.

Liens contextuels :

Auteur
tintindelacite
# 15 May 2008 - 18:06:48
Citer
1 Posts
Bonjour, je débute en css et j'ai un petit souci mon site s'affiche bien sous ff et IE 7 et malgré un commentaire spécifique mon div centre n'est plus entre les deux DIV colonne1 et colonne2 sous IE 6 et peut être inférieur....voila mon site
www.fclespinasse.123.fr et mon css
@charset=iso-8859-1

.conteneur {
width: 90%;
padding-top: 0px;
}


h1 {margin-top: 0;font-family: Times, sans-serif;text-align: center;color: #fff; background: #6699FF;}
ol, ul {padding: 0; margin: 1em;}
h2 {margin-top: 0; font-family: Times, sans-serif;text-align: center;color: #fff; background: navy;}
ol, ul, li {padding: 0; margin: 0em;}
h3 {margin-top: 0; font-family: Times, sans-serif;text-align: left;color: navy; background: white;}
ol, ul, li {padding: 0; margin: 1em; }
h4 {margin-top: 0; font-size:x-small; font-family: Arial, sans-serif; text-align: left;color: navy; background: white;}
ol, ul, li {padding: 0; margin: 0.8em;}

div#banniere {
width="100%"
margin-top: 0;
background: #6699FF;
padding: 0px;
margin: 0em;
}

a:link { color:#000000; text-decoration:none; font-weight:bold; }
a:visited { color:#FFFFAA; text-decoration:none; font-weight:bold; }
a:hover { color:#CCCFFF; text-decoration:none; background-color:#99FFCC; font-weight:bold; }
a:active { color:#FFFF33; background-color:##88FFFF; font-weight:bold; }


div#colonne1 {
float: left;
width:14.4%;
margin-right:1%;
background: #6699FF;
color: navy;
}
div#colonne2 {
padding: 1px;
float: right;
width: 25.2%;
margin-left: 1%;
background: #6699FF;
color: navy;
}

div#centre {
padding: 1px;
width: 57%;
margin-left: 16%;
margin-right:12%;
background: navy;
color: #fff;
}

div.centrage {
text-align: center;
}

.imageflottante
{
float: left;
margin-right: 8px;
}

p:first-letter
{
font-size : 2em ;
font-weight : bold ;
}

Et un commentaire conditionnel pour Internet Explorer 6 et inférieurs :

div#colonne1 {
margin-right: 6px;
}
div#colonne2 {
margin-left: 5px;
}
div#centre {
overflow: visible;
height: 1%;
}

Si quelqu'un peu me renseigner ce serait sympa, je suis intérressés par toute critique sur ma css étant donné que c'est ma première...;
Merci
@ndré

http://www.lespinasse.123.fr 
^

référencesLes références web : openweb.eu.org - opquast.com - webmaster-hub.com - webrankinfo.com - salemioche.net - web-pour-tous.org - webonorme.org

Nos partenaires : Editions Eyrolles - Location vacances France - Location vacances Europe

Nikozen : Hébergement - Réalisation : Alsacreations.fr

Powered by Phedio v3.7.9 © dew
Contacter l'administrateur - 6.1 ms - Charte