Archive for the 'Design' Category

A particular project I’m working on requires graying out options in a drop down box. I discovered the disabled attribute, which can be used as follows:

<select name="range">
    <option value="7">last 7</option>
    <option value="30">last 30</option>
    <option value="60" disabled="disabled">last 60</option>
</select>

Normally you can just write ‘disabled’, but to be valid XHTML, you need the disabled=’disabled’ variant. The point is, this […]

Like Brian, I’ve been frustrated by something inane lately, only it doesn’t have to do with code that’s not working. It’s simply that something doesn’t feel right about my interface. I have a series of navigational tabs on the top, then a column of content (a graph that consumes the width of my […]


You are currently browsing the Code in Focus weblog archives for the 'Design' category.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.
 

Bad Behavior has blocked 14 access attempts in the last 7 days.