Neil Turner's Blog

Blogging about technology and randomness since 2002

Entry 200!

Woohoo! 200 entries in 3 months :).
This is another CSS change; I’ve finally fixed the long-standing problem with IE making the calendar font too large, causing the sidebar to overlap onto the text. Note that this is an IE problem; Mozilla, which conforms to the CSS standards, does not have this problem.
The nerdy explanation is thus: In Mozilla, the font in the table is inherited from the div tag used for the sidebar, as it should be. In IE, the div tag is ignored and the font is inherited from the page body. Although this means it gets the font name right, it meant that the size was wrong.
Anyway, all tables should display using a smaller font in IE from now on.

3 Comments

  1. So what did you do to fix it then?

  2. Simple…
    TABLE{font-size:11px}
    …in the stylesheet.

  3. Blog: 200th Post

    I’ve just reached my 200th blog post – at a rate of 100posts every month.