CSSquirrel

One nut’s look at the world of web design

Posts Tagged ‘CSS’

@font-face: Solution or bandage?

Tuesday, July 22nd, 2008

Yesterday I wrote a post at Mindfly describing how to make use of the CSS @font-face rule for embedding fonts into web pages. I figured it was timely, as I’m getting tired of the number of times I have to use an image (or putz around with workarounds like sIFR) to substitute a special header all because of a non-web safe font, or a client with very specific typographic tastes and a very poor understanding of how the web and fonts work together (or more to the point, how they don’t). Furthermore, both Firefox and Opera have intentions to add support to the feature very soon, creating a world where all four major browsers will have the function (although with IE using EOT and not TTF it won’t be all peace and happiness quite yet).

The thing is, the more I look into the topic, the more it appears that @font-face won’t going to be ushering in a Utopian society of pretty fonts. The core issue seems to be how legal is font embedding going to be, and how will typographers feel about developers putting their font files on servers in a place where they could potentially be snatched?

So far the answers seem to be ‘not very’ and ‘not good’, respectively.

Which makes me wonder, what good, if any, will @font-face actually serve us. If, as a solution, it creates only another problem, a legal problem, that standards themselves can’t fix, is it worth the effort investing into this path to web fonts? Perhaps browser people should be looking into another technique that’ll prove to be more secure for the font files. Something that won’t look good on paper but results in a lot of angry mail from lawyers.

Although, it does make me wonder. Is there a technique that could be used with the current @font-face rule that would still protect the fonts?

@font-face. Good? Bad?

Annoyed by Opacity

Friday, June 20th, 2008

Am I the only person annoyed by how the CSS opacity property is automatically inherited by an element’s children, and it can’t be overridden in the child elements by any means? This is one of the most obnoxious limitations to a CSS property that I’ve ever encountered.

Seriously, why prevent that? I’d initially hazard a guess that it was due to technical limitations, but CSS3’s rgba colors don’t suffer from the same limitation. Too bad rgba colors aren’t universally supported yet.

Then again, neither is opacity.

-sigh-

I wonder if IE8 will support either, although frankly, if they’re going to step up to the big kid’s table, I’d rather see them implement rgba colors first.

Naked Again

Tuesday, April 15th, 2008

I’m a few days too late for CSS Naked Day, so what’s going on?

The fact is, the existing “design” for the site was a quick, hacky skinning of Wordpress, done in about an hour of time with little regard to the end result. It was ugly. And I’m tired of it.

So I’ve stripped the site of it’s design for two reasons: 1. I hated what I had, and 2. Now every time that I look at the site I’ll see the bare bones staring back at me. It’s my hope that this will influence me to get off my lazy ass and actually put up the design I had in mind for the site all along.

I have a co-worker that made a comment about painters never having nice houses. I get the feeling that web developers often have unfinished websites. I’m hoping to break that pattern myself.

In other news, I’ve been checking out Twitter more. I know it’s yesterday’s news, but there’s a lot of neat things you can do with it that I’m thinking of trying to integrate into the site. We’ll see if that works out.

Ok, time for a dentist appointment. Yay.

Solving Impatience with Pseudonut

Sunday, March 2nd, 2008

I tried really hard to start this post with a pop culture reference that somehow allegorically tied Alan Ruck’s relative anonymity despite his years of acting (including a major role in the pinnacle of 80’s teen films: Ferris Bueller’s Day Off) to the subject of toiling away at web design solutions on a daily basis. After reading what I just wrote, I realize that I may have too much spare time on my hands.

Fortunately for me, I spend at least a little of that time doing other things, like actually working on previously mentioned web design solutions. One area of interest that I’ve been getting more and more obsessed with is using Javascript to allow cross-browser CSS3 functionality on modern browsers, despite the fact that short of Konquerer, (which really annoys me because of the ‘cool’ spelling of a word with the letter K) browsers probably won’t be doing a lot of note with CSS3 until sometime after global warming causes the seas to rise and dolphins enslave humanity.

(more…)

Nekkid!

Thursday, February 14th, 2008

My so-called social calendar has suddenly filled up right after uploading all my blog software. So although this site will eventually look customized, sleek, and entirely different, for the moment it’ll have to look just like a really nekkid blog.

Misspelling words on purpose, how enjoyable!

My current CSS tomfoolery involves creating a javascript file that can convert proper CSS3 selector pseudoclasses like :nth-child(#) into Offspring-compatible fake pseudoclasses like “.nth-child-#”. It’s about 80% there, but I’ve ran into an issue where JS doesn’t recognize a selector as a selector if it’s got “(” or “)” in it, which is what nth-child makes heavy use of. If I can’t conceive of a workaround, it’ll tank the mini-project. Arrr…

Copyright © 2008 by Kyle Weems. All rights reserved.
CSSquirrel is proudly powered by WordPress
  • Lorem Ipsum.