HighDots Forums  

Purpose of "UNKNOWN" selector in some style sheets

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Purpose of "UNKNOWN" selector in some style sheets in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rob Oaks
 
Posts: n/a

Default Purpose of "UNKNOWN" selector in some style sheets - 07-21-2004 , 11:29 AM






I have noticed the presence of declarations like this:

UNKNOWN {
height: 30px
}

in the style sheets used by some highly regarded CSS folks. This
declaration usually (but not always) follows a declaration ending with
"voice-family: inherit."

I assume this is some CSS hack, but I can't find anything on the web
discussing this declaration.

Thanks

Reply With Quote
  #2  
Old   
Eric A. Meyer
 
Posts: n/a

Default Re: Purpose of "UNKNOWN" selector in some style sheets - 07-21-2004 , 01:18 PM






In article <a8f6562e.0407210829.3a8e27a (AT) posting (DOT) google.com>,
roboaks (AT) comcast (DOT) net (Rob Oaks) wrote:

Quote:
I have noticed the presence of declarations like this:

UNKNOWN {
height: 30px
}

in the style sheets used by some highly regarded CSS folks. This
declaration usually (but not always) follows a declaration ending with
"voice-family: inherit."
My guess is that you're looking at a CSS file you saved to your hard
drive, and that furthmore you saved it using IE/Win, probably but not
necessarily IE5.5 or earlier. When you save a style sheet via IE/Win,
it doesn't save the actual file on the server you've visited, but
instead saves a dump of the style sheet as it's represented within IE's
DOM. If you want to see what people are really doing in their style
sheets, go to the actual CSS file on the server and save that.
And it sounds like you're seeing the results of the Box Model Hack
(http://tantek.com/CSS/Examples/boxmodelhack.html) confusing the browser.

--
Eric A. Meyer (eric (AT) meyerweb (DOT) com) http://www.meyerweb.com/eric/
Principal, Complex Spiral Consulting http://www.complexspiral.com/
"CSS: The Definitive Guide," "CSS2.0 Programmer's Reference,"
"Eric Meyer on CSS," and more http://www.meyerweb.com/eric/books/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.