Importing Custom Fonts with CSS @fontface
When using a custom font type for you website, there are several options. Obviously the best way is using CSS3 by declaring a variable and importing all necessary font types for browser support. By adding the following to your stylesheet should import your custom font: @font-face { font-family: custom_font; src: url('http://www.website.com/custom_font.ttf'); } p { font-family: custom_font; } However, while working on a recent project, I found that IE of course doesn’t import Open or True Type font. Correct me if you’ve found different. When importing to IE,...
Read MoreMultiple Background Images + CSS3 Rounded corners
Like many web-designers I’ve often wished I could assign multiple backgrounds to a single (X)HTML element using CSS to create effects like drop shadows or rounded boxes. But alas CSS1 and 2 only permit each element to have at most one background image. So far the best way to achieve such effects is to layer elements on top of each other and giving each one part of the combined background. For example, to create a box with rounded corners you could use 4 corner images (one for each corner), create 4 nested elements and assign one of the images as a background in the corresponding corner...
Read MoreWebsite Design < Development
Standardize or build over the WordPress, Drupal, or Joomla platforms. Custom PHP development and technical assessment.
Read More