home > news Find and Fix CSS Problems by Thinking Small
Find and Fix CSS Problems by Thinking Small
When you're trying to fix a problem, it can be tempting to look at your 400 line HTML file and 2000 line CSS file and get completely overwhelmed. You know that somewhere in that mass of code is the problem, but how will you ever find it? The key is to simplify. Cut down the HTML and CSS until the only lines of code are where the problem is. Remove distractions like JavaScript, Flash, or images. Once you've got only the part of the page that is the problem, you can usually fix it. And if you can't fix it, you are more likely to get a response in a
help forum with 10-20 lines of HTML and CSS than you would with 2400 lines.
How to Fix Web Design Problems
Find and Fix CSS Problems by Thinking Small originally appeared on About.com Web Design / HTML on Friday, May 14th, 2010 at 07:35:08.
Permalink | Comment | Email this