473,545 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can i make my website look same in all browsers

indianmaestro
16 New Member
Hi Everybody,
i have a website developed in .net(c#). All the pages looks good in InternetExplore r, but if i open the website in other browsers like mozilla,netscap e,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 12225
ShahbazAshraf
36 New Member
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
indianmaestro
16 New Member
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 Recognized Expert Specialist
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 New Member
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 Recognized Expert Expert
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 Recognized Expert Specialist
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 Recognized Expert Moderator Expert
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 Recognized Expert Expert
don't forget to use browsershots to view what your webpage would look like in each browser.
Mar 11 '08 #9
drhowarddrfine
7,435 Recognized Expert Expert
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

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

Similar topics

4
1722
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 just a basic preview with the actual XHTML code in place. I've managed to conform to known standards (valid XHTML and CSS code), but it look...
4
2271
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 saying that the design was not made using strict dtd. This time I have taken care of using STRICT DTD. Please Comment, I am a very much new commer...
4
1512
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 and down from one page to the next in relation to the homepage. furthermore the picture alignment on the homepage on her computer appears differently...
18
2474
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 to continue work until I understand what I'm doing wrong. http://www.christchurchinfo.net The site displays nicely in Firefox/Mozilla and...
6
1603
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 browsers?? I mean If someone has disabled javascript they wont see some part of the website. Regards
2
2151
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 due to the way the browser works. you know, it'll reduce the size of the graphic so that it fits on the page. is that only if one views an image in a...
1
6401
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 according to the user's browser: <script language="javascript"> { window.resizeTo( 850,725 ) }</script> But unfortunately this only works for IE...
19
3293
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 the same. What are the things I need to keep in my mind when doing this process.
15
1925
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 of any comments is: An overwhelming endorsement of a perfect website An overwhelming condemnation of a useless website An overwhelming apathy on...
0
7457
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7391
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7410
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7746
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5962
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3438
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1869
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
693
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.