Tag Archive

Use custom font in html/css

Published on 2011/03/04 By Konstantinos Polychronis

First declare your font in your css file: @font-face { font-family: a_cool_font_name; src: url(‘path/to/cool/font.ttf’); } Then add it to your elements p.custom_font{ font-family: a_cool_font_name; /* no .ttf */ } ready :)

FacebookGoogle BookmarksTwitterFriendFeedGoogle GmailBlogger PostGoogle ReaderHotmailWordPressShare

WebView: Change background and font color

Published on 2010/11/19 By Konstantinos Polychronis

In order to change a WebView’s background color there is a standard way: In order to change a WebView’s text font color there is no standard way: Either you change the font through the html code, or you do this:

FacebookGoogle BookmarksTwitterFriendFeedGoogle GmailBlogger PostGoogle ReaderHotmailWordPressShare