Eric Wendelin's Blog

Archive for the 'CSS' Category

About the indirect adjacent combinator (~) in CSS

CSS Indirect Adjacent CombinatorA relative of the CSS Adjacent Sibling Combinator that I wrote about before, the indirect adjacent combinator is pretty nifty and supported by IE7+, FF2+, Opera 9.5+, Safari 3+, and even Konqueror. It is actually part of the CSS3 spec but it’s surprisingly well supported.

Popularity: 15% [?]

21 comments

Next major Firefox 3 release will support almost all of CSS3

It looks like David Baron is working hard on new CSS support for Firefox 3. His latest blog post tells us that he has finished up support for a bunch of CSS3 selectors, available now in the Firefox nightly build:

We now support :nth-child(), :nth-last-child(), :nth-of-type(), and :nth-last-of-type() [...] :first-of-type, :last-of-type, and :only-of-type

This will be released with the next major version of ‘fox (probably 3.1). It looks like support forMedia Queries is next. Hurrah! Good work David!

Popularity: 4% [?]

4 comments

Create a Color Palette Using CSS and MooTools 1.2

This entry was authored by highly-respected blogger and friend David Walsh. Learn more about David


As you can see from my site’s lack of design (davidwalsh.name), I’m about 90% programmer and 10% designer. As someone that’s not a designer, I’m really grateful for websites like ColourLovers — websites that provide you palettes of colors that look good together. Let’s pretend for a moment that I do have a good design and I want others to know my palette. MooTools 1.2 has made that a reality.

Popularity: 8% [?]

19 comments

Use the table-layout CSS property to speed up table rendering

A rarely used CSS property that can be very useful given the right circumstances is the table-layout property. It has great rendering speed benefit when used properly. Obviously this will only apply to HTML <table>s, which I know none of you would EVER overuse. Tables are not totally evil, they have their proper implementations and their really, really bad ones. OK, on to the code:

Popularity: 21% [?]

14 comments