You need to work on the following points:
What Causes Browser Display Differences?
Different Browsers
Different Browser Versions
Different Computer Types
Different Screen Sizes
Different Font Sizes
HTML Errors
Browser Bugs
What You Can Do
Set a Goal
Stay Away from Cutting Edge HTML
Check Browser Compatibility
Validate Your Pages
Trial and Error Debugging