Markup

Introduction

Some code just needs to be reviewed "by hand", because there are no testing tools for this. It can be the markup is symantically not correct or old style markups are used.

Outcome

  • For images with captions the construction dl, dt and dd is used. Semantically this is absolutely not correct.
  • For images without captions the construction ul and li is used. Acccording to Bert Bos of the W3C CSS working group, this should not be done. Just use div's.
  • Clearer div's are used, like 'csc-textpic-clear' to clear the floats in text with image. This is old style markup which can also break the floating of a whole site. 'overflow: hidden' on the outer element is sufficient, which only clears the floats within that element