Category Archives: CSS

Font Color Not getting change on iPhone for Numbers?

Having issue with iPhone & Safari Browser for number like Font color not getting change even you already assign by CSS. Reason is number iPhone identify Number as Phone Number and adding link on it so it getting display like it is anchor link with tel attribute a[href^=tel] { color: inherit; text-decoration: none; } Add… Read More »

Category: CSS

change Placeholder text color by CSS class

Going to use Inquiry Form with background color match to Inout field placeholder text and Placeholder text not visible to your visitor when they visit site and fill up form. using below css class attribute you can change input field placeholder text color according your need. .ptcgreen::-webkit-input-placeholder { color: green; } .ptcgreen:-moz-placeholder { color: green;… Read More »

Font-Face CSS not working with CDN cross domain

Hello Friends, are you facing problem as font-face not working properly when style sheet / font loaded from hosted CDN domain or any other Cross Domain, However It is work fine when style sheet on the same domain. Main reason for font-face not working is your Apache Server configuration setting that not enable for use… Read More »

Font-face throw a 404 error for woff files in Chrome

@font-face css rule use for stylish custom font instead of have to use one of the “web-safe” fonts. @font-face { font-family: myCustomFont; src: url(‘webfont.eot’); /* IE9 Compat Modes */ src: url(‘webfont.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */ url(‘webfont.woff’) format(‘woff’), /* Modern Browsers */ url(‘webfont.ttf’)  format(‘truetype’), /* Safari, Android, iOS */ url(‘webfont.svg#svgFontName’) format(‘svg’); /* Legacy iOS */ }… Read More »

Category: CSS