|
|
|
A Book Review: “The Hidden Power of Photoshop Elements"
You can never find a graphic art professional who doesn’t know about Adobe Photoshop. This well-known professional digital imaging tool has been widely used in the world of web and graphic design. Adobe Photoshop Elements, on the other hand, is the...
CD/DVD and Music Software
Music Software There is plenty of free and trial version (shareware) audio software available for download these days. You can convert, encode, rip, edit, burn, and even record audio off LPs or in some cases, you can record any sound you...
GSM Cell Phones - What You Wanted To Ask But Always Slipped Out Of Your Mind...
GSM stands for Global System for Mobile communication. GSM cell
phones come with integrated voice mail, high-speed data, fax,
paging and Short Messaging Services. Excellent sound quality,
International Roaming facility with state of the art...
Mistakes when using Macromedia Flash
My own mistakes when using Macromedia Flash
I have used Macromedia Flash for all the wrong reasons in the
past and i would like to take some time to warn you, so you
don't have to make the same mistakes i have. Quite some time ago
now i...
Web Design Using a CMS
Web Design Using a CMS
There has been a big craze lately, everybody wants their site as
a database driven site or Content Management System (CMS). There
are many advantages to using a CMS over ordinary static page
site, the main on is...
|
|
| |
|
|
|
|
|
|
CSS Browser Detection - The complete guide
Different browsers, different CSS interpretations! There will be a time when you'll need to hide some CSS rules from a particular browser, or even all the CSS file! In this articles I'll try to compile all possible types of Browser detection technics and provide examples. So let's start with the easier one!
Browser detection for Netscape
Netscape 4 is probably the dumbest browser when it comes to CSS support, extremely limited and many times erroneous! As the browser's market share of Netscape is below 0.5% it became natural to hide the CSS file from it! The method used for this is the import directive that will make the browser to display a version of the site completely without CSS.
Here's the directive you have to call: (style type="text/css")@import url(wise-designscom.css);(/style)
Browser Detection for IE Mac computers
This browser "died" when Microsoft announced there would be no
more updated versions of it. Now this browser fell in desuse and there are a wide range of CSS technics that IE/Mac doesn't interpret well! Therefore many webmasters started to code their CSS sites so that they would work correctly on this browsers. Contrary to Netscape users, these weren't neglected.
The hide technic:
/* Hide from IE-Mac */ #header {padding-bottom:3em} #footer {padding-top:1.5em} /* End hide */
IE/Mac won't see these commands but will display the content even without those rules! Now... if you have a specific area of your site that isn't vital to your visitors you can just hide it completely from this browser without having the trouble to even try and make it look better within the possible! Here's how:
#noiemac {display: none}
/* Hide from IE-Mac */ #noiemac {display: block} /* End hide */
The first rule hides it all from IE/Mac (e.g content to hide here!
|
|
|
|
|
|