May 14, 2002

Winer CSS

Dave Winer is trying to learn how to replace <font> and <table> tags with CSS1 and 2. As a challenge he linked to this slide and asked how it could be done in CSS. Luckily, it was a pretty simple page so I was able to toss something together; you can see it here. Not only is it valid XHTML, but it separates the presentation from the content. There’s a few extra <div> tags breaking the site into chunks, but they take up far less room than the tables, fonts and blockquotes. And once the markup is divided up like that, you can write a stylesheet to do just about anything with it. I didn’t go the extra mile and create “the most beautiful CSS rendering you can conceive,” but I think I did a bang-up job of duplicating the look of the page.

Anything more complex than that, though, and I would have been sunk. I’m just dipping my toes into CSS positioning myself.

Filed under The Computer Vet Weblog

Comments (0)

Comments RSS - Write Comment

No comments yet

Write Comment