Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: incrediBILL
After more than a few browser releases, CSS is starting to drive me crazy. My only solution on most sites has been to use browser detection and then write different .css files for the two main browsers.
However, I'm not posting just to complain -- I know other people have to be in this boat, and I just found this page [richinstyle.com] with a very intelligent collection of Netscape 4 CSS bugs and workarounds. In fact, this site has a great collection [richinstyle.com] of all kinds of bugs.
I'm hoping it can help me stop talking to my carpet. Actually I'm feeling better already. I just learned that setting font sizes in px is a good thing to do -- it's less buggy and it keeps an appropriate size rendered no matter what the screen resolution. Who would have thought?
It's the first place I got help with "loss of style" on Netscape. That is, sometimes after a table tag or form tag, Netscape loses all style and defaults to user preferences. Can be very ugly!
The workaraound is to use redundant selectors -- something I would never have thought of doing on my own.
Another nice tidbit -- the problem: 13pt and 14pt type are rendered the same size. The fix: declare 14.1pt type. Again, I never would have tried it.
Even after five years, it's still very hard for me to adapt to the slushy way a lot of web coding works. I majored in math, and have an assumption that coding should be logically rigorous. Maybe someday.