473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How can i make my website look same in all browsers

indianmaestro
Hi Everybody,
i have a website developed in .net(c#). All the pages looks good in InternetExplorer, but if i open the website in other browsers like mozilla,netscape,avant the appearance is not exaxtly the same.

Is there any solution that i can make all my web pages look same in all the browsers.
Please help me.

Thanks & Regards

Santhu
Mar 10 '08 #1
12 12215
Since in order to make a page which will run in all browsers then u have to lookup for the cross browsers issues. And in order to render script compatible with all browsers u may have to find out the browser version and then render a code ...

There are many cross browser issues (use these references )

http://www.devx.com/projectcool/Article/19953/0/page/4
http://www.devarticles.com/c/a/Web-S...Compatibility/
Mar 10 '08 #2
Thank you fro the reply
but the links did't help me completly. They did't give any solution to the problem......
any other please......
Mar 10 '08 #3
kenobewan
4,871 Expert 4TB
This is usually a client side issue and has been around since there have been multiple browsers. The good news is that you are likely to have satisfied 75% of your users. For the others you may use a JS browser detection and redirect other users to a Mozilla/etc template or a page that reads, "you wasted your time downloading that other browser" ;)

Using panels/divs for layout with CSS is likely to make your site more cross browser friendly. MS chose not to follow the W3C standards and used their own until now. With IE 8 the user will be able to chose which standard they want to use.
Mar 10 '08 #4
tagg3rx
35
Another bit of advise here is to do all you lay out with CSS (don't statically set any layout properties in your web forms) and then create different style sheets for each browser type. Then it's a matter of tweaking the css file for each browser through trial and error.

It Wont necessarily fix everything but it will get you close
Mar 10 '08 #5
Plater
7,872 Expert 4TB
With IE 8 the user will be able to chose which standard they want to use.
For real? Wow it only took them 3 Revs to finally do something about standards compliance. (I still like IE better anyway.)

As for the OP's question, use the validators at w3.org to validate all your pages and you will be really close to haveing your pages look the same.
Mar 10 '08 #6
kenobewan
4,871 Expert 4TB
This article states:
Sanity prevails: IE8 will default to standard-compliant mode
I believe there are three modes available. Unlike many I support MS right to have their own standards, but the user should be able to choose and that's the breakthrough here. If you've developed for IE 7 or earlier, you need to display a message to change modes but at least you can get away from having templates for each :).
Mar 11 '08 #7
Frinavale
9,735 Expert Mod 8TB
This article states:
Sanity prevails: IE8 will default to standard-compliant mode
I believe there are three modes available. Unlike many I support MS right to have their own standards, but the user should be able to choose and that's the breakthrough here. If you've developed for IE 7 or earlier, you need to display a message to change modes but at least you can get away from having templates for each :).
Have you tried IE8 Kenobewan?

I found it a bit......buggy......and it "breaks" my sites that work in Safari, Opera, Firefox, IE6 and IE7.

>>grumbles<<

My best recommendation is to try to follow the w3c standards and then keep tweaking your Html until it looks approximately the same in all browsers (well, as many as you want to test in).

-Frinny
Mar 11 '08 #8
Plater
7,872 Expert 4TB
don't forget to use browsershots to view what your webpage would look like in each browser.
Mar 11 '08 #9
drhowarddrfine
7,435 Expert 4TB
Yes, there are three rendering modes IE will be in. Now, you will have to adjust to IE6. Then write adjustments for IE7. Now write adjustments for IE8. Then hope grandma knows what you mean by "switch your browser to xxx mode for IE8".

Frinny, same problem here. None of my sites displayed the same in IE8 and some navigation didn't work. Possibly because 'haslayout' is gone in IE8.

Of course all my pages work exactly the same in all other non-IE browsers because I code to W3C standards, but that's a given.

btw, the links to the devx sites are pretty much out of date and I wouldn't follow some of that.
Mar 11 '08 #10
kenobewan
4,871 Expert 4TB
Have you tried IE8 Kenobewan?

I found it a bit......buggy......and it "breaks" my sites that work in Safari, Opera, Firefox, IE6 and IE7.

>>grumbles<<

My best recommendation is to try to follow the w3c standards and then keep tweaking your Html until it looks approximately the same in all browsers (well, as many as you want to test in).

-Frinny
I haven't tried, so found your post interesting. However, I never use beta versions. My advice is to find out who your users are and what they want. There is nothing wrong with having a note on the site - "Optimised to IE7" - or whatever. The home & small biz market you'll need to concern yourself with cross browser compatibility. Enterprize - its IE all the way!
Mar 12 '08 #11
hi

I have been facing the same issue in one of the website i am currently working on.
right now what i am doing is taking in consideration particular browsers as requested by the client, and then simultaneously testing each functionality on all of them.
if any error is coming at that place i put browser name and version check and code accordingly. which ever works respectively for all browser.

while working i found mozilla/safari/netscape are working in co-ordination, and IE6/7 are in same pace with little differences.

so its always browser checks.

If anyone can suggest a better way where it goes with one shot and wooosh, ill be glad to hear.
Mar 12 '08 #12
kenobewan
4,871 Expert 4TB
hi

I have been facing the same issue in one of the website i am currently working on.
right now what i am doing is taking in consideration particular browsers as requested by the client, and then simultaneously testing each functionality on all of them.
if any error is coming at that place i put browser name and version check and code accordingly. which ever works respectively for all browser.

while working i found mozilla/safari/netscape are working in co-ordination, and IE6/7 are in same pace with little differences.

so its always browser checks.

If anyone can suggest a better way where it goes with one shot and wooosh, ill be glad to hear.
Unless there is a specific asp.net issue suggest we place this wooosh in a client side forum. Of course you may get a pro cross compatability view there, if you can stomach it ;).
Mar 12 '08 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Kim André Akerĝ | last post by:
I'm currently revamping my personal website, and I need some opinions: http://www.neonnero.com/nn2preview/ None of the links on the right-hand navigation menu work yet, so don't bother. This is...
4
by: Acharya J. Ganesh | last post by:
|| Shree Ganesha || Dear Friends; Please check the website chpindia.com and please comment wether it is done alright this time at least. Last time I got lot of feedback for ashapurafoods.com...
4
by: wanderlust123 | last post by:
hi, as a novice at web design i have created a site for a friend. this was checked on a number of different browsers and appears fine. my friend however says that the menu bar and images jump up...
18
by: fishwick | last post by:
I haven't really done any css in quite a while, and am banging my head against the wall trying get the rudimentary layout together of a church website home page to display correctly - I don't want...
6
by: Michael Landberg | last post by:
Hi I am crewating a website using HTML and Javascript. The website can be seen by everybody that has internet. Do I have to consider that some people don't have javascript enabled in their...
2
by: =?Utf-8?B?SGVsdGVyIFNrZWx0ZXI=?= | last post by:
Hello all, I have decided that I want to try and make a website entirely out of images, using several images as the main body. it struck me, however, that suck a website might get reuced in size...
1
by: piscesabhi | last post by:
Is there a way to auto resize the website, when using different browsers? I was using this javascript earlier but i don't want to specify dimensions........i would like it to automatically adjust...
19
by: Ganesh J. Acharya | last post by:
Hi there, I want to redesign my website and make that look professional. I made this about 6 years ago with very little knowledge of internet. Today I am getting about 4000 visitors a day for...
15
by: lenzie | last post by:
I've been slowly developing a village website for Lenzie for around 18months with very few complaints/comments but some 300,000 hits a year. I've got to a stage where I don't know whether the lack...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.