Multiple CSS increases productivity of hiding and showing with display attribute

With the prevalence of DHTML, much less AJAX, I have begun to use separate Cascading Style Sheets for development and publishing. Since styles override each other, the easiest way to accomplish this is to add a second style sheet link after the publishing CSS link and comment it out when one wants to test the page.

?¢‚Ǩ?ìdev.css?¢‚Ǩ¬ù contains ?¢‚Ǩ?ìdisplay: block;?¢‚Ǩ¬ù within all classes that in the publishing CSS contain ?¢‚Ǩ?ìdisplay: none;
?¢‚Ǩ¬ù much like that below:

.profile_box { display: none;} (index.css)

.profile_box { display: block; } (dev.css)

If you have found this post valuable, please share it with others: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Facebook
  • del.icio.us
  • Google
  • StumbleUpon
  • TwitThis

Read more posts like 'Multiple CSS increases productivity of hiding and showing with display attribute'

Leave a Reply


Books Now Reading

My Sites