Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: CSS
How do i make my Website cross-Browser compatible
when i am generating dynamic websites with css files these css files are some where missing when i am checking with different browsers and one browsers attribute-properties are different wtih other browser's property for example problem with IE 6,7 and mozilla fire foxetc)
so is there any solution such that the design shoud come perfect in all browsers with equal view by taking Dynamic controls also please tell me if any thing is there,i have followed the W3C standrads but list of standrad is not there
Posted 6-Jan-11 20:05pm
Comments
Hiren Solanki at 7-Jan-11 2:13am
   
A very good question.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi, some tips.
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:
http://mvark.blogspot.com/2008/07/how-to-make-web-pages-cross-browser.html
 
Top 10 Tips:
http://www.elated.com/articles/cross-browser-website-tips/
 
Browser-Tutorial for knowledege abt screen size& browsers:
http://www.netmechanic.com/products/Browser-Tutorial.shtml
 
for your scripts refer this:
http://developers.evrsoft.com/articles/designing_for_browser_and_platform_compatibility.shtml
 
For Old Version browsers i.e IE6 refer this:
http://www.practicalecommerce.com/articles/1000-Web-Design-Tips-Compatibility-with-Older-Browsers
 
I hope it was useful.
  Permalink  
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

What kind of answer you are looking for? You posted this yesterday too[^].
 
I gave you an answer and 'Emilio' corrected/emphasised on few things to be considered.
 
You are talking of IE6 - lots of bugs/issues and not fully W3C compliant. Version of browser would matter. For now, all recent versions of browsers try to follow W3C standard from compatibility point of view.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 205
1 Sergey Alexandrovich Kryukov 200
2 Rob Philpott 100
3 Prakriti Goyal 97
4 jlopez788 94
0 OriginalGriff 6,837
1 Sergey Alexandrovich Kryukov 5,589
2 Maciej Los 3,479
3 Peter Leow 3,323
4 DamithSL 2,505


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 7 Jan 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100