SVAP maj

by matmat

HTML

<div id="Mainwrapper">
    <div class="AjouterObjet h60 w60 lh30" id="AjouterObjet">Créer
        <br />Annonce</div>
    <div class="maintitle h40">
        <div class="wrapper1">
            <div class="helper"></div>
            <div class="imgcontent70">
                <img src="http://www.junkst.com/Images/Icones/SAAP.png" alt="Junkst" title="Junkst" />
            </div>
            <div class="contentmaintitle">Mes <span class="cOR">Services</span>

            </div>
        </div>
    </div>
    <!-- Fin boite titre-->
    <div class="ligneAPPmenu h30 lh30">
        <div class="colligneAPPmenu h30 lh30">
            <p class="ligneAPPmenucol1">Filtre:</p>
            <p class="ligneAPPmenucol2">
                <select id="categorie" data-app="SAAP">
                    <option value="00">-- Catégorie --</option>
                    <option value=""></option>
                </select>
            </p>
        </div>
        <div class="colligneAPPmenu">
            <p class="ligneAPPmenucol1">et</p>
            <p class="ligneAPPmenucol2">
                <select id="souscategorie" data-app="SAAP" disabled="disabled">
                    <option value="00">-- Sous Catégorie --</option>
                </select>
            </p>
        </div>
        <div class="colligneAPPmenu">
            <p class="ligneAPPmenucol1">Trier</p>
            <p class="ligneAPPmenucol2">
                <select id="triselect" style="" data-app="SAAP">
                    <option value="0" selected="selected">Date: du plus récent au plus ancien</option>
                    <option value="1">Prix croissant</option>
                    <option value="2">Date: du plus ancien au plus récent</option>
                    <option value="3">Prix décroissant</option>
                </select>
            </p>
        </div>
    </div>
    <div class="ligneAPPnavmenu">
        <div class="helper"></div>
        <div class="titlepage">Page:</div>
        <div class="navpage h20 w20...

CSS

html, body {
    /* suppression des éventuels styles par défaut */
    margin:0;
    padding:0;
    font-size:100%;
    /* on spécifie un repère pour le calcul des hauteurs */
    height:100%;
    font-family:Georgia;
    padding:30px;
}
a {
    text-decoration:none;
    color:#900;
}
.h10 {
    height:20px;
}
.w10 {
    width:20px;
}
.h20 {
    height:20px;
}
.lh20 {
    line-height:20px;
}
.h30 {
    height:30px;
}
.w30 {
    width:30px;
}
.w40 {
    width:40px;
}
.lh30 {
    line-height:30px;
}
.h40 {
    height:40px;
}
.lh40 {
    line-height:40px;
}
.h60 {
    height:60px;
}
.lh60 {
    line-height:60px;
}
.w60 {
    width:60px;
}
.helper, .imgcontent70, .imgcontent2, .contentmaintitle, .imgcontent3, .imgcontent50 {
    /* on permet à ces éléments de s'aligner verticalement */
    display:inline-block;
    vertical-align:middle;
}
.helper {
    /* hauteur de la fenêtre, par rapport à laquelle les éléments vont être alignés */
    height:100%;
}
.imgcontent70 {
    /* des dimensions au hasard */
    height:70%;
    margin-left:2%;
    /* on le rend visible */
}
.imgcontent70 img {
    height:100%;
}
.imgcontent50 {
    height:50%;
    margin-left:2%;
}
.imgcontent50 img {
    height:100%;
}
.imgcontent2, .contentmaintitle {
    margin-left:2%;
    color:#808080;
}
.imgcontent3 {
    /* des dimensions au hasard */
    height:50%;
    cursor:pointer;
    /* on le rend visible */
}
.imgcontent3 img {
    height:100%;
}
.wrapper1 {
    width:85%;
    height:100%;
    display:inline-block;
    vertical-align:middle;
    box-sizing:border-box;
}
.wrapper2 {
    width:10%;
    height:100%;
    display:inline-block;
    vertical-align:middle;
    box-sizing:border-box;
}
.maintitle {
    /* hauteur de la fenêtre, par rapport à laquelle les éléments vont être alignés */
    background:whitesmoke;
    box-sizing:border-box;
    border-bottom:1px solid gainsboro;
}
#Mainwrapper {
    /* hautr de la fenêtre, par rapport à laquelle les éléments vont être alignés */
   ...