mulaan | Bonjour!
Je débute vraiment en css, désolé si de poser une question con...
Je suis parti d'un CSS Blogger, que j'ai modifié légèrement à l'arrache, dira-t-on. J'arrive pas à faire coïncider les images de fond de mes blocs header/content/footer (en plus d'avoir un code qui ne respecte plus rien, j'en ai bien peur)
Ladite page est ici, et mon CSS ressemble à ça: (pas taper!)
Code :
- .cyril {
- }
- #b-navbar {
- height:0px;
- visibility:hidden;
- display:none
- }
- body{
- background-image: url(http://perso.wanadoo.fr/cyril-le/cyril-le/cyrille/images/bg.jpg);
- background-position: left top;
- background-repeat: repeat;
- background-color: #DAD8E3;
- background-attachment: fixed;
- text-align: center;
- cursor: default;
- }
- #container{
- background-image: none;
- width: 900px;
- background-repeat: repeat-y;
- margin-left: 75px;
- margin-right: auto;
- text-align: left;
- }
- #header{
- float: top;
- background-image: url(http://perso.wanadoo.fr/cyril-le/cyril-le/cyrille/images/cadretop.jpg);
- background-repeat: no-repeat;
- background-position: right;
- height: 120px;
- width: 900px;
- }
- #content{
- float: right;
- display: inline;
- width: 550px;
- margin-right: 0px;
- background-image: url(http://perso.wanadoo.fr/cyril-le/cyril-le/cyrille/images/fenetre.jpg);
- background-repeat: repeat-y;
- border-width: 0px;
- border-style: solid;
- border-color: #3D393A;
- padding: 36px;
- color: #5C4040;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 11px;
- filter:alpha(opacity=90);
- -moz-opacity: 0.9;
- opacity: 0.9;
- }
- #contentright{
- float: left;
- display: inline;
- width: 200px;
- margin-left: 0px;
- background-color: white;
- border-width: 1px;
- border-style: solid;
- border-color: #3D393A;
- color: #171611;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 11px;
- text-align: center;
- filter:alpha(opacity=90);
- -moz-opacity: 0.9;
- opacity: 0.9;
- }
- #footer{
- clear: both;
- background-image: url(http://perso.wanadoo.fr/cyril-le/cyril-le/cyrille/images/cadrebas.jpg);
- height: 200px;
- width: 900px;
- background-repeat: no-repeat;
- background-position: right;
- }
- a:link, a:visited{
- color: #44151B;
- text-decoration: none;
- }
- a:hover{
- color: #44151B;
- text-decoration: none;
- }
- a.opacity img {filter:alpha(opacity=50);
- -moz-opacity: 0.5;
- opacity: 0.5;}
- a.opacity:hover img {filter:alpha(opacity=100);
- -moz-opacity: 1.0;
- opacity: 1.0;}
- .sectiontitle{
- border-bottom: none;
- color: #3D3B2F;
- font-family: Times new roman, Times,serif;
- font-size: 13px;
- letter-spacing: 2px;
- font-weight: Bold;
- background-image: url(!mon ptit logo!);
- padding-left: 12px;
- background-repeat: no-repeat;
- background-position: left center;
- margin-bottom: 2px;
- text-transform: uppercase;
- }
- ul{
- list-style-type: none;
- padding-left: 12px;
- margin-left: 5px;
- line-height: 15px;
- color: #7A6E71;
- }
- textarea{
- background-color: #C0B7B4;
- border:1px solid #DED9D7;
- padding: 2px;
- color: Black;
- font-size: 1px;
- font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
- width:80%;
- }
- input,select{
- background-color: #C0B7B4;
- border:1px solid #DED9D7;
- padding: 2px;
- color: Black;
- font-size: 11px;
- font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
- margin: 2px 2px 5px 2px;
- }
- .divTitle3{
- background-color: #9F9EA3;
- border-bottom: 2px solid #87868C;
- margin-bottom: none;
- text-align: right;
- letter-spacing: 1px;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 10px;
- padding: 2px;
- font-weight: bold;
- text-transform: lowercase;
- }
- td{
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 10px;
- color: #515155;
- }
- th{
- font-weight: bold;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 10px;
- color: #802D49;
- }
- h2{
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 10px;
- font-weight: bold;
- letter-spacing: 2px;
- }
- h2.itemtitle{
- border-bottom: None;
- color: #3D3B2F;
- font-family: Times new roman, Times,serif;
- font-size: 15px;
- letter-spacing: 2px;
- font-weight: bold;
- background-image: url(!mon petit logo de fond!);
- padding-left: 12px;
- background-repeat: no-repeat;
- background-position: left center;
- margin-bottom: none;
- text-transform: uppercase;
- text-align: left <--- rajouté --->
- }
- .singolocommento{
- border: double #968389;
- padding: 5px;
- margin-bottom: none;
- }
- .post{
- font-size: 10px;
- color: #333128;
- }
- blockquote{
- border-left: 3px solid #968389;
- background-color: #4A4043;
- color: #DFDBDB;
- padding: 3px;
- }
- /* Profile */
- .profile-datablock {
- margin:.5em 0 .5em;
- }
- .profile-img {
- display:inline;
- }
- .profile-img img {
- float:left;
- padding:4px;
- border:1px solid #968389;
- margin:0 8px 3px 0;
- }
- .profile-data {
- margin:0;
- font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
- text-transform:uppercase;
- letter-spacing:.1em;
- }
- .profile-data strong {
- display:none;
- }
- .profile-textblock {
- margin:0 0 .5em;
- }
- .profile-link {
- margin:0;
- font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
- text-transform:uppercase;
- letter-spacing:.1em;
- }
- /* comments */
- .comments{
- margin: 10px 0px 10px 0px;
- border-bottom: 1px solid #968389;
- border-top: 1px solid #968389;
- color: #333128;
- font-family: Times new roman, Times,serif;
- font-size: 15px;
- font-weight: bold;
- letter-spacing: 1px;
- text-transform: none;
- padding:2px;
- }
- .commentsbody{
- border-bottom: 1px solid #968389;
- margin-bottom: 10px;
- color: #333128;
- padding: 5px;
- }
- .commentsData{
- font-family: Arial, Helvetica, sans-serif;
- font-size: 10px;
- color: #333128;
- text-align: left;
- }
- .delete{
- text-align: right;
- }
- .sidebar-title{
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 10px;
- color: #968389;
- text-align: center;
- }
- </style>
- <link href="test.css" rel="stylesheet" type="text/css">
|
Si quelqu'un peut m'aider à coller les images de cadres, en attendant que je progresse et mette le tout en ordre...
Merci d'avance, parceque je m'en sors pas, à force de triturer... |