CSS coder help! CENTER <div>

Out of context: Reply #4

  • Started
  • Last post
  • 17 Responses
  • benfal990

    CSS :

    @charset "utf-8";

    /* Le corps de la page */
    body {
    background-color: #FFF;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    }

    /* Le menu en haut */
    #menu {
    background-color: #999;
    position: fixed;
    width: 100%;
    height: 55px;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 22px;
    color: #000;
    text-shadow: 5px 0px #999;
    font-weight: bold;
    top: 0px;
    }

    /* Les colonnes d'images */
    #bigblock, #bigblock2, #bigblock3, #bigblock4, #bigblock5, #bigblock6, #bigblock7, #bigblock8, #bigblock9, #bigblock10, #bigblock11, #bigblock12 {
    background-color: #F8F8F8;
    text-align: center;
    display: block;
    width: 125px;
    float: left;
    clear: none;
    padding: 1px;
    margin: 6px;
    border: 1px dotted;
    border-color: #999;
    }

    #illustrations, #design, #photos {
    width: ...;
    margin-left: auto;
    margin-top: 8px;
    margin-right: auto;
    margin-bottom: 8px;
    text-align: center;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #666;
    font-weight: bold;
    text-shadow: 2px 2px 2px #CCC;
    display: block;
    overflow: auto;
    }

    • /* Les colonnes d'images */ are the columns with images.benfal99
    • #illustrations, #design, #photos are the big block containing the columns of imagesbenfal99

View thread