Hey Their,
I want to show my cheque numbers like "MICR / E13-B Fonts". How could i display it using css.
Thanks Rahul
Hey Their,
I want to show my cheque numbers like "MICR / E13-B Fonts". How could i display it using css.
Thanks Rahul
Does the client browsers have MICR / E13-B fonts installed? Probably not. At least I don't.
Instead of CSS you should use PHP to generate an image that contains the number embedded on it in the desired font. That image will look the same in any browser.
Most modern browsers support embedded fonts (even IE if you provide them in the right format):
(Other alternatives such as image replacement are also mentioned in that article)
You can use the CSS property font-face
to define a font, then use that defined font as you would use any other font in CSS.
See http://www.alistapart.com/articles/cssatten and https://developer.mozilla.org/en/CSS/@font-face#Browser_compatibility