Once you’ve found and fixed your problems, you should stay vigilant to keep them from cropping up again later.
The easiest way to avoid problems is to keep your HTML and CSS as simple as possible.
Note that I’m not saying you should avoid doing something like creating rounded corners simply because the HTML or CSS is complicated.
Only that you should avoid doing complex things when a simpler solution presents itself.