Diagnostics tools for css


/ Published in: CSS
Save to your folder(s)

from Eric Myers toolkit


Copy this code and paste it in your HTML
  1. /* =Diagnostics
  2. ----------------------------------------------- */
  3.  
  4. /* Outline DIV */
  5. /* div { border: 1px dashed red !important;}*/
  6.  
  7. /* Style Attribute */
  8. /**[style] {border: 1px dashed red !important;}*/
  9.  
  10. /* Table Show*/
  11. /*table {border: 1px solid red !important; margin: 3px !important;}
  12. th {border: 1px dotted red !important;}
  13. td {border: 1px dotted purple !important; padding: 2px !important;}*/
  14.  
  15. /* Font POP! */
  16. /*FONT, FONT * {font-weight: bold !important; color: yellow !important; background: red !important; border: 3px solid lime !important; padding: 0.25em !important;}*/
  17.  
  18. /* No ALT!*/
  19. /*img {border: 3px solid red !important; padding: 2px !important; background: lime !important;}
  20. img[alt] {border-width: 0 !important; padding: 0 !important;}*/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.