reset.css olayı tam olarak nedir, işe yarar mı ?
7
●4.128
- 25-05-2010, 09:18:38Eposta Aktivasyonu Gerekmektegayet işe yarar, ben hiçbir css'e restsiz başlamam, örnek css reset kodu olarak;
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, sm, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; }bunu kullanabilir ve çeşitlendirebilirsiniz.
İyi Çalışmalar. - 25-05-2010, 09:46:15Kimlik doğrulama veya yönetimden onay bekliyor.Bende hiç bir tasarımıma reset'siz başlamam. bende fatihhayrioglunun resetini kullanıyorum
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } /* remember to define focus styles! */ :focus { outline: 0; } /* remember to highlight inserts somehow! */ ins { text-decoration: none; } del { text-decoration: line-through; } /* tables still need 'cellspacing="0"' in the markup */ table { border-collapse: collapse; border-spacing: 0; } - 25-05-2010, 12:03:26reset css'i zaten kullandıkça kendinize göre optimize ediyorsunuz. Herhangi birinin reset'i size eksik ya da gereksiz fazla gelebilir. Genel olarak ve en basit tanımla reset.css sayfada kullanacağınız belli başlı elemanları stilini en baştan vermek için kullanılır genelde. yani bir a etiketi eğer tüm sitenizde siyah bold 12px arial olacaksa bunu en başta tanımlamanız yeterli oluyor. bir diğer işlevi de tüm elemanların margin ve padding değerlerini sıfırlar ve böylece istenmeyen boşluklardan kurtulursunuz.
Kabaca reset bu işe yarar.
Çok önceleri görmüştüm, şimdi çaktım olayı, sağolun.