Written by Andrew, @ http://www.webupd8.org/
Through the magic of the Google Font API any web designer can now pick Ubuntu from the Google Font Directory and bring the beauty and legibility of the Ubuntu fonts to their websites too.
To use it on your website, head over to Google Font Directory
, select the Ubuntu font variant you want to use and copy the code to the “head” section of your blog (above “</head>”). The code looks like this:
<link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'/>
You can use the font for all the font on the website or only for some parts of it like the posts tile (like we are using it here, on WebUpd8). To only use it for the post titles, search for “h1” in your CSS code and add this:
font-family: 'Ubuntu', arial, serif;
By Paul Maloney |http://wpzine.com/
Following on from my recently article about WordPress security plugins there are a number of ways you can shore up your security by using a few choice snippets and hacks.
Please do ensure you backup before making any changes to your files, the .htaccess if broken can cause your blog to stop working completely!…
@font-face tutorial brought to you byMilton Bayer
@font-face is a CSS rule which allows you to show a font on a Web page even if that font is not installed on the users’ computer. This means that designers and developers can begin moving away from Web-safe fonts that users have pre-installed on their computer such as Arial, Times New Roman, Verdana and Trebuchet…
By Trevor Morris @ smashingmagazine.com
One of the most useful front-end development techniques of recent years is the humble “CSS Sprites”. The technique was popularised by Dave Shea on A List Apart in 2004 with his article CSS Sprites: Image Slicing’s Kiss of Death. CSS Sprites are a relatively simple technique once you understand the fundamentals and it can be applied in all manner of ways. A common use is for a graphic intensive navigation, but it can also be useful for buttons or even styling headings with the corporate font…