Edward 108 Posted September 5, 2012 Report Share Posted September 5, 2012 If you wish to disable a CSS rule for testing you can insert a 1 in front of it, for example: 1background-color:black This will disable the rule. Quote Link to post Share on other sites
Larry 428 Posted September 5, 2012 Report Share Posted September 5, 2012 Thanks for sharing that! Quote Link to post Share on other sites
margaux 171 Posted September 5, 2012 Report Share Posted September 5, 2012 That's a good tip, its alot quicker than using /* */ - thanks for posting. How did you discover it? Quote Link to post Share on other sites
Edward 108 Posted September 6, 2012 Author Report Share Posted September 6, 2012 Pro HTML5 and CSS3 Design Patterns, best of the CSS books i have. Most books only explain of the box model, but actually there are 6 different box models, so if you find your CSS is not working correctly with this book you can pinpoint the reason. From the books i am working on now JS and PHP this is the most complicated. Quote Link to post Share on other sites
rob 53 Posted September 6, 2012 Report Share Posted September 6, 2012 ... Most books only explain of the box model, but actually there are 6 different box models, so if you find your CSS is not working correctly with this book you can pinpoint the reason... One of the reasons I try to avoid front-end development as much as possible, luckily I work with two very talented front-end devs. Good tip though, Edward. Quote Link to post Share on other sites
Edward 108 Posted September 6, 2012 Author Report Share Posted September 6, 2012 You are lucky Rob, hey whats up with your Avatar, its plain white, did you set it like that or it is some kind of error? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.