The lost property

Noth­ing physical.

I just re-discovered CSS’s background-position prop­erty. I don’t use it any­where near enough, and really should. It can do loads of use­ful stuff — a good exam­ple being the nav­i­ga­tion on Dave Shea’s mez­zoblue.

Any­one else been guilty of prop­erty neglect lately?

Tags:

posted on Thursday, May 5th, 2005 at 9:48 pm by Josh, filed under Web Standards.

2 Responses to “The lost property”

  1. Matthom says:

    You talkin’ about top left no-repeat type of thing?

    Typ­i­cally, I declare all the back­ground val­ues with since the solo background property:

    background: #fff url(/images/bg.big) top left no-repeat;

    I don’t think I’ve ever actu­ally declared background-position on it’s own.

    As far as “sel­dom used” CSS prop­er­ties — for me — there’s a fine line between neglect­ing a prop­erty “out of for­get­full­ness,” and neglect­ing a prop­erty “out of misunderstanding.”

    In other words, I don’t use some prop­er­ties because some are a lit­tle more tricky than others.

    Such as clear.

    All in all, I have to say I don’t use display as often as I would like.

  2. Josh says:

    Yeah, I was actu­ally think­ing of pixel posi­tion­ing (how mezzoblue’s pri­mary nav rollover effect is achieved)… it’s stu­pidly com­pli­cated, I guess, but also poten­tially very use­ful. I’m in the process of mak­ing myself under­stand how it works for a client.

Leave a Reply