CSS special values *,\0/

I see a css code with *, \0/ I just wonder what does it means? I guess they related to some specific browser?

.form_element select
{
   padding:4px;
   *padding:0px;
   padding:0px \0/;
}

Answers


The man jumping for joy (\0/) is an IE8+9 CSS hack.

The star hack (*), which doesn't necessarily have to be a * (# also works), is an IE6+7 hack.


\0/ targets IE8 and below, and appears after the value:

#id
{ padding: 0px \0/; }

* targets IE7 and below, and appears directly before the property

#id
{ *padding: 0px; }

_ targets IE6 and below, and appears directly before the property

#id
{ _padding: 0px; }

Need Your Help

Haskell — Get multiple values from infinite list without starting the list over

list haskell lazy-evaluation

I'm currently working on an implementation of Project Euler problem 40 and am trying to figure out how to take multiple items from a list in Haskell without starting the list over.

Can't copy SQLite database from assets

java android sqlite

I try to copy SQLite database from assets directory to access it later. But I fail to do it!

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.