|
CSS Browser Error Campaign
Author: HumanX | Monday November 25, 2002
Developing HTML for the web can be quite the daunting process. Numerous browsers support their own set of rules and then decide which of the W3c standards they will follow. Conquering this problem has been every web developers dream, but of course, a dream it shall remain
I personally develop and code everything by hand. Sure it takes me longer, sure my hands probably hurt more then the average Joe, but I can insure the integrety of my code and I will always know where to look when their is a problem.
For the longest time, I made every effort to only code in HTML. and relinqushed Java, Javascript and CSS of any responsibility and depended more on server side processing to bring my pages together.
As more and more browsers began to support CSS, I have finally within the last 6 months or so began developing with CSS in mind after a long argumenet over this issue with my friend "Mr. Neurone"
I whish I had started earlier and saved my hands from the crippling keyboard! With CSS I stand a much better chance that content will fall where it is expected to as well as design closer to an actual brochure style site with exact positioning.
But underneath the sheets still lies a dirty little secret. CSS standardization is not followed by many browsers and many browsers implement their own styles!
One of the more interesting problems I had recently was the redesign of LinuxDig. I wanted this site to be compatible, with Netscape 4.77+, Operah, Internet Explorer and Links (the text based web browser). This took me nearly a day!
One of the problems I found is that the browsers do not adhere to one coding style. Example :
.text { font-family: arial }
will work fine in IE but would fail in operah and netscape.
.text{font-family:arial}
would work in all browsers. The spacing between characters was causing the style code to be misread and discaurded.
The point to this story is that if you plan to code in CSS, do some research and find out which styles will work with which broswers and remember to remove any spacing!
Author
HumanX
LinuxDig.Com
Please feel free to distribute this article, as long as the author information stays intact. If you modify the article, please send me a copy. You can contact me at the linuxdig.com from the contact navigation bar.
Copyright 2002
|