a:link, a:hover {
outline:none;
}
a:visited, a:focus, a:active {
text-decoration:none;
outline:none;
ie-dummy: expression(this.hideFocus=true);
}
Thursday, June 24, 2010
@font-face- CSS3
@font-face {
font-family: "MuseoLight";
src: url("../fonts/Museo300-Regular.eot");
src: local("Museo 300"), local("Museo-300"),
url("../fonts/Museo300-Regular.woff") format("woff"),
url("../fonts/Museo300-Regular.otf") format("opentype"),
url("../fonts/Museo300-Regular.svg#Museo-300") format("svg");
}
h2{font-family:MuseoLight,Verdana,sans-serif;}
font-family: "MuseoLight";
src: url("../fonts/Museo300-Regular.eot");
src: local("Museo 300"), local("Museo-300"),
url("../fonts/Museo300-Regular.woff") format("woff"),
url("../fonts/Museo300-Regular.otf") format("opentype"),
url("../fonts/Museo300-Regular.svg#Museo-300") format("svg");
}
h2{font-family:MuseoLight,Verdana,sans-serif;}
This is MuseoLight Font
Tuesday, June 22, 2010
Png fix For ie6
IE6.0
This uses CSS "behaviors", a custom Microsoft extension to CSS. As such, it will not affect any other browsers like Mozilla and Opera which already implement good PNG support. It will also not help IE4.0 and IE5.0, which don't include the necessary IE filter, and does nothing with IE5/Mac (which natively supports translucent PNG foreground images, however).
Word Wrap for all browsers
wordwrap
{
white-space: -moz-pre-wrap ;
white-space: -hp-pre-wrap;
white-space: -o-pre-wrap;
white-space: -pre-wrap;
white-space:normal;
word-wrap: break-word!important;
overflow: hidden;
padding-left:1px;
word-break: break-all;
}
{
white-space: -moz-pre-wrap ;
white-space: -hp-pre-wrap;
white-space: -o-pre-wrap;
white-space: -pre-wrap;
white-space:normal;
word-wrap: break-word!important;
overflow: hidden;
padding-left:1px;
word-break: break-all;
}
Subscribe to:
Posts (Atom)