Tuesday, May 11, 2010

EmulateIE7: make you site rendered like IE7 in IE8

Many times design of your site distorts in IE8. The instant solution to fix this issue is make your site rendered like in IE7 in Internet Explorer 8.0 also. Simply add following tagline inside head tag and make your webpage rendered like IE7 in IE8.

Note that, The X-UA-Compatible tag and header override any existing DOCTYPE. Also, the mode specified by the page takes precedent over the HTTP header.

Tag:

Wednesday, May 5, 2010

Firefox issue: Remove the dotted border around links

The default firefox issue when we use (hyperlink) for text, image or any other html element, it gives border around that element. Though its not a big issue, it looks weird sometime. This can be fixed using simple css formatting.

Use following syntax in css file, which will be applied for all default links.

a:active
{outline: none;}

a:focus
{-moz-outline-style: none;}


Thats it. Save the css file or the html page where you have embedded this code and see the results.