CSS Hack only for IE 6

these days we got many browsers, sometime i feel if i were a king of the world i would love to eliminate all extra browsers. anyway, our designer bro (_ryan) and me were struggling to figure out some IE 6 specific hack. which won’t affect IE 7.x or other browsers.

we tried applying “@” prefix hack, for example: @width, but it worked on IE 6 and 7. so later we tried the old style “/* \*/” comment hack, exactly the same problem.

so suddenly our designer bhai (ryan), got a nice hack, it was “_”. for example: “_width: 22px”.

surprisingly it worked Wow on IE 6 without affecting IE 7 or other browsers. thanks allah, at least we found something that is working.

this blog is for those who are stucking with such problem.

best wishes,

Advertisements

One response to “CSS Hack only for IE 6

  1. not sure that I post my comment in a right place. but could you please point me how can I get the following IE plugin. I would like to place it on my site. And if my visitors install this plugin they will be able to search for some items on my site witout even visiting it. they will simply type what they are looking for in “search field” of IE and get results from my site. Like google toolbar… Sorry once again if I posted in wrong place.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

my tweets

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

May 2007
S S M T W T F
« Apr   Jun »
 1234
567891011
12131415161718
19202122232425
262728293031  

Flickr Photos

RSS my shared links on google reader

  • An error has occurred; the feed is probably down. Try again later.
%d bloggers like this: