Efendim son moda Css taktikleri bakmadan geçmeyin belki şöyle güzel bi' tanesini sitenizin bi köşesinde kullanıp bize hayır duası edersiniz.
Yuvarlak Köşeler (Grafik Kullanmadan)
HTML:
CSS:
-
.rtop, .rbottom{display:block}
-
.rtop *, .rbottom *{display: block; height: 1px; overflow: hidden}
-
.r1{margin: 0 5px}
-
.r2{margin: 0 3px}
-
.r3{margin: 0 2px}
-
.r4{margin: 0 1px; height: 2px}
Liste Stilleri
HTML:
CSS:
-
ol {
-
font: italic 1em Georgia, Times, serif;
-
color: #999999;
-
}ol p {
-
font: normal .8em Arial, Helvetica, sans-serif;
-
color: #000000;
-
}
Tablosuz Formlar

HTML:
CSS:
-
label,input {
-
display: block;
-
width: 150px;
-
float: left;
-
margin-bottom: 10px;
-
}
-
-
label {
-
text-align: right;
-
width: 75px;
-
padding-right: 20px;
-
}
-
-
br {
-
clear: left;
-
}
Alıntı

CSS:
-
blockquote:first-letter {
-
background: url(images/open-quote.gif) no-repeat left top;
-
padding-left: 18px;
-
font: italic 1.4em Georgia, “Times New Roman”, Times, serif;
-
}
Graident Yazı Stili

CSS:
-
h1 {
-
font: bold 330%/100% “Lucida Grande”;
-
position: relative;
-
color: #464646;
-
}
-
h1 span {
-
background: url(gradient.png) repeat-x;
-
position: absolute;
-
display: block;
-
width: 100%;
-
height: 31px;
-
}
-
-
<!–[if lt IE 7]>
-
<style>
-
h1 span {
-
background: none;
-
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’gradient.png’, sizingMethod=’scale’);
-
}
-
</style>
-
<![endif]–>
Dikey Hizalama

HTML:
-
<p>İçerik</p>
CSS:
-
div{
-
height:100px;
-
}
-
div *{
-
margin:0;
-
}
-
div p{
-
line-height:100px;
-
}
Yuvarlak Köşeler (Grafikli)

HTML:
CSS:
-
.roundcont {
-
width: 250px;
-
background-color: #f90;
-
color: #fff;
-
}
-
-
.roundcont p {
-
margin: 0 10px;
-
}
-
-
.roundtop {
-
background: url(tr.gif) no-repeat top right;
-
}
-
-
.roundbottom {
-
background: url(br.gif) no-repeat top right;
-
}
-
-
img.corner {
-
width: 15px;
-
height: 15px;
-
border: none;
-
display: block !important;
-
}
Çoklu Class Değeri
HTML:
-
<img src=”image.gif” class=”class1 class2″ alt=”" />
CSS:
-
.class1 { border:2px solid #666; }
-
.class2 {
-
padding:2px;
-
background:#ff0;
-
}
Yatay Hizalama

HTML:
-
<div id=”container”></div>
CSS:
-
#container {
-
margin:0px auto;
-
}
İlk Harfi Büyük Paragraf

HTML:
-
<p class=”introduction”> This paragraph has the class “introduction”. If your browser supports the pseudo-class “first-letter”, the first letter will be a drop-cap. </p>
CSS:
-
p.introduction:first-letter {
-
font-size : 300%;
-
font-weight : bold;
-
float : left;
-
width : 1em;
-
}
« SMF kurtarma | Plus Diyor ki »


