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

Mise en page CSS Discussion :

Taille des éléments site web


Sujet :

CSS

  1. #1
    Membre du Club Avatar de csik78
    Homme Profil pro
    Étudiant
    Inscrit en
    Juin 2012
    Messages
    30
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2012
    Messages : 30
    Points : 45
    Points
    45
    Par défaut Taille des éléments site web
    Bonjour,

    Voilà je suis en train de développer un site web sous drupal mais j'ai coder un peu brutalement en rajoutant directement du html dans les pages PHP. J'ai donc modifier le CSS et j'aimerais qu'au chargement du site il soit dans cet état :
    Nom : 500868Nice.png
Affichages : 219
Taille : 405,6 Ko

    Mais pour celà je dois dézoomer avec Ctrl + Molette. Au chargement de la page il est comme ceci :

    Nom : 632267NotNice.png
Affichages : 221
Taille : 269,4 Ko

    Si quelqu'un serait comment faire sans changer toutes les propriétés cela me serait pratique !

    Cordialement Csik.

  2. #2
    Rédacteur

    Avatar de Bovino
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juin 2008
    Messages
    23 647
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 54
    Localisation : France, Gironde (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2008
    Messages : 23 647
    Points : 91 220
    Points
    91 220
    Billets dans le blog
    20
    Par défaut
    Avec les informations que tu donnes, la seule réponse qui me vienne, c'est "Prie très fort..."

    Mais je pense qu'en montrant un minimum de code, il sera possible d'être moins mystique

  3. #3
    Membre du Club Avatar de csik78
    Homme Profil pro
    Étudiant
    Inscrit en
    Juin 2012
    Messages
    30
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2012
    Messages : 30
    Points : 45
    Points
    45
    Par défaut
    Si c'est du CSS que vous avez besoin, vous êtes servi.

    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
    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
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    /*-------- general -------*/
    @font-face {
        font-family: "Sansation";
        src: url('Sansation_Regular.ttf');
    }
    @font-face {
        font-family: "Sansation";
        font-style: italic;
        src: url('Sansation_Light.ttf');
    }
    @font-face {
    	font-family: "Sensation";
    	font-style: bold;
    	src: url('Sansation_Bold.ttf');
    }
    @font-face {
    	font-family: "Raspoutine";
    	src: url('RaspoutineMedium_TB.otf');
    }
     
    * {margin:0;padding:0;} 
     
    .clearfix:after {
    	visibility: hidden;
    	display: block;
    	font-size: 0;
    	content: "";
    	clear: both;
    	height: 0;
    }
     
    html{height: 100%;}
     
    body{
    	font-family: "Sensation", "Raspoutine", Arial, sans-serif;
    	font-size:14px;
    	background-color:#eee;
    	height: 100%;
    	line-height: 140%;
     
    }
     
    a {
      color: #00a5cf;
      text-decoration: none;
    }
     
    a:hover {
      color: #00cbff;
    	text-decoration:none;
    }
     
    h1, h2, h3, h4, h5, h6 {
    	font-weight: normal;
    	line-height: 105%;
    	margin-bottom: 5px;
    }
     
    h1,
    h1 a {
    	font-size: 64px;
      text-decoration: none;
    	color: #222;
    	padding: 30px 0px 0px 0px;
    	font-family: Sensation;
    	text-transform: uppercase;
    	line-height: 70%;
    }
     
    h2,
    h2 a{
    	font-size: 26px;
      text-decoration: none;
    	font-family: Sensation;
    	margin-bottom: 15px;
    	color: #222;
    }
     
    h3,
    h3 a {
    	font-size: 25px;
        text-decoration: none;
    }
     
    h4,
    h4 a {
    	font-size: 20px;
        text-decoration: none;
    }
     
    h5,
    h5 a {
    	font-size: 18px;
        text-decoration: none;
    }
     
    h6,
    h6 a {
    	font-size: 15px;
        text-decoration: none;
    }
     
    /*-------- main layout elements -------*/
    #wrap{min-height: 100%;}
     
    #allbutend{
    	overflow: auto;
    }
     
    #top{
    	width: 100%;
    	background-image: url('images/lightbluefuzz.png');
    	color: #000;
    	height: 40px;
    	padding-top: 8px;
    	padding-bottom:8px;
    	border-bottom: 3px solid #005988;
    }
     
    .fixed{
    	width: 960px;
    	margin: 0 auto;
    }
     
    #branding{
    	color: #0070ac;
    	padding-top: 10px;
    	height:80px;
    }
     
    #featured{
    	clear:both;
    }
     
    #box{
    	clear:both;
    	position:relative;
     
    	margin: 10px 0px;
    }
     
    #main-menu{
    	float: left;
    	width: 700px;
    	font-size: 18px;
    }
     
    #main-menu ul{
        list-style:none; 
    	background:none;
    }
    #main-menu-links{
    	padding: 5px;
    	margin: 5px 0px;
    }
     
    #main-menu-links a{color: #fff;}
     
    #main-menu-links a:hover{color: #000;}
     
    #main-menu ul li{
    	display: inline;
    	margin-right: 15px;
    }
     
    #block-system-main-menu h2{visibility: hidden;}
     
    #main{
    	position:relative;
    	width: auto;
    	height: 100%;
    	overflow: hidden;
    	margin-bottom:15px;
    }
     
    #content{
    	color: #000;
    	font-size: 100%;
    	padding: 20px;
    	height: 100%;
    }
     
    #topright{
    	color: #fff;
    	padding: 30px 20px;
    	background-color:#006fab;
    	background-image: url('images/lightbluefuzz.png');
    	-moz-border-radius: 5px;
    	-webkit-border-radius: 5px;
    	border-radius: 5px;
    	height: 190px;
    	width: 200px;
    	float:right;
    	margin:5px 0px 15px 0px;
    }
     
    /* J'ai remplacé le menu classique du thème par un menu déroulant (drop down menu), c'est le CSS qui s'occupe du design du menu le reste est dans 
    le page front et page.tpl.php */
    /* Début DESIGN*/
    .menu_top,
    .menu_top ul,
    .menu_top li,
    .menu_top a {
    	margin: 0;
    	padding: 0;
    	border: none;
    	outline: none;
    }
     
    /* Menu */
    .menu_top {	
    	height: 40px;
    	width: 570px;
     
    	background: #4c4e5a;
    	background: -webkit-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    	background: -moz-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    	background: -o-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    	background: -ms-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    	background: linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
     
    	-webkit-border-radius: 5px;
    	-moz-border-radius: 5px;
    	border-radius: 5px;
    }
     
    .menu_top li {
    	position: relative;
    	list-style: none;
    	float: left;
    	display: block;
    	height: 40px;
    }
     
    /* Links */
     
    .menu_top li a {
    	display: block;
    	padding: 0 14px;
    	margin: 6px 0;
    	line-height: 28px;
    	text-decoration: none;
     
    	border-left: 1px solid #393942;
    	border-right: 1px solid #4f5058;
     
    	font-family: Helvetica, Arial, sans-serif;
    	font-weight: bold;
    	font-size: 13px;
     
    	color: #f3f3f3;
    	text-shadow: 1px 1px 1px rgba(0,0,0,.6);
     
    	-webkit-transition: color .2s ease-in-out;
    	-moz-transition: color .2s ease-in-out;
    	-o-transition: color .2s ease-in-out;
    	-ms-transition: color .2s ease-in-out;
    	transition: color .2s ease-in-out;
    }
     
    .menu_top li:first-child a { border-left: none; }
    .menu_top li:last-child a{ border-right: none; }
     
    .menu_top li:hover > a { color: #8fde62; }
     
    /* Sub Menu */
     
    .menu_top ul {
    	position: absolute;
    	top: 40px;
    	left: 0;
     
    	opacity: 0;
     
    	background: #1f2024;
     
    	-webkit-border-radius: 0 0 5px 5px;
    	-moz-border-radius: 0 0 5px 5px;
    	border-radius: 0 0 5px 5px;
     
    	-webkit-transition: opacity .25s ease .1s;
    	-moz-transition: opacity .25s ease .1s;
    	-o-transition: opacity .25s ease .1s;
    	-ms-transition: opacity .25s ease .1s;
    	transition: opacity .25s ease .1s;
    }
     
    .menu_top li:hover > ul { opacity: 1; }
     
    .menu_top ul li {
    	height: 0;
    	overflow: hidden;
    	padding: 0;
     
    	-webkit-transition: height .25s ease .1s;
    	-moz-transition: height .25s ease .1s;
    	-o-transition: height .25s ease .1s;
    	-ms-transition: height .25s ease .1s;
    	transition: height .25s ease .1s;
    }
     
    .menu_top li:hover > ul li {
    	height: 36px;
    	overflow: visible;
    	padding: 0;
    }
     
    .menu_top ul li a {
    	width: 100px;
    	padding: 4px 0 4px 40px;
    	margin: 0;
     
    	border: none;
    	border-bottom: 1px solid #353539;
    }
     
    .menu_top ul li:last-child a { border: none; }
     
    /* Icons */
    /*Choix possible de trois images dans le fichier image */
    .menu_top a.documents { background: url(img/arrow.png) no-repeat 6px center; }
    .menu_top a.messages { background: url(img/arrow.png) no-repeat 6px center; }
    .menu_top a.signout { background: url(img/arrow.png) no-repeat 6px center; }
    /* Fin DESIGN menu */
     
    #footer{
    	clear: both;
    	width: 100%;
    	color: #fff;
    	padding: 15px 0px;
    }
     
    #end{
    	position: relative;
    	clear: both;
    	width: 100%;
    	background-image: url('images/darkbluefuzz.png');
    	color: #fff;
    	padding-top: 15px;
    	border-top: 3px solid #005988;
    	padding-bottom:15px;
    }
    /*-------- branding elements -------*/
     
    #logo{
    	float:left;
    	padding-right:10px;
    }
     
    #sitename{ 
    	float:left;
    }
     
    #sitename h1,
    #sitename h1 a{
    	color: #0070ac;
    	padding: 20px 0px 0px 0px;
    }
     
    #sitename h1 a:hover{
    	color: #000;
    	padding: 0px;
    }
     
    .social{
    	float:right;
    	padding-top:35px;
    }
    .social img{
    	padding: 5px 10px 0px 0px;
    }
    /*-------- sidebars -------*/
     
    .bar{
    	color: #000;
    	padding: 30px 20px;
    	background-color: #fff;
    	margin-left: 15px;
    	position:relative;
    	height:100%;
    	width: 200px;
    	float:left;
    	-moz-border-radius: 5px;
    	-webkit-border-radius: 5px;
    	border-radius: 5px;
    }
     
     
     
     
    /*-------- body classes ------*/
     
    body.one-sidebar #content {
    	width: 665px;
    	padding: 20px;
    	position: relative;
    	background:#fff;
    	float:left;
    	-moz-border-radius: 5px;
    	-webkit-border-radius: 5px;
    	border-radius: 5px;
    }
     
    body.two-sidebars #content {
    	width: 410px;
    	padding: 20px;
    	position: relative;
    	background: #A7B6B4;
    	float:left;
    	-moz-border-radius: 5px;
    	-webkit-border-radius: 5px;
    	border-radius: 5px;
    }
     
     
     
    body.no-sidebars #content {
    	width: 940px;
    	padding: 20px;
    	position: relative;
    	background: #fff;
    	float:left;
    	-moz-border-radius: 5px;
    	-webkit-border-radius: 5px;
    	border-radius: 5px;
    }
    /*-------- search -------*/
     
    #search{
    	float:right;
    }
     
    #search-block-form{
    	width: 245px;
    	float: right;
    	margin-right: -5px;
    }
     
    .form-item-search-block-form input.form-text,
    .form-item-search-block-form input[type=text]{
    	width: 184px;
    	height:18px;
      border: solid 2px #ddd;
    	-moz-border-radius: 5px;
      -webkit-border-radius: 5px;
      border-radius: 5px;
    	padding:5px;
    	margin-right:5px;
    }
     
    #search-block-form input.form-submit,
    #search-form input.form-submit {
      margin-left: 0;
      margin-right: 0;
      height: 30px;
      width: 30px;
      padding: 0;
      cursor: pointer;
      text-indent: -9999px;
      text-transform: capitalize; /* make text indent work in ie */
    	border: 0;
      background: url('images/search.png') no-repeat center top;
    	background-color: #444;
    	-moz-border-radius: 15px;
      -webkit-border-radius: 15px;
      border-radius: 15px;
      overflow: hidden;
    }
     
    /*-------- footer regions -------*/
    .footerblock{
    	width: 270px;
    	padding:20px;
    	float:left;
    	background-image: url('images/lightbluefuzz.png');
    	-moz-border-radius: 5px;
      -webkit-border-radius: 5px;
      border-radius: 5px;
    	margin-right:15px;
    }
     
    .footerblock h2{
    	color: #fff;
    }
     
    .footerblock.last{
    	margin-right: 0px;
    }
     
    .credits{
    	clear:both;
    	width: 100%;
    }
    /*-------- nodes and common elements -------*/
     
    .node, .node-teaser{
    	margin-bottom: 10px;
    	padding-bottom: 10px;
    	padding-top: 10px;
    }
     
    .node-teaser{border-bottom: 1px dashed #888;}
     
    #main .content img{
    	float: left;
    	margin-right: 20px;
    	margin-bottom: 20px;
    }
     
    .content h2{margin-bottom: 10px;}
     
    p{margin-bottom: 10px;}
     
    ul.pager{
    	padding-top: 15px;
    	font-size: 12px;
    }
     
    .item-list .pager {
    	text-align: left;
    }
     
    .item-list .pager li{ 
    	padding: .05em;
    }
     
    .more-link{
    	margin-bottom: 10px;
    }
     
    /*-------- blocks -------*/
     
    #block-system-powered-by{padding: 15px 0px;}
     
    #block-node-recent .content {
    	margin-left: -20px;
    	width: 236px;
    }
     
    #block-node-recent .title-author{
    	padding: 20px;
    }
     
    .block h2{
    	font-size: 24px;
    }
     
    .bar .block {margin-bottom: 25px;}
     
    /*-------- meta styles -------*/
     
    .submitted{
    	color: #000;
    	margin-bottom: 10px;
    }
     
    .user-picture{clear: both;}
     
    /*-------- link styles -------*/
     
    ul.inline li {
    	padding:0px;
    }
     
    /*-------- taxonomy and tags -------*/
     
    .taxonomy{
    	background:#e7e7d6;
    	padding:0.3em 0.6em; 
    	border:1px dashed #fff; 
    	margin-top:5px;
    } 
     
    .field-name-field-tags .field-item{
    	display:inline;
    	padding: 0px 10px 0px 0px;
    }
     
    .field-name-field-tags .field-item a{
    	background-color: #eee;
    	color: #000;
    	padding: 4px;
    	-moz-border-radius: 4px;
    	-webkit-border-radius: 4px;
    	border-radius: 4px;
    }
     
    .field-name-field-tags .field-items{
    	margin-bottom:10px;
    }
     
    .field-name-field-tags .field-item a:hover{
    	background-color: #000;
    	color: #fff;
    }
    .field-type-taxonomy-term-reference .field-label{
    	color: #333;
    	text-transform: uppercase;
    	margin:15px 0px 8px 0px;
    	font-size: 13px;
    	clear: both;	
    }
    /*-------- tables -------*/
     
    table tr td{
      background-color:#222;
    	color: #fff;
    	padding: 10px;
    }
    /*-------- comments -------*/
    #comments{margin-top: 40px;}
     
    #comments h2{
    	padding: 0px 0px 10px 0px;
    	margin-bottom: 10px;
    	border-bottom: 1px solid #999;
    }
     
    #comments ul.links a{color: #fff;}
     
    #comments ul.links a:hover{color: #333;}
     
    .comment{
    	margin-bottom: 20px;
    	padding-bottom: 20px;
    	border-bottom: 1px dashed #888;
    }
     
    /*-------- forms -------*/
    input, select, textarea, button {
      font-family: Sensation, Raspoutine, sans-serif;  
    }
     
    input.form-text,
    input[type=text]{
    	height:18px;
      border: solid 2px #ddd;
    	-moz-border-radius: 5px;
      -webkit-border-radius: 5px;
      border-radius: 5px;
    	padding:5px;
    	margin-right:5px;
    	font-size:16px;
    	margin-top:3px;
    }
     
    textarea.form-textarea, textarea {
      background-color: #fff;
      border: solid 1px #666;
      padding: 10px;
    }
     
    button,
    input[type=submit],
    input.form-submit,
    .form-actions a,
    .form-actions a:visited,
    .button, a.button, a.button:visited {
      background: #eee;
      border: 1px solid #ddd;
      border-bottom-color: #ccc;
      border-right-color: #ccc;
      color: #333;
      font-size: 13px;
      padding: 4px;
      margin: 4px;
      overflow: hidden;
    	-moz-border-radius: 4px;
    	-webkit-border-radius: 4px;
    	border-radius: 4px;
    }
     
    /*--- SLIDESHOW --*/
     
    #slideshow {
    	width:960px;
    	height:380px;
    	position:relative;
    	margin-top:20px;
    }
     
    #slides {
    	position:absolute;
    	top:0px;
    	left:0px;	
    	z-index:100;
    }
     
    .slides_container {
    	width:930px;
    	overflow:hidden;
    	position:relative;
    	display:none;
    	border:15px solid #fff;
    }
     
    .slides_container div.slide {
    	width:930px;
    	height:300px;
    	display:block;
    }
     
    #slides .next,#slides .prev {
    	position:absolute;
    	top:130px;
    	left:-30px;
    	width:30px;
    	height:30px;
    	display:block;
    	z-index:101;
    }
     
    #slides .next {
    	left:960px;
    }
     
    .pagination {
    	margin:20px auto 0;
    	width:110px;
    }
     
    .pagination li {
    	float:left;
    	margin:0 5px;
    	list-style:none;
    }
     
    .pagination li a {
    	display:block;
    	width:12px;
    	height:0;
    	padding-top:12px;
    	background-image:url(images/pagination.png);
    	background-position:0 0;
    	float:left;
    	overflow:hidden;
    }
     
    .pagination li.current a {
    	background-position:0 -12px;
    }
     
    .caption {
    	z-index:500;
    	position:absolute;
    	bottom:-300px;
    	left:600px;
    	height:255px;
    	padding:20px 30px 25px 20px;
    	background:#000;
    	background:rgba(0,0,0,.5);
    	width:280px;
    	font-size:1.3em;
    	line-height:1.33;
    	color:#fff;
    	text-shadow:none;
    }
     
    /* Menu situé dans la barre à gauche */
    .cssmenu {
    	width: 150px;
    	margin: 0;
    	padding: 0;
    	display: block;
    	margin-top : 200px;
    	position:absolute;
     
     
     
    }
    .cssmenu ul {
    	display: block;
    	list-style: none;
    	margin: 0;
    	padding: 0;
    	font-size:100%;
     
    }
    .cssmenu ul li {
    	display: block;
    	float: left;
    	width: 100%;
    	margin: 0;
    	padding: 0;
    	background: transparent url(images/bg-bubplastic-button.gif) top left no-repeat;
    }
     
    .cssmenu ul li a {
    	display: block;
    	margin: 0;
    	width: 100%;
    	padding-left: 35px;
     
    	font-family: 'Helvetica Neue',Sensation,'microsoft sans serif',Sensation,sans-serif;
    	font-size: 90%;
    	color: #FFFFFF;
    	text-decoration: none;
    	background: transparent url(images/bg-bubplastic-button.gif) top left no-repeat;
     
    }
     
    .cssmenu ul li a span {
    	display: block;
    	margin: 0;
    	width: 100%;
    	height: 22px;
    	padding-top: 5px;
    	padding-right: 35px;
    	background: transparent url(images/bg-bubplastic-button.gif) top right no-repeat;
    	cursor: pointer;
     
    }
     
    .cssmenu ul li a:hover,
    .cssmenu ul li.active a {
    	background: transparent url(images/bg-bubplastic-h-gray.gif) top left no-repeat;
     
    }
    .cssmenu ul li a:hover span,
    .cssmenu ul li.active a span {
    	background: transparent url(images/bg-bubplastic-h-gray.gif) top right no-repeat;
     
    }
    /* C'est la bande vertical a gauche dans laquelle est compris le menu*/
    #menu_gauche{
    background:#B9B6B6; 
    top:89px;
    width:220px;
    height:98%;
    position:absolute;
    }

  4. #4
    Membre du Club Avatar de csik78
    Homme Profil pro
    Étudiant
    Inscrit en
    Juin 2012
    Messages
    30
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2012
    Messages : 30
    Points : 45
    Points
    45
    Par défaut Suite
    Voilà, je cherche toujours le problème. Je souhaiterais simplement savoir si il y a une autre solution que de redimensionner tout les éléments.

    Merci.

    Edit : Ou bloquer le zoom a 75 % si c'est possible m'irait très bien.

  5. #5
    Membre habitué
    Homme Profil pro
    Développeur Web
    Inscrit en
    Janvier 2012
    Messages
    93
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 34
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Tourisme - Loisirs

    Informations forums :
    Inscription : Janvier 2012
    Messages : 93
    Points : 161
    Points
    161
    Par défaut
    csik78, si tu veux de l'aide il ne suffit pas de balancer ta feuille de style comme ça lol, comment veux tu que l'ont comprennent ton problème si tu ne donne pas le html et le css et en passant on veut pas tout juste la partie qui concerne ton problème

  6. #6
    Membre éclairé Avatar de c_s_s
    Profil pro
    Inscrit en
    Juillet 2008
    Messages
    619
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juillet 2008
    Messages : 619
    Points : 747
    Points
    747
    Par défaut
    Un lien vers la page en question pourrait aussi être pratique.

  7. #7
    Membre du Club Avatar de csik78
    Homme Profil pro
    Étudiant
    Inscrit en
    Juin 2012
    Messages
    30
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2012
    Messages : 30
    Points : 45
    Points
    45
    Par défaut
    J'aurais bien voulu le passer mais le soucis c'est que je développe sous drupal et il n'y a a donc que deux pages (une page front (accueil) et une page correspondant a toutes les autres)
    j'aimerais bloquer le zoom à 75 % pour avoir un affichage comme ci dessus.

    Pour ceux qui ont drupal, je peux vous fournir le dossier avec le thème et donc le CSS/templates et autres.

    Le serveur est en local pour le moment une fois finis l'entreprise le mettera en publique.

    Sinon ce n'est pas vraiment un problème HTML mais plutôt de taille des éléments selon moi.

    Je vous fournis un lien dropbox pour donner d'avantage d'informations.
    https://www.dropbox.com/sh/dunl8lk2ljwt7y1/n_GuVNKxV0

  8. #8
    Rédacteur

    Avatar de Torgar
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 334
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 334
    Points : 8 040
    Points
    8 040
    Par défaut
    Salut,

    Au pire, peux-tu nous poster le code source de la page une fois généré s'il te plait ? (clic-droit -> afficher la source sous firefox).

    On pourra reproduire la page en statique (sans les images, mais c'est pas le souci ça) et ainsi voir pourquoi il y a un décalage.

    C'est peut-être dû à un position en absolute, mais... je ne pourrais le certifier.

  9. #9
    Membre régulier
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    104
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 104
    Points : 113
    Points
    113
    Par défaut
    Ou bloquer le zoom a 75 % si c'est possible m'irait très bien.
    ceux qui ont pas la meme resolution que toi vont faire la gueule a mon avis.

    sinon j'pencherais plutot sur ce genre de choses :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    #slides .next,#slides .prev {
    	position:absolute;
    	top:130px;
    	left:-30px;
    	width:30px;
    	height:30px;
    	display:block;
    	z-index:101;
    }
     
    #slides .next {
    	left:960px;
    }
    tout fixer en pixel + absolute c'est quand meme hard

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

Discussions similaires

  1. cahier des charges site web
    Par kate59 dans le forum Général Conception Web
    Réponses: 2
    Dernier message: 08/05/2011, 20h31
  2. Réponses: 13
    Dernier message: 18/08/2010, 10h52
  3. cahier des charges site web
    Par kate59 dans le forum Général Conception Web
    Réponses: 2
    Dernier message: 18/09/2009, 08h55
  4. cahier des charges site web
    Par jonathan1 dans le forum Général Conception Web
    Réponses: 0
    Dernier message: 27/08/2008, 09h46
  5. Expand et taille des éléments
    Par flo_k dans le forum GTK+ avec C & C++
    Réponses: 4
    Dernier message: 30/05/2008, 19h00

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