Mostly practical advices

Posts Tagged ‘style’

CSS hacks and filters

Saturday, October 14th, 2006

In an ideal world, properly coded CSS would work in every browser with CSS support. Unfortunately, we do not live in an ideal world, and browsers are littered with bugs and inconsistencies. To create pages that displayed the same across a variety of browsers, CSS developers had to get creative. By using bugs and unimplemented [...]

  • CSS
  • Oct 14th, 2006
  • 0

Modular CSS

Wednesday, July 5th, 2006

This isn’t a new idea but looking at people’s code it doesn’t seem to be a particularly widely used practice: modular CSS. That’s a poncy name for the very simple idea of grouping related styles into separate stylesheets. The same set of tasks turn up on project after project and a little careful thought can [...]

  • CSS
  • Jul 5th, 2006
  • 0

Semantics, HTML, XHTML, and Structure

Monday, June 19th, 2006

Good HTML structure is based on logic, order, and using semantically correct markup. If you have a heading use the heading element, beginning with the H1 element. If you have a paragraph, use a paragraph element. If you have a list, use a list item element. If you’re quoting a few lines, use a blockquote [...]