/home » workblog

Entries for the ‘XHTML’ Category

Alternatives to Select/Multiple

Ryan Cramer details some of the problems with select/multiple and a few good alternatives. It’s useful in certain circumstances, but unintuitive and error-prone. Instead, you can create a list of checkboxes inside an element with overflow:auto set, or use a jQuery plugin he developed.

Content Above Anchors Disappear

It turns out there’s a serous problem with the One True Layout method of creating equal height columns. All of the content above an anchor will be shifted up, making it seem like it disappeared. There aren’t any universal or reliable fixes for this, so the Faux Columns method is probably the best choice if [...]

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, [...]