CSS support in browsers

Revised: It looks like I originally mischaracterized the bug.  The real bug seems to be that Netscape will not allow CSS padding or margin settings to be set for a TD element.  IE, on the other hand, won’t let them be set for a SPAN element.  Both render the code correctly if they are set for a DIV element.  Go figure.

Well, I just did something very stupid that resulted in me losing the entirety of the new post I just typed.  So, I’ll type it again and try to be less stupid this time.  The post went as follows:

Anyone care to know of a Netscape CSS bug?  If a class is defined, given the name “body”, and selected into an element, e.g., <SPAN class=”body”>some spanned text</SPAN>, Netscape takes a serious nose dive.  This is true for Netscape 4 in Windows as well as whatever Mac version my friend Petra (who reported the problem to me) uses.  In Windows the crash is particularly ugly, causing an invalid page fault and bringing up one of those terminal dialog boxes that can never be dismissed (nor can the OS be restarted, so it’s a hard reboot.)  This problem may extend to other element names, but I don’t want to use any of my machines as a test subject.

I can’t see anything in the CSS spec that forbids name overlap between classes and elements.  But even if there were, surely there should be a more graceful failure route.  I might report this at some point, but it is hard to gather the motivation as (1) I don’t use Netscape and (2) I very rarely get responses when I submit bug reports.

And I think that is pretty much verbatim what I had there before.

Your ad here for US$1/month.  Find out how.


One Response to “CSS support in browsers”

  1. mcgees.org » Blog Archive » CSS support in browsers, redux Says:

    [...] mcgees.org      « CSS support in browsers Nutritional toxicology » [...]

Leave a Reply, but read first

  1. Feel free to leave replies even to very old posts.
  2. You have pretty much free rein to write whatever you like.  Just make it contentful and it will probably stay, even if you are abusing me.  Just:
  3. Don't bother spamming.  Your links are automatically tagged "nofollow".  You won't increase your Google rating.  Nobody will click them anyway.  Save us both some time.
  4. Advertising Policy: The URL field is for personal blogs, not commercial enterprises.  Have a valid website or product to advertise?  Those do get clicked, and it's cheap.  Click here to advertise.  Otherwise, your URL is subject to deletion at editor's discretion.