Quite often Opera users complain that their favorite browser cannot parse a web page and gives the following error:
Quite often Opera users complain that their favorite browser cannot parse a web page and gives the following error:
Sometimes there comes a need to refer to a Silverlight assembly from several different projects, the last thing you want is to copy the assembly to every project, you want it in the GAC.
Silverlight environment is not .NET and simply adding the assembly to the GAC with gacutil gives no effect. On the other hand one may notice the standard Silverlight assemblies in “Add reference” dialog of Visual Studio after having installed Silverlight.
As it turns out, to be able to refer to any assembly from any project with “Add reference” all that’s needed is a special key in the registry:
Now “Add reference” will show all the assemblies from the path in the key.
The solution turned out to be quite straight-forward. Hope this helps.
CSS3 is cool and all web developers would love to use it’s tasty features. The announced support for CSS3 by such browsers as Opera, Firefox, Safari, Chrome and even IE 9 heats up the interest for this protocol quite a bit, but there’s still an issue of IE 6, 7 and 8. The fact that IE 9 is not intended to run on XP will probably keep the number of IE 6-8 users high for quite a while. This is where our discussion of CSS3 could end. And yet there are efforts to make IE6-8 CSS3 compliant. Let’s take a look at some of them, many are rather odd.
Creating a Cross-Browser Box-Shadow
Here’s a very simple way to implement the box-shadow in css. Perhaps the idea is too simple and obvious for the esteemed writers of the Internet to ever want to publish it.
First, the compliant browsers:
div {
background: green; /* required for IE */
-webkit-box-shadow: 0px 0px 15px #222;
-moz-box-shadow: 0px 0px 15px #222;
box-shadow: 0px 0px 15px #222;
}
The idea really boils down to applying the shadow filter four times with different directions. This way the shadow wraps around the edges of the container.