CSS, PHP and ActionScript 3 tutorials
Reseteaza stilurile CSS
Urmatorul cod CSS reseteaza sau seteaza toate tag-urile intr-o pagina HTML.
Browserele au valori diferite de padding sau margin si asta poate cauza probleme la afisarea elementelor in pagina.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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, 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-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; background: transparent; } |
Trebuie pus exact la inceputul fisierului ce contine CSS-ul tau.
Popularity: 3% [?]
| Print article | This entry was posted by Sorin on 07/11/2008 at 06:52, and is filed under CSS. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 1 year ago
Iti sugerez http://developer.yahoo.com/yui/reset/ pentru resetare CSS
about 1 year ago
stiam de ala dar inca nu l-am incercat.. desi tot ma gandesc sa trec pe resetul ala
oricum mersi de link si ca mi-ai adus aminte
about 2 months ago
oh this is an old trick of course