Archive

Posts Tagged ‘CSS’

IE 8 CSS Hack

April 9th, 2009

In some cases, IE8 still can’t render CSS correctly. This is the magic trick to target only IE 8 .

.selector { property /*\**/: value\9 }

ex:
.myText { color /*\**/: #cc0000\9 }

CSS , ,

Removing Dotted Links

March 1st, 2009

If you don’t like the dotted outline that appears around every link (see image bellow) you can use  this CSS trick :

outline: none;

dottedlinks

Example :

a {
  outline: none;
}


Later edit : You must add the pseudo class of :focus to work on all IE versions.
(thanks to Eric Hoffman )

CSS ,

Design for Browser Size Not Screen Size

March 1st, 2009

People working professionally with web know the difference between screen size and browser content area, but to make it clear I wanted to illustrate that screen size is irrelevant in comparison to other more important metrics.

You can find more information about screen resolution and page layout here

web design , ,