Sivu 1/1

Mitä tälle koodille tulee muuttaa?

Lähetetty: 29 Joulu 2007, 01:24
Kirjoittaja Mokkeli
Tämä on ohjeista jonka Lurttinen antoi, kulmien pyöristämisestä muuta ei tunnu onnistuvan?
Tiedosto on styles/prosilver/themes/colours.css
Käykö nuo kulmat käyttää joita ohjeissa on? :ugeek:
Kavensin foorumin 800px kokoon, haittaakohan se mitään näitä kulmien ohjeita??

:?:

Koodi: Valitse kaikki

.top-left, .top-right, .bottom-left, .bottom-right { 
   background-image: url("{T_THEME_PATH}/images/corners1280x18.gif"); /* CHANGE: path and name of your image */
   height: 9px;       /* CHANGE: replace by the height of one of your corners (= 1/2 height of the image) */
   font-size: 2px;    /* DNC: correction IE for height of the <div>'s */
   }
.top-left, .bottom-left { 
   margin-right: 9px; /* CHANGE: replace by the width of one of your corners */
   }
.top-right, .bottom-right { 
   margin-left: 9px;  /* CHANGE: replace by the width of one of your corners */
   margin-top: -9px;  /* CHANGE: replace by the height of one of your corners */
   }
.top-right {
   background-position: 100% 0;    /* DNC: position right corner at right side, no vertical changes */
   }
.bottom-left  { 
   background-position: 0 -9px;    /* CHANGE: replace second number by negative height of one of your corners */
   }
.bottom-right { 
   background-position: 100% -9px; /* CHANGE: replace second number by negative height of one of your corners */
   }
.inside {
   border-left: 1px solid #C00000; /* YCC: color & properties of the left-borderline */
   border-right: 1px solid #C00000;/* YCC: color & properties of the right-borderline */
   background: #FFFFFF;            /* YCC: background-color of the inside */
   color: #000000;                 /* YCC: default text-color of the inside */
   padding-left: 0px;             /* YCC: all texts at some distance of the left border */
   padding-right: 0px;             /* YCC: all texts at some distance of the right border */
   }
.notopgap    { margin-top: 0; }    /* DNC: to avoid splitting of the box */
.nobottomgap { margin-bottom: 0; } /* DNC: to avoid splitting of the box */

.outside {
   margin : 25px;
}