L
local
Hi@all,
I am coding my first commercial website. In the past, I wrote pages only
for my own interest. I was never confronted with the problem of
cross-browser-coding, because it was not very important for me that my
pages were looking the same in different browser. But when I agreed to
code a page for a company, I thought it would be important to support a
vast array of browser/language/platform combinations.
I have started to code a page and it looked pretty nice. Then I have
tested it with another browser and was horrified how different the code
was interpreted. I have started to code a javascript that checks the
browser and language und redirects the client to the approbiate page. Then
I encountered the following problems:
- IE would not tell the language used by its client
- IE does not tell the correct version number (always 4.0 compatible) but
it is important to know the correct version because I do use CSS and
version 5.0 (2k standard) has not implemented css2 well enough.
- I tested the pages with opera v7+, ie 5.x, ie 6.x, netscape 5.x,
netscape 6.x and the up-to-date konqueror browser.
After a bit of coding I realized that testing the page on multiple browser
and modifying it to look always good, it will be a huge amount of js code
to redirect the most often used browsers to the different pages. Not to
mention to try to include different language versions.
Now I wonder how important cross-browser coding actually is. How many
browsers do I have to test, which versions? Should I include a
language-depending redirection? How important is valid HTML code, because
I have to do some hacks to get some browsers displaying the page to my
likes, and these hacks are not considered valid. (I am coding according to
HTML version 4.01 Strict).
I do not want a solution to my questions. I am intersted in your opinion
and experiences concerning these problems.
Is it worth the time to enagage in cross-browser-coding? If it is, how far
should you go? Or is this only crap to be ignored, as every few month new
browser versions will appear. I know that one should always keep in mind,
which target group the company will have the website to visit.
I am looking forward to your respones!
I am coding my first commercial website. In the past, I wrote pages only
for my own interest. I was never confronted with the problem of
cross-browser-coding, because it was not very important for me that my
pages were looking the same in different browser. But when I agreed to
code a page for a company, I thought it would be important to support a
vast array of browser/language/platform combinations.
I have started to code a page and it looked pretty nice. Then I have
tested it with another browser and was horrified how different the code
was interpreted. I have started to code a javascript that checks the
browser and language und redirects the client to the approbiate page. Then
I encountered the following problems:
- IE would not tell the language used by its client
- IE does not tell the correct version number (always 4.0 compatible) but
it is important to know the correct version because I do use CSS and
version 5.0 (2k standard) has not implemented css2 well enough.
- I tested the pages with opera v7+, ie 5.x, ie 6.x, netscape 5.x,
netscape 6.x and the up-to-date konqueror browser.
After a bit of coding I realized that testing the page on multiple browser
and modifying it to look always good, it will be a huge amount of js code
to redirect the most often used browsers to the different pages. Not to
mention to try to include different language versions.
Now I wonder how important cross-browser coding actually is. How many
browsers do I have to test, which versions? Should I include a
language-depending redirection? How important is valid HTML code, because
I have to do some hacks to get some browsers displaying the page to my
likes, and these hacks are not considered valid. (I am coding according to
HTML version 4.01 Strict).
I do not want a solution to my questions. I am intersted in your opinion
and experiences concerning these problems.
Is it worth the time to enagage in cross-browser-coding? If it is, how far
should you go? Or is this only crap to be ignored, as every few month new
browser versions will appear. I know that one should always keep in mind,
which target group the company will have the website to visit.
I am looking forward to your respones!