You are here

internet explorer

Differentiating CSS for IE7 IE6 and firefox

if you put # before any css tag, only IE 7 and IE 6 will read that line.
if you put _ before any css tag, only IE 6 will read that line.

example:

width: 560px;     /* All other browsers */ 
#width: 558px;    /* IE 6 & 7 */
_width: 557px;    /* IE 6 */

just remember to keep this order.

Subscribe to RSS - internet explorer

User login

Recent comments

About website

This website is photography and web design portfolio of Nima Mehrabany - web designer & photographer.

I am an advocate of css, xhtml and standards based layouts, creating well structured sites that are easy to use, optimized for search engines & coated in solid design.

Read More...