Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: On CSS and other machinations.

by Mission (Hermit)
on Oct 21, 2002 at 13:40 UTC ( [id://206837]=note: print w/replies, xml ) Need Help??


in reply to On CSS and other machinations.

barrd,

For some reason, Netscape (or Mozilla) doesn't allow for underscores in names of CSS or 'div' or any DHTML 'id' or 'name' attribute after their version 6 browser for Netscape and any Mozilla (that I'm aware of.) I've contacted them about this, and have had no luck in the getting them to admit it was a mistake, or something intentional for that matter.

The only solution that I have (in order to make the CSS compatible with all browsers) is to avoid the underscore when naming CSS, or DHTML items.

As soon as I read your opening statements, I knew where your post was heading. "Why did that happen?" In this case it's the choice of a browser developer. It has nothing to do with Perl, though I wish it was!

For resources on CSS, you can visit some of the following web sites: All are valued resources.

- Mission

Replies are listed 'Best First'.
Re^2: On CSS and other machinations.
by adrianh (Chancellor) on Oct 21, 2002 at 21:31 UTC
    For some reason, Netscape (or Mozilla) doesn't allow for underscores in names of CSS or 'div' or any DHTML 'id' or 'name' attribute after their version 6 browser for Netscape and any Mozilla (that I'm aware of.)

    The reason Netscape & Mozilla don't allow "_" is that it's not legal CSS. See the appropriate dull bit from the spec.

    Not a bug :-)

    I lied. Underscores have been allowed since the 1998 errata.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://206837]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-20 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found