I know you’ve done it before. I think we’ve all done it. You have a container with a floated element inside. The container doesn’t wrap around everything, thus causing the element to break outside of the container. To fix this, we’d usually add a clear element at the bottom of the container so it would [...]
I’ve positioned elements absolutely and had to deal with a bug where the element appears below a flash object or select drop-downs, which usually occurs in IE. I’ve seen a few solutions, which work great, and I have one more to add.
I just had to share this one with you as soon as I read it. Dustin Diaz shows us a way of declaring a doctype, that puts the browser is standards mode. Thought it won’t validate, which he explains: There is really, absolutely no reason you need the rest of the doctype in your declaration [...]
David Walsh recently posted “Get WordPress Post Categories“, where he talked about using the wordpress get_categories() function to create a two column list of his categories in his theme. I offer a slightly different approach using an unordered list.