IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

Affichage html 5 et css3 [HTML 5]


Sujet :

HTML

Mode arborescent

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Invité
    Invité(e)
    Par défaut Affichage html 5 et css3
    Mon 1 er problème est le suivant les 3 onglets n'affiche pas correctement: Accueil,Portfolio,Contact.
    Mon 2 éme : centrer le slider puis agrandir et mettre une largeur plus grande pour que le bas soit pareil que le haut du cadre.
    Mon 3 ème: c'est que j'arrive à faire à paraitre une image sur 3 sur mon petit slider.
    Mon dernier, que le copyright soit en bas centrer dans le cadre de la page.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    <!DOCTYPE html> 
    <html> 
    <head> 
    <meta charset="utf-8"> 
     
    <link rel="stylesheet" href="style.css"> 
    <link rel="stylesheet" href="coda-slider-2.0.css" type="text/css" media="screen" /> 
     
    </head> 
    <body> 
     
    <div id="Box"</div> 
    <img src="../Documents/photo.jpg" alt="photo.jpg"/> 
     
    <ul id="onglet"> 
    <li><a href="Contact.html">Contact</a></li> 
    <li><a href="Portfolio.html">Portfolio</a></li> 
    <li><a href="Index.html">Accueil</a></li> 
     
    <hr style="width: 100%;background-color: black; height: 1px;" /> 
    <br/> 
     
    <html> 
    <head> 
    <meta charset="utf-8"> 
    <link rel="stylesheet" href="styles.css"> 
    <link rel="stylesheet" href="coda-slider-2.0.css" type="text/css" media="screen" /> 
     
    </head> 
    <body> 
    ICI LE SLIDER 
    <div class="wrapper"> 
     
    <div id="article1"> 
    <div id="article2"> 
    <div id="article3"> 
    <div id="article4"> 
    <div class="sliderContainer"> 
    <div class="content"> 
    <div class="item"><img sr="logo.jpg" alt="logo toucan.jpeg"/> 
    </div> 
    <div class="item"><img sr="logo.jpg" alt="logo toucan.jpg"/> 
    </div> 
    <div class="item"><img sr="logo.jpg" alt="logo toucan.jpg"/> 
    </div> 
     
    </div> 
    </div> 
    </div> 
    <a href="#article1">1</a> 
    </div> 
    <a href="#article3">3</a> 
    </div> 
    <a href="#article2">2</a> 
    </div> 
     
    </div> 
    </div> 
    <h2> © Copyright </h2>
    </body> 
    </html>
    Code css : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    hr{ 
    width: 100%; 
    background-color: black; 
    height: 1px; 
     
    } 
    .ligne 
    { 
     
     
    border-width : 0 0 1px; 
    border-style : solid; 
    } 
    #Box 
    { background:white; 
    margin:auto; 
    padding:auto; /*auto centre la page*/ 
    height:700px; 
    width:950px; 
    border:1px solid black; 
    } 
     
    img { 
    margin:50px; 
    height: 200px;/*largeur*/ 
    width:250px; /*longeur*/ 
    margin-left:350px; 
    margin-right:auto; 
     
    } 
    #onglet{ 
    margin: 0; 
    padding: 0; 
    list-style: none; 
    } 
     
     
    #onglet li a { 
     
    float:right; 
    padding: 5px 20px; 
    margin-left:2px; 
    background: black; 
    color: #fff; 
     
    -webkit-border-top-left-radius: 10px; 
    -webkit-border-top-right-radius: 10px; 
    } 
     
    } 
    li { 
    margin: 0px; 
    padding:20px; 
    list-style:none; 
    float: right; 
    font-size: 20px; 
     
    } 
     
    #content-slider { 
    width: 650px; 
    overflow: hidden; 
    height: 300px; 
    } 
     
    body{ 
    background:white; 
    color:black; 
    font-family:Arial, verdana; 
    font-size:14px; 
     
    } 
    .wrapper{ 
    margin:20px auto; 
    width:350px; 
    text-align:center; 
     
    } 
    .content{ 
    position:absolute; 
    background:white; 
    top:0px; 
    left:-10px; 
    height:200px; 
    width:1200px; 
    -webkit-transition:all 1s ease; 
    -moz-transition:all 1s ease; 
    -o-transition:all 1s ease; 
    transition:all 1s ease; 
    clear:both; 
     
    } 
    .item{ 
    float:left; 
    width:300px; 
    height:200px; 
    position:relative; 
     
    } 
    #article1, #article2, #article3, #article4{ 
    overflow:hidden; 
    background:white; 
    width:300px; 
    height:305px; 
    margin:0 auto; 
    position:relative; 
     
    } 
    #article1:target .content{ 
    left:-10px; 
     
    } 
    .sliderContainer{ 
    position:relative; 
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; 
    border-radius: 10px; 
    border:1px solid black; /*contour du slider ou du cadre*/ 
    height:220px; 
    width:280px; 
    overflow:hidden; 
     
    } 
    #article2:target .content, #article3:target .content, #article4:target .content{ 
    -webkit-transform: translate(-300px, 0px); 
    -moz-transform: translate(-300px, 0px); 
    -o-transform: translate(-300px, 0px); 
    -ms-transform: translate(-300px, 0px); 
    transform: translate(-300px, 0px); 
     
    } 
    #article3:target .content{ 
    -webkit-transform: translate(-600px, 0px); 
    -moz-transform: translate(-600px, 0px); 
    -o-transform: translate(-600px, 0px); 
    -ms-transform: translate(-600px, 0px); 
    transform: translate(-600px, 0px); 
     
    } 
    #article4:target .content{ 
    -webkit-transform: translate(-900px, 0px); 
    -moz-transform: translate(-900px, 0px); 
    -o-transform: translate(-900px, 0px); 
    -ms-transform: translate(-900px, 0px); 
    transform: translate(-900px, 0px); 
     
    } 
    a{ 
    margin: auto 50px; 
    color:white; 
    text-decoration: none; 
    text-indent:-5000px; 
    background-color:white; 
    width:38px; 
    height:18px; 
    padding:8px; 
    padding-top:0px; 
    -moz-border-radius: 50%; 
    -webkit-border-radius: 390px; 
    border-radius: 390px; 
     
    } 
    #article4 a,#article3 a, #article2 a, #article1 a{ 
    width:22px; 
    height:15px; 
    padding:8px 0; 
    padding-top:0px; 
    -moz-border-radius: 50%; 
    -webkit-border-radius: 390px; 
    border-radius: 390px; 
    position:absolute; 
    bottom:40px; 
    left:55px; 
     
    } 
    #article2 a{ 
    position:absolute; 
    bottom:10px; 
    left:105px; 
     
    } 
    #article3 a{ 
    position:absolute; 
    bottom:10px; 
    left:155px; 
    } 
    #article4 a{ 
    position:absolute; 
    bottom:10px; 
    left:205px; 
    } 
    #article1:target> a, #article2:target> a, #article3:target> a, #article4:target> a{ 
    background:black; 
    color:black; 
    } 
     
    /*change les cercles ou boutons de couleurs*/ 
    a:hover{ 
    background:blue; 
    color:white; 
    } 
    .item img{ 
    margin:auto; 
    margin-top:22px; 
    width:200px; 
    height:150px;
     
    }
    Dernière modification par Bovino ; 05/11/2013 à 17h57. Motif: Suppression de la mention "Problème" inutile dans le titre...

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Probleme d'affichage HTML/PHP
    Par lebigboss dans le forum Balisage (X)HTML et validation W3C
    Réponses: 2
    Dernier message: 15/05/2007, 13h01
  2. Réponses: 4
    Dernier message: 05/12/2006, 20h13
  3. pb affichage <html:errors/>
    Par toony dans le forum Struts 1
    Réponses: 3
    Dernier message: 18/10/2006, 11h38
  4. [Débutant] [JTextPane] Problème d'affichage HTML
    Par callisto dans le forum AWT/Swing
    Réponses: 5
    Dernier message: 11/04/2006, 13h40
  5. probleme affichage html internet explorer 6.0
    Par kodokan dans le forum Balisage (X)HTML et validation W3C
    Réponses: 2
    Dernier message: 07/04/2006, 22h37

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo