1. Never give height or width in px..unless it is necessary.
2. Never give
<table cellpadding="2" ...
instead apply padding class from Css.
3. If u are writtnig document.getElementById somewhere in ur Client side fucntion and if u have the
<as:Scriptmanager
with u then use
$get.
..
i.e instead of
document.getElementById("objID");
write
$get("objID");
//as $get is browsewr compatible
4. If u have written code to hide
< tr >
remove that and palce a div in the tr and then show hide that div.. bcoz it does not work in Mozilla.
5. Avoid writing rowspan and colspans.
6. Write the java script function at the end of ur aspx page.
Have a look ate the xhtml standards
refer these links:
HOW TO make web pages "cross browser"
Top 10 Tips:
http://www.elated.com/articles/cross-browser-website-tips/
Browser-Tutorial for knowledege abt screen size& browsers:
Browser Compatibility Tutorial
..and have a look on some more threads:
Links
Cross browser[
^]
ASP.NET Browser Compatibility[
^] &
Detecting Browser Capabilities in ASP.NET 2.0/3.0/3.5[
^] by our fellow CPian
Alex aka DrABELL[
^] &
sample site[
^] compatible with 4 browsers
HOW TO make web pages "cross browser"[
^]
Determining Browser Capabilities in ASP.NET[
^]
Browse W3.org
The global structure of an HTML document[
^]
Markup Validation Service[
^]
CSS Validation Service[
^]
Tools
Browser compatibility test Tools[
^]
Extras
7 Tips to make your website Cross Browser Compatible[
^]
CSS contents and browser compatibility[
^]
Compatibility Master Table[
^]
For your scripts refer this:
Designing Your Website for Browser and Platform Compatibility
For Old Version browsers i.e IE6 refer this:
Web Design Tips: Compatibility with Older Browsers
Hope it helps!