Usesful CSS tip
if you need to toggle off and on some css just to see what it does or how it might effect your layout
you can use this / in front of the style to toggle it off, it's very handy for checking css and also for learning how one element effects another
ie
/ body { background url()}
you can use this / in front of the style to toggle it off, it's very handy for checking css and also for learning how one element effects another
ie
/ body { background url()}
0
This discussion has been closed.
Comments
/* body { background url()} */
body{ color:#000; Xcolor:#777; }
Note the "X", that's the rule browsers will ignore. Just reember to keep those out of the final stylesheet, I use firebug Fx extension for that. (I set it to report CSS erors.)
the /* */ takes longer and is more permanent if you want to keep something excluded
but with / its only temporary for diagnostic purposes
comes in handy to see what's controlling what,