<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7366309392179054439</id><updated>2011-11-27T15:22:25.979-08:00</updated><category term='graphics'/><category term='jquery sticky footer'/><title type='text'>WEB and Technology</title><subtitle type='html'>fekky blog about JQUERY, CSS, HTML , web2.0, web 3.0 and more web development</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-4963442552169671043</id><published>2010-10-25T21:24:00.000-07:00</published><updated>2010-10-25T21:33:39.906-07:00</updated><title type='text'>simple jQuery slideshow: simple jquery code</title><content type='html'>Thanks to http://azoomer.com/how-to-make-a-simple-jquery-slideshow/&lt;br /&gt;&lt;pre&gt;$(window).load(function() {&lt;br /&gt;setInterval(function() {&lt;br /&gt;$('#slides :nth-child(1)').next().show().end().fadeOut(1200).appendTo('#slides');&lt;br /&gt;} , 5400);&lt;br /&gt;});&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;#slides { position: relative; width: 600px; height: 400px;}&lt;br /&gt;#slides img { position: absolute; left: 0; top: 0; display: none;}&lt;br /&gt;#slides img.firstslide { display: block;}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;div id="slides"&gt;&lt;br /&gt;  &lt;img src="images/1.jpg" alt="image 1" class="firstslide" /&gt;&lt;br /&gt;  &lt;img src="images/2.jpg" alt="image 2" /&gt;&lt;br /&gt;  &lt;img src="images/3.jpg" alt="image 3" /&gt;&lt;br /&gt;  &lt;img src="images/4.jpg" alt="image 4" /&gt;&lt;br /&gt;  &lt;img src="images/5.jpg" alt="image 5" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://azoomer.com/simple-jquery-slideshow/"&gt;Here is a link to a DEMO of the slideshow&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-4963442552169671043?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/4963442552169671043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/simple-jquery-slideshow-simple-jquery.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/4963442552169671043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/4963442552169671043'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/simple-jquery-slideshow-simple-jquery.html' title='simple jQuery slideshow: simple jquery code'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-22603682905806112</id><published>2010-10-12T00:57:00.000-07:00</published><updated>2010-10-12T01:03:14.675-07:00</updated><title type='text'>DLink DIR-457 MyPocket 3.5G HSDPA Router</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.newtechnology.co.in/wp-content/uploads/2010/08/DLink-MyPocket-3G-router-price.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 283px; height: 182px;" src="http://www.newtechnology.co.in/wp-content/uploads/2010/08/DLink-MyPocket-3G-router-price.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;DLink MyPocket 3G router&lt;br /&gt;&lt;br /&gt;The new DLink myPocket 3.5G HSDPA Router allows users to access worldwide mobile broadband networks. Once connected, users can enjoy data transmission and media streaming on-the-go. Simply insert your UMTS/HSDPA SIM card, and share your 3.5G Internet connection through a secure 802.11g wireless network.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Multifunctionality&lt;br /&gt;The D-Link myPocket 3.5G HSDPA Router can be configured to work as a Wi-Fi Router or 3.5G Modem with the flip of a switch. Share 3.5G connectivity with your colleagues or family while travelling or at work. Connect the D-Link myPocket 3.5G HSDPA Router to a PC to enjoy personal access to the Internet.&lt;br /&gt;&lt;br /&gt;Advanced Network Security&lt;br /&gt;Keep your wireless network safe with WPA/WPA2 wireless encryption. The DIR-457 utilizes a built-in firewall to prevent potential attacks across the Internet.&lt;br /&gt;&lt;br /&gt;Simple to Install and Use&lt;br /&gt;The 3.5G HSDPA Router can be installed quickly and easily almost anywhere. This router is great for situations where an impromptu wireless network must be set up, or wherever conventional network access is unavailable.&lt;br /&gt;&lt;br /&gt;The DLink myPocket 3.5G HSDPA Router allows you to connect to a 3.5G mobile network and share a 3.5G mobile connection with PCs and wireless devices within&lt;br /&gt;the area. Firewall and wireless security features are also included for safe remote connections.&lt;br /&gt;BENEFITS&lt;br /&gt;&lt;br /&gt;    * ƒƒProvides high-speed connectivity in areas without conventional 802.11 wireless access&lt;br /&gt;    * ƒƒCompatible with a wide-range of mobile service networks&lt;br /&gt;    * ƒƒRechargeable battery allows for increased mobility&lt;br /&gt;    * ƒƒBuilt-in microSD slot supports sharing of files between Wi-Fi enabled devices&lt;br /&gt;&lt;br /&gt;SHARE YOUR CONNECTION&lt;br /&gt;The router can share its 3.5G connection with up to 6 Wi-Fi clients like smart phones, notebooks or gaming devices.&lt;br /&gt;COMPACT DESIGN&lt;br /&gt;The battery-powered router is slim and small enough to carry in your pocket.&lt;br /&gt;BUILT-IN FIREWALL AND ENCRYPTION&lt;br /&gt;The built-in firewall and WPA/WPA2 wireless encryption ensure that your information remains secure when working from remote locations.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DLink myPocket 3.5G HSDPA Router technical specifications :&lt;br /&gt;&lt;br /&gt;    * GSM BAND (GSM/GPRS/EDGE)&lt;br /&gt;          o ƒƒ 850 / 900 / 1800 / 1900 MHz&lt;br /&gt;          o ƒƒ Power Class 4 (+33dBm, 850 / 900 MHz)&lt;br /&gt;          o ƒƒ Power Class 1 (+30dBm, 1800 / 1900 MHz)&lt;br /&gt;    * UMTS/HSDPA BAND *&lt;br /&gt;          o ƒƒ 850 / 1900 / 2100 MHz&lt;br /&gt;          o ƒƒ Power Class 3 (+24dBm)&lt;br /&gt;    * DATA THROUGHPUT **&lt;br /&gt;          o ƒƒ Downlink up to 3.6Mbps in 3.5G mode&lt;br /&gt;          o ƒƒ Uplink up to 384Kbps in 3.5G mode&lt;br /&gt;          o ƒƒ Max. 54Mbps in 802.11g mode&lt;br /&gt;    * Standards&lt;br /&gt;          o ƒƒ 802.11b&lt;br /&gt;          o ƒƒ 802.11g&lt;br /&gt;          o ƒƒ 802.3&lt;br /&gt;          o ƒƒ 802.3u&lt;br /&gt;    * Wireless Security&lt;br /&gt;          o ƒƒ 64/128-bit WEP&lt;br /&gt;          o ƒƒ WPA-PSK &amp; WPA2-PSK&lt;br /&gt;          o ƒƒ WPS-PIN&lt;br /&gt;          o ƒƒ Built-in firewall&lt;br /&gt;    * VPN&lt;br /&gt;          o ƒƒ L2TP/PPTP/IPSec VPN Pass-through&lt;br /&gt;    * ADVAnced functions&lt;br /&gt;          o ƒƒ Storage file sharing&lt;br /&gt;          o ƒƒ UPnP&lt;br /&gt;          o ƒƒ Port Forwarding&lt;br /&gt;    * ANTENNA&lt;br /&gt;          o ƒƒ 3 Internal antennas&lt;br /&gt;    * CARD SLOTS&lt;br /&gt;          o ƒƒ Standard 6-pin SIM card interface&lt;br /&gt;          o ƒƒ Micro-SD card interface&lt;br /&gt;    * LED Status Indicators&lt;br /&gt;          o ƒƒ Power Status&lt;br /&gt;          o ƒƒ Signal Status&lt;br /&gt;    * DIMENSIONS (L x W x H)&lt;br /&gt;          o ƒƒ 110 x 65 x 13.6 mm&lt;br /&gt;    * WEIGHT&lt;br /&gt;          o ƒƒ 103 grams&lt;br /&gt;&lt;br /&gt;DLink 3G router price&lt;br /&gt;DLink myPocket 3.5G HSDPA Router Price&lt;br /&gt;&lt;br /&gt;DLink myPocket 3G Router Price in India – The new DLink myPocket 3.5G HSDPA Router price in India is Rs.10,000.Hope DLink will soon reduce the price to make it popular.&lt;br /&gt;&lt;br /&gt;more click to http://www.newtechnology.co.in/dlink-dir457-mypocket-3g-router-price/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-22603682905806112?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/22603682905806112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/dlink-dir-457-mypocket-35g-hsdpa-router.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/22603682905806112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/22603682905806112'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/dlink-dir-457-mypocket-35g-hsdpa-router.html' title='DLink DIR-457 MyPocket 3.5G HSDPA Router'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-7224707580017805012</id><published>2010-10-11T00:33:00.000-07:00</published><updated>2010-10-11T00:35:12.928-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><title type='text'>My Graphic Work simple with in 5min sample work-- by feroz</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_AxcjYHWVEqk/TLK9-UOHo9I/AAAAAAAAAMQ/pvPSWa8SFMc/s1600/graphics.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_AxcjYHWVEqk/TLK9-UOHo9I/AAAAAAAAAMQ/pvPSWa8SFMc/s320/graphics.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5526688571014489042" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-7224707580017805012?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/7224707580017805012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/my-graphic-work-simple-with-in-5min.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/7224707580017805012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/7224707580017805012'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/my-graphic-work-simple-with-in-5min.html' title='My Graphic Work simple with in 5min sample work-- by feroz'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_AxcjYHWVEqk/TLK9-UOHo9I/AAAAAAAAAMQ/pvPSWa8SFMc/s72-c/graphics.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-1905424669048962225</id><published>2010-10-10T21:33:00.000-07:00</published><updated>2010-10-10T21:43:20.339-07:00</updated><title type='text'>Nokia E-Cu - Charge Your Phone Using the Heat of Your Pocket</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://gadgets.infoniac.com/uimg/nokia-e-cu-patrick-hyland.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 237px; height: 248px;" src="http://gadgets.infoniac.com/uimg/nokia-e-cu-patrick-hyland.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Patrick Hyland, a British designer, came up with a new concept cell phone that could revolutionize the phone market.&lt;br /&gt;&lt;br /&gt;Dubbed "Nokia E-Cu", the handset incorporates a technology that was previously not used in cell phones.&lt;br /&gt;&lt;br /&gt;The device does not need to the plugged into a socket to fill its battery up. The energy used to charge the phone is produced by the heat of the user's pocket.&lt;br /&gt;&lt;br /&gt;It would be interesting to note that the Nokia E-Cu includes a copper case that has engraved heat-sinks in the shape of dried earth.&lt;br /&gt;&lt;br /&gt;Inside, the designer decided to include a thermogenerator that transforms heat from any source into electrical energy.&lt;br /&gt;&lt;br /&gt;The device will be able to eliminate the 51,000 tons of waste and greenhouse gases produced by phone chargers each year.&lt;br /&gt;&lt;br /&gt;Contribution from : http://gadgets.infoniac.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-1905424669048962225?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/1905424669048962225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/nokia-e-cu-charge-your-phone-using-heat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/1905424669048962225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/1905424669048962225'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/nokia-e-cu-charge-your-phone-using-heat.html' title='Nokia E-Cu - Charge Your Phone Using the Heat of Your Pocket'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-621576023221025985</id><published>2010-10-07T21:06:00.000-07:00</published><updated>2010-10-07T21:08:42.660-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery sticky footer'/><title type='text'>jQuery sticky footer</title><content type='html'>&lt;h6&gt;This will make an element with id footer stick to the bottom of the window, but only if the document body height is less than the window height. If it isn't it 'll just follow the normal document flow.&lt;/h6&gt;&lt;br /&gt;&lt;div&gt;$(function(){&lt;br /&gt;    positionFooter(); &lt;br /&gt;    function positionFooter(){&lt;br /&gt;        if($(document.body).height() &lt; $(window).height()){&lt;br /&gt;            $("#pageFooterOuter").css({position: "absolute",top:($(window).scrollTop()+$(window).height()-$("#pageFooterOuter").height())+"px"})&lt;br /&gt;        }    &lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    $(window)&lt;br /&gt;        .scroll(positionFooter)&lt;br /&gt;        .resize(positionFooter)&lt;br /&gt;});&lt;/div&gt;&lt;br /&gt;&lt;h6&gt;Without the body height conditional the footer will always stick to the bottom of the window, regardless of the body height:&lt;/h6&gt;&lt;br /&gt;&lt;div&gt;$(function(){&lt;br /&gt;    positionFooter(); &lt;br /&gt;    function positionFooter(){&lt;br /&gt;        $("#pageFooterOuter").css({position: "absolute",top:($(window).scrollTop()+$(window).height()-$("#pageFooterOuter")&lt;br /&gt;.height())+"px"})    &lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    $(window)&lt;br /&gt;        .scroll(positionFooter)&lt;br /&gt;        .resize(positionFooter)&lt;br /&gt;});&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-621576023221025985?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/621576023221025985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/jquery-sticky-footer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/621576023221025985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/621576023221025985'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/10/jquery-sticky-footer.html' title='jQuery sticky footer'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-8057063323943003528</id><published>2010-08-21T05:03:00.000-07:00</published><updated>2010-08-21T05:04:01.615-07:00</updated><title type='text'>Drop Shawod IE6 and MODREN Windows</title><content type='html'>-webkit-box-shadow: 0 0 1em black;&lt;br /&gt;box-shadow: 0 0 1em black;&lt;br /&gt;-ms-filter: "progid:DXImageTransform.Microsoft.Glow(color=#666666,strength=3) progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=135,strength=6)";&lt;br /&gt;     filter: progid:DXImageTransform.Microsoft.Glow(color=#666666,strength=3) progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=135,strength=6);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-8057063323943003528?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/8057063323943003528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/08/drop-shawod-ie6-and-modren-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/8057063323943003528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/8057063323943003528'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/08/drop-shawod-ie6-and-modren-windows.html' title='Drop Shawod IE6 and MODREN Windows'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-3523738912789195051</id><published>2010-08-19T21:49:00.000-07:00</published><updated>2010-08-19T21:53:28.410-07:00</updated><title type='text'>Simple Method to FIX , Position:FIXED in IE6</title><content type='html'>&lt;pre&gt;* { margin:0; padding:0; }&lt;br /&gt;html, body {&lt;br /&gt;    height: 100%;&lt;br /&gt;    overflow:auto;&lt;br /&gt;}&lt;br /&gt;body #fixedElement {&lt;br /&gt;    position:fixed !important;&lt;br /&gt;    position: absolute; /*ie6 and above*/&lt;br /&gt;    bottom: 0;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;div style="height:1000%"&gt;&lt;br /&gt;&lt;div id="fixedElement"&gt;cccc&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-3523738912789195051?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/3523738912789195051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/08/simple-method-to-fix-postionfixed-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/3523738912789195051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/3523738912789195051'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/08/simple-method-to-fix-postionfixed-in.html' title='Simple Method to FIX , Position:FIXED in IE6'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-8625552757007599882</id><published>2010-08-18T22:28:00.000-07:00</published><updated>2010-08-18T22:31:47.682-07:00</updated><title type='text'>mobile meta tags</title><content type='html'>Mobile META tags can be used in XHTML-MP and HTML markup to tag the document as optimized for mobile devices. Mobile search engines, mobile browsers and even desktop web browsers look for mobile META tags to identify and render mobile-optimized markup.&lt;br /&gt;&lt;br /&gt;Mainstream mobile web content is identified using the markup document’s DOCTYPE or document type declaration. If the DOCTYPE declares the document as XHTML-MP or WML, then by definition, the content is mobile-optimized.&lt;br /&gt;&lt;br /&gt;Today’s advanced mobile devices and smartphones are capable of rendering HTML 4 and 5 markup (some with JavaScript and AJAX, too). Still, many mobile web developers prefer to deliver a mobile-optimized web experience to these devices. A lightweight and responsive full-HTML mobile web experience provides the best user experience across a mobile network and on the smartphone browser. Since a smartphone-optimized mobile web document uses the full tag set of HTML, its DOCTYPE is no longer the right criteria to use to decide whether the document is indeed optimized for mobile devices.&lt;br /&gt;&lt;br /&gt;Mobile META tags can be incorporated into mobile-optimized HTML documents to identify the document as “made for mobile”. Here are several common mobile META tags and their interpretations by mobile browsers, mobile search engine spiders and robots.&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;The MobileOptimized META Tag&lt;/h1&gt;&lt;br /&gt;&lt;p&gt;icrosoft invented the MobileOptimized META tag to control the layout width for mobile markup rendered in Internet Explorer Mobile (i.e. Pocket IE). The content of the meta tag is an integer width in pixels. In IE Mobile, the presence of this META tag forces a single-column layout at the specified width, preventing the browser from modifying the layout to “fit” the mobile screen. See this META tag reference at Microsoft for the tag’s interpretation in Windows Mobile 5.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;meta name="MobileOptimized" content="width" /&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;Some non-MS mobile browsers may also use the tag to force single-column layouts. Mobile browsers and mobile search engine spiders also use this META tag to identify mobile-optimized HTML.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;The Viewport META Tag&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;Many smartphone browsers scale Web pages to a wide viewport width, one appropriate for displaying desktop-optimized markup. These browsers allow the user to zoom in and out of scaled Web pages. For example, Opera Mobile uses a default viewport width of 850 pixels, and the iPhone uses a default width of 980 pixels. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;The &lt;b&gt;Viewport META tag&lt;/b&gt; controls the logical dimensions and scaling of the browser viewport window in many smartphone browsers, including Safari Mobile for the iPhone, Android browser, webOS browser in Palm Pre and Pixi devices, Opera Mini, Opera Mobile and BlackBerry browsers. The presence of the Viewport META tag indicates that the markup document is optimized for mobile devices.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Here is a simplified version of the Viewport tag that sets the browser viewport width at 240 pixels and disables user scaling of the content:&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;&lt;br&gt;&lt;br /&gt;&amp;lt;meta name="viewport" content="width=240,user-scalable=no" /&amp;gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The &lt;b&gt;content&lt;/b&gt; value of the Viewport META tag is a comma-delimited list of directives and&lt;br&gt;&lt;br /&gt;their values. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;This example &amp;lt;meta&amp;gt; tag lists all Viewport directives and example values:&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;&lt;br&gt;&lt;br /&gt;&amp;lt;meta name="viewport" content="width=240, height=320, user-scalable=yes,&lt;br&gt;&lt;br /&gt;initial-scale=2.5, maximum-scale=5.0, minimum-scale=1.0" /&amp;gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;This table lists the meanings and values of all supported directives of the Viewport META tag.&lt;/p&gt;&lt;br /&gt;&lt;table border="1" cellpadding="2" cellspacing="2"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;Viewport META directive&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;Example Value&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align="left" valign="top"&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;width&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;code&gt;width=320&lt;/code&gt;&lt;br&gt;&lt;code&gt;width=device-width&lt;/code&gt;&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td&gt;Logical width of the viewport, in pixels. The special &lt;strong&gt;device-width&lt;/strong&gt; value indicates that the viewport height should be the screen width of the device.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align="left" valign="top"&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;height&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;code&gt;height=480&lt;/code&gt;&lt;br&gt;&lt;code&gt;height=device-height&lt;/code&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Logical height of the viewport, in pixels. The special &lt;strong&gt;device-height&lt;/strong&gt; value indicates that the viewport height should be the screen height of the device.&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align="left" valign="top"&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;user-scalable&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;code&gt;user-scalable=no&lt;/code&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Specifies whether the user can zoom in and out of the viewport, scaling the view of a Web page. Possible values are &lt;code&gt;yes&lt;/code&gt; or &lt;code&gt;no&lt;/code&gt;.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align="left" valign="top"&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;initial-scale&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td&gt;&lt;code&gt;initial-scale=2.0&lt;/code&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Sets the initial scaling or zoom factor (or multiplier) used for viewing a Web page. A value of 1.0&lt;br&gt;&lt;br /&gt;displays an unscaled Web document.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align="left" valign="top"&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;maximum-scale&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;code&gt;maximum-scale=2.5&lt;/code&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Sets the user’s maximum limit for scaling or zooming a Web page. Values are numeric and can range from 0.25 to 10.0. The value of this directives is a scaling factor or multiplier applied to the viewport contents.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align="left" valign="top"&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;minimum-scale&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td&gt;&lt;code&gt;minimum-scale=0.5&lt;/code&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Sets the user’s minimum limit for scaling or zooming a Web page. Values are numeric and can range from 0.25 to 10.0. The value of this directives is a scaling factor or multiplier applied to the viewport contents.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-8625552757007599882?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/8625552757007599882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/08/mobile-meta-tags.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/8625552757007599882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/8625552757007599882'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/08/mobile-meta-tags.html' title='mobile meta tags'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-1974059927398965879</id><published>2010-08-02T21:05:00.000-07:00</published><updated>2010-08-02T21:10:41.011-07:00</updated><title type='text'>Web 2.0 Defination</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Web_2.0_Map.svg/300px-Web_2.0_Map.svg.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 300px; height: 225px;" src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Web_2.0_Map.svg/300px-Web_2.0_Map.svg.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;h1&gt;Web 2.0&lt;/h1&gt;&lt;br /&gt;&lt;h2&gt;Web 2.0 Defination&lt;/h2&gt;&lt;br /&gt;&lt;h3&gt;information sharing, interoperability, user-centered design,  and collaboration on the World Wide Web.&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;Examples of Web 2.0 include social-networking sites,, web applications, mashups and folksonomies, blogs, wikis, video-sharing sites, hosted services.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-1974059927398965879?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/1974059927398965879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/08/web-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/1974059927398965879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/1974059927398965879'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/08/web-2.html' title='Web 2.0 Defination'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366309392179054439.post-6345686985003351480</id><published>2010-06-08T21:39:00.000-07:00</published><updated>2010-06-08T21:42:24.371-07:00</updated><title type='text'>Browser-Specific CSS Hacks</title><content type='html'>&lt;h2&gt; &lt;span class="mw-headline"&gt; &lt;span style="font-family: georgia;"&gt;Internet Explorer &lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p style="font-family: georgia;"&gt;The easiest and best way to target CSS rules to Internet Explorer  only is to use conditional comments to load an extra IE-specific  stylesheet. That way all your IE-specific rules are in one file and  separate from your standards-compliant CSS rules.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;To target IE using conditional comments, just add this line to  the &lt;code&gt;head&lt;&lt;/code&gt; tags of your HTML file:    &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_366845"&gt;&lt;div class="bar                             "&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view  source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_366845_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_366845" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;&lt;!--[&lt;/code&gt;&lt;code class="jscript keyword"&gt;if&lt;/code&gt;  &lt;code class="jscript plain"&gt;IE 6]&gt;&lt;link rel="&lt;/code"&gt;&lt;code class="jscript string"&gt;"stylesheet"&lt;/code&gt; &lt;code class="jscript plain"&gt;href=&lt;/code&gt;&lt;code class="jscript string"&gt;"&lt;a href="http://mysite.com/path/to/ie6.css"&gt;http://mysite.com/path/to/ie6.css&lt;/a&gt;"&lt;/code&gt;  &lt;code class="jscript plain"&gt;type=&lt;/code&gt;&lt;code class="jscript string"&gt;"text/css"&lt;/code&gt;  &lt;code class="jscript plain"&gt;media=&lt;/code&gt;&lt;code class="jscript string"&gt;"screen,  projection"&lt;/code&gt;&lt;code class="jscript plain"&gt;&gt;&lt;![endif]--&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;2&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;3&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;&lt;!--[&lt;/code&gt;&lt;code class="jscript keyword"&gt;if&lt;/code&gt;  &lt;code class="jscript plain"&gt;IE 7]&gt;&lt;link rel="&lt;/code"&gt;&lt;code class="jscript string"&gt;"stylesheet"&lt;/code&gt; &lt;code class="jscript plain"&gt;href=&lt;/code&gt;&lt;code class="jscript string"&gt;"&lt;a href="http://mysite.com/path/to/ie7.css"&gt;http://mysite.com/path/to/ie7.css&lt;/a&gt;"&lt;/code&gt;  &lt;code class="jscript plain"&gt;type=&lt;/code&gt;&lt;code class="jscript string"&gt;"text/css"&lt;/code&gt;  &lt;code class="jscript plain"&gt;media=&lt;/code&gt;&lt;code class="jscript string"&gt;"screen,  projection"&lt;/code&gt;&lt;code class="jscript plain"&gt;&gt;&lt;![endif]--&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p style="font-family: georgia;"&gt;These conditional comments will be ignored by every other browser so  only IE 6 and IE 7 respectively will load these stylesheets. Now all you  need to do is create the files on your server and override whatever CSS  rules are messing with IE’s headers.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;In fact this method works so well we aren’t even going to mention  the &lt;code&gt;* html&lt;/code&gt; hack or &lt;a href="http://info.com.ph/%7Eetan/w3pantheon/style/starhtmlbug.html" class="external text" title="http://info.com.ph/~etan/w3pantheon/style/starhtmlbug.html" rel="nofollow"&gt;other older methods&lt;/a&gt; because there’s just no reason to  use them any more.    &lt;/p&gt;  &lt;a style="font-family: georgia;" name="Firefox"&gt;&lt;/a&gt;&lt;h2 style="font-family: georgia;"&gt; &lt;span class="mw-headline"&gt; Firefox &lt;/span&gt;&lt;/h2&gt;  &lt;p style="font-family: georgia;"&gt;Firefox does a pretty good job of rendering web pages the way they  are supposed to look, but every once in a while you’ll find some of the  older versions doing something a bit wonky.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;To target a rule at Firefox 1.5 and 2, use this hack:  &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_389268"&gt;&lt;div class="bar "&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_389268_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_389268" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;body:empty&lt;/code&gt; &lt;code class="jscript  preprocessor"&gt;#my-id {&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;2&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;3&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript comments"&gt;/*  Firefox-specific rules go here */&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;4&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;5&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;}&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p style="font-family: georgia;"&gt;The trick to this hack is the proposed CSS 3 &lt;code&gt;:empty&lt;/code&gt;  pseudo-class. The purpose of the &lt;code&gt;:empty&lt;/code&gt; pseudo class is to  allow you to target any element that has no child elements. However,  Firefox 1.5 and 2.0 (and others based on those versions of Gecko) select  the body even when the body has content. In other words this hack  exploits a bug that was fixed in Firefox 3.    &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;The big downside to using this hack is that it’s invalid CSS 2  and may not even make it into the CSS 3 specification, so your  stylesheets won’t validate. However, Firefox is pretty good at backwards  compatibility, so this may not be an issue for a while. Your mileage  may vary.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;What if you need to target all versions of Firefox? To do that  you can use a trick borrowed from Firefox extensions:  &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_488982"&gt;&lt;div class="bar"&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_488982_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_488982" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;@-moz-document url-prefix() {&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;2&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;3&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript preprocessor"&gt;#my-id {  font-size: 100%; }&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;4&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;5&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;}&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p style="font-family: georgia;"&gt;The &lt;code&gt;-moz&lt;/code&gt; prefix (which is also used for some of the  cutting-edge &lt;a href="http://www.webmonkey.com/2010/02/Get_Started_with_CSS_3" title="Tutorial:Get Started with CSS 3"&gt; CSS support in Firefox 3&lt;/a&gt;)  is combined with the &lt;code&gt;-document url-prefix()&lt;/code&gt; selector, which  is how Firefox add-ons define their styles.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;Since other browsers don’t use this add-on contention, the result  is a rule only Firefox will apply.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;If you’re looking to target only Firefox 3, you’re out of luck.  At the time of this writing, Firefox 3 seems immune to any  browser-specific hack.    &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;&lt;i&gt;We may have missed something, though. If you know of a way to  target Firefox 3, be sure to &lt;a href="http://www.webmonkey.com/2010/02/Browser-Specific_CSS_Hacks/edit" class="external text" title="/2010/02/Browser-Specific_CSS_Hacks/edit" rel="nofollow"&gt;add it&lt;/a&gt;.&lt;/i&gt;  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;FIREFOX 3 SPECIFIC CSS &lt;i&gt;(from &lt;a href="http://www.sethviebrock.com/" class="external text" title="http://www.sethviebrock.com" rel="nofollow"&gt;sethviebrock&lt;/a&gt;)&lt;/i&gt;  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;For example, to set Firefox3-specific CSS properties for an image  with an id of “header_right_gif”, i.e.  &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_730686"&gt;&lt;div class="bar"&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_730686_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_730686" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;&lt;img id="&lt;/code" /&gt;&lt;code class="jscript string"&gt;"header_right_gif"&lt;/code&gt;  &lt;code class="jscript plain"&gt;src=&lt;/code&gt;&lt;code class="jscript string"&gt;"header_right.gif"&lt;/code&gt;  &lt;code class="jscript plain"&gt;align=&lt;/code&gt;&lt;code class="jscript string"&gt;"right"&lt;/code&gt;&lt;code class="jscript plain"&gt;&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p style="font-family: georgia;"&gt;you’d use the following code:  &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_368935"&gt;&lt;div class="bar  "&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_368935_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_368935" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;01&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript comments"&gt;/* Firefox3-specific CSS property for  header_right.gif */&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;02&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;03&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;@-moz-document url-prefix() {&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;04&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;05&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript preprocessor"&gt;#header_right_gif,  x:-moz-any-link, x:default {&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;06&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;07&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;        &lt;/code&gt;&lt;code class="jscript plain"&gt;position:  relative;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;08&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;09&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;        &lt;/code&gt;&lt;code class="jscript plain"&gt;top: -1px;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;10&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;11&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript plain"&gt;}&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;12&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;13&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;}&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p style="font-family: georgia;"&gt;FIREFOX 3 SPECIFIC CSS with ASP.Net &lt;i&gt;(from &lt;a href="http://www.focus44.com/" class="external text" title="http://www.focus44.com" rel="nofollow"&gt;Focus 44&lt;/a&gt;)&lt;/i&gt;  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;I ran into a need to target Firefox 3 specifically.  My developer  at Focus44.com wrote me the following code to be placed in the  &lt;head&gt;.  You can see I have added a Firefox 3 specific Style Sheet  and individual styles in the example.  It will only work for ASP.Net  pages but I have seen similar tricks for php:  &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_397462"&gt;&lt;div class="bar   show"&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_397462_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_397462" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;01&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;&lt;%&lt;/code&gt;&lt;code class="jscript keyword"&gt;if&lt;/code&gt;  &lt;code class="jscript plain"&gt;(Request.UserAgent.ToLower().Contains(&lt;/code&gt;&lt;code class="jscript string"&gt;"firefox/3"&lt;/code&gt;&lt;code class="jscript plain"&gt;))  { %&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;02&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;03&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript  plain"&gt;&lt;link href="&lt;/code"&gt;&lt;code class="jscript string"&gt;"./themes/firefox3.css"&lt;/code&gt;  &lt;code class="jscript plain"&gt;rel=&lt;/code&gt;&lt;code class="jscript string"&gt;"stylesheet"&lt;/code&gt;  &lt;code class="jscript plain"&gt;media=&lt;/code&gt;&lt;code class="jscript string"&gt;"all"&lt;/code&gt;  &lt;code class="jscript plain"&gt;type=&lt;/code&gt;&lt;code class="jscript string"&gt;"text/css"&lt;/code&gt;  &lt;code class="jscript plain"&gt;/&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;04&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;05&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript plain"&gt;&lt;style&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;06&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;07&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;08&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;09&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;        &lt;/code&gt;&lt;code class="jscript plain"&gt;*.style{  overflow:hidden; }&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;10&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;11&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript plain"&gt;&lt;/style&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;12&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;13&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;&lt;% } %&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;a style="font-family: georgia;" name="Safari"&gt;&lt;/a&gt;&lt;h2 style="font-family: georgia;"&gt; &lt;span class="mw-headline"&gt; Safari &lt;/span&gt;&lt;/h2&gt;  &lt;p style="font-family: georgia;"&gt;As with Firefox 3, there’s no clear way to target specific versions  of Safari, but there is a very ugly trick you can use to apply rules to  only Safari 1 and 2:  &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_99121"&gt;&lt;div class="bar "&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_99121_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_99121" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript preprocessor"&gt;#my-id { color:red; }&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;2&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;3&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript preprocessor"&gt;#my-id { color:black;# }&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p style="font-family: georgia;"&gt;The first rule will set the font to red in all browsers. The second  rule will set the font to black in every browser except Safari 1 &amp;amp;  2. This hack works because the first two releases of Safari had a bug  where a hash mark after the semicolon caused Safari to choke.    &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;This is probably the ugliest hack in this tutorial, so use it  sparingly if at all. Also note that Safari 1 and 2 will choke on &lt;i&gt;every&lt;/i&gt;  rule after the “#” so put these at the bottom of your stylesheet.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;If you need to target Safari in general (regardless of which  version) use the same prefix trick we used with Firefox.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;In Safari’s case (or any other webkit browser), the rule looks  like this:  &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_935139"&gt;&lt;div class="bar   "&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_935139_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_935139" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;@media screen and  (-webkit-min-device-pixel-ratio:0) {&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;2&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;3&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript preprocessor"&gt;#my-id {  height: 100%; }&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line  alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;4&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;5&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;}&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p style="font-family: georgia;"&gt;The downside to this hack is that it also applies to Opera 9+.  However you can retain the Safari-only aspect by combining it with the  Opera-only rule below.  &lt;/p&gt;  &lt;a style="font-family: georgia;" name="Opera"&gt;&lt;/a&gt;&lt;h2 style="font-family: georgia;"&gt; &lt;span class="mw-headline"&gt; Opera &lt;/span&gt;&lt;/h2&gt;  &lt;p style="font-family: georgia;"&gt;Generally speaking Opera doesn’t require many CSS hack since it’s  perhaps the most standards compliant of all the browsers. In fact, if  you find something is rendering poorly in Opera, there’s a good chance  the error is on your end, not the browser’s.  &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;But, should you ever need to target Opera, we have a way. This  one comes courtesy of &lt;a href="http://www.nealgrosskopf.com/tech/thread.asp?pid=20" class="external text" title="http://www.nealgrosskopf.com/tech/thread.asp?pid=20" rel="nofollow"&gt;Neal Grosskopf&lt;/a&gt;. Grasskopf also has a comprehensive  list of other browser hacks, including some conditional comment hacks we  try to avoid.    &lt;/p&gt;&lt;p style="font-family: georgia;"&gt;To target Opera, use this rule:  &lt;/p&gt;  &lt;div style="font-family: georgia;" class="syntaxhighlighter  jscript" id="highlighter_496378"&gt;&lt;div class="bar          "&gt;&lt;div class="toolbar"&gt;&lt;a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#viewSource"&gt;view  source&lt;/a&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed id="highlighter_496378_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_496378" menu="false" src="http://www.webmonkey.com/wp-content/plugins/syntax-highlighter-and-code-prettifier/scripts/clipboard.swf" width="16" height="16"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;a class="item printSource" style="width: 16px; height: 16px;" title="print" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#printSource"&gt;print&lt;/a&gt;&lt;a class="item about" style="width: 16px; height: 16px;" title="?" href="http://www.webmonkey.com/2010/02/browser-specific_css_hacks/#about"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;@media all and  (-webkit-min-device-pixel-ratio:10000), not all and  (-webkit-min-device-pixel-ratio:0) {&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;2&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;3&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;    &lt;/code&gt;&lt;code class="jscript preprocessor"&gt;#my-id {  clear:right; }&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line  alt2"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;4&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;5&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="jscript plain"&gt;}&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p style="font-family: georgia;"&gt;As Gosskopf notes in his write up, this is one of the weakest hacks  since it isn’t really targeting Opera, it’s targeting all browsers that  support &lt;code&gt;-min-device-pixel-ratio&lt;/code&gt; that aren’t using the  webkit rendering engine. At the moment that means Opera, but eventually  Firefox will add support for &lt;code&gt;-min-device-pixel-ratio&lt;/code&gt; which  means, eventually, it too will be affected by this hack.  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7366309392179054439-6345686985003351480?l=fekky-fekky-fekky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fekky-fekky-fekky.blogspot.com/feeds/6345686985003351480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/06/browser-specific-css-hacks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/6345686985003351480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366309392179054439/posts/default/6345686985003351480'/><link rel='alternate' type='text/html' href='http://fekky-fekky-fekky.blogspot.com/2010/06/browser-specific-css-hacks.html' title='Browser-Specific CSS Hacks'/><author><name>feroz s web 2.0</name><uri>http://www.blogger.com/profile/08759498476042530178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
