Archive for the 'CSS' Category

Weird IE bug: inputs incorrectly inherit horizontal margins when they’re in a fieldset

Tuesday, August 31st, 2004

I ran across a strange bug today in IE. I tried to find any other references to it on Google, but couldn’t find any. Here’s the issue: we have an input field within a fieldset that is in turn within some container object. The container object has some margins defined. For […]

Truly fluid and flexible columns?

Sunday, August 29th, 2004

Does anyone know of a way to code a truly fluid, flexible two-column layout using CSS? Where the column widths are based on their contents, like you can easily get with tables? Or at least, where the column widths are based on the content of one of the columns?

You see, this is what […]

Full width tables using CSS?

Tuesday, August 10th, 2004

Has anybody found a way to make a table with a margin fill up all horizontal space (the same way a div does) using CSS and no extra markup?

Because of the way the box model is defined, using a width of 100% only works if the table has no margin, otherwise, the table is the […]

Styling file inputs

Tuesday, March 30th, 2004

I think it’s really annoying and stupid that you can’t style the Browse button on file input tags. It’s also annoying that you can’t set the value in a file input tag (for example, if there was an error on a form, it would be nice to redisplay the form with the value the […]

I love CSS

Wednesday, January 21st, 2004

I’ve become obsessed yet again with style sheets. Imagine a page of HTML that is almost as readable as the output you get in the browser. That’s what I’d like to aim for. Markup that’s so elegant and clean it makes adding new content a breeze. Not to mention making the presentation easy to change […]