Changing font using css code
-
Hey.
I managed to change the font type and color when typing, using css code.
Its working great on all browsers.But, when I try to change the font type and color of the “type here” text (the text that you see before start typing), it’s not taking effect on chrome.
In Firefox & IE the change taking effect, but in chrome it’s not.
It’s look like the chrome still using it’s own setings of fonts, but only in that elemnet.
Can I force chrome to use my own font & color based on the css code?
This is the css code that I use on my site:
.wpdreams_asl_container *, .wpdreams_asl_results * {
font-size: 16px !important;
font-family: alef, sans-serif, arial !important;
direction: rtl;
text-align: right !important;
}div[id*=”ajaxsearchlite”] .probox .proinput input::-moz-placeholder {
font-family: alef, sans-serif, arial !important;
color: rgb(59, 169, 189) !important;
font-weight: bold;
font-size: 15px;
}#ajaxsearchlite1 .probox .proinput input, div[id*=”ajaxsearchlite”] .probox .proinput input {
font-weight: bold;
font-family: alef, sans-serif, arial !important;
color: rgb(59, 169, 189) !important;
font-size: 16;
line-height: normal !important;
}#ajaxsearchlite1 .probox, div[id*=”ajaxsearchlite”] .probox {
border: transparent;
}Thanks!
The topic ‘Changing font using css code’ is closed to new replies.