/home » workblog

Entries for November, 2009

Using overflow to Clear Floated Elements

If you have an element whose children are all floated, it won’t have any height to it. I’ve always just put an extra <div style=”clear: both;”> at the bottom of the container to force it to clear, but it looks like there’s been a much better way for a few years now. Alex Walker points [...]

Free Icon Sets

These are some of the better free icon sets I’ve seen:

Axialis
Photoshop Style File Icons
Silk
Fugue
Chalkwork HTML

Writing Semantic (X)HTML

Jesse Skinner explains why developers should use appropriate semantic tags when marking up a page, rather than just putting everything inside a <div>.
Here’s a quick reference list of what I commonly use:

<div> – For large page sections, and when there isn’t a specific semantic tag
<h1> … <h6>: For section header titles
<p> – For text paragraphs, [...]

Placing an Element In Front of an Object

Here’s how to have a drop-down menu appear on top of a Flash object:

Add a z-index of 0 to the object’s containing div
Add <param name=”wmode” value=”transparent”> inside the object tag
Add wmode=”transparent” to the embed tag

via Sheriar Designs

The Good, Bad and Ugly of SEO Methods

I agree with a lot of what Derek Powazek wrote about the SEO industry in Spammers, Evildoers, and Opportunists. His main gist is that the good SEO techniques — like using tags that match the semantics of the content and setting up 301 redirects when pages move — should just be considered good development practices, and [...]