Sujet fermé
Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

[resolu]Tag objet et alignement
#9

voici pour l'instant la div breakcrumbs
Code :
{* Start Breadcrumbs *}
      <div class="crbk">
{* holds the right image, we need 2 divs to be able to make this site fluid, if it was fixed width we could use one div, one image  *}

        <div class="breadcrumbs">
       {lang} {breadcrumbs starttext=$mystring root='Home' delimiter='»'}
<div class="objetAligne">
{object src='uploads/ngrey/anim_home.swf' width="932" height="162" alt='ufr_ct'}
</div>
          <hr class="accessibility" />
        </div>
      </div>
{* End Breadcrumbs *}
et css associé
Code :
div.crbk {
/* sets all to 0 */
    margin: 0;
    padding: 0;
/* you can set your own image here */
    background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
    padding: 1em 0em 1em 1em;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
    font-size: 90%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
    margin: 0px;
/* you can set your own image here */
    background: url(uploads/ngrey/mainleftup.gif) no-repeat left bottom;
}

/* class Objet */
div.objetAlign {
display:inline-table;
text-align:center;
border-color:red;
border-width:1px;

}
Sujet fermé


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)