Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Purpose of "UNKNOWN" selector in some style sheets
 

Rob Oaks




quote this post edit post

IP Loged report this post

Old Post  07-22-04 - 12:17 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


Post Follow-Up to this message ]
Re: Purpose of "UNKNOWN" selector in some style sheets
 

Eric A. Meyer




quote this post edit post

IP Loged report this post

Old Post  07-22-04 - 12:17 AM  
In article <a8f6562e.0407210829.3a8e27a@posting.google.com>,
roboaks@comcast.net (Rob Oaks) wrote:

> 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@meyerweb.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/


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:35 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top