Results 1 to 4 of 4

Thread: Calendar styling

  1. #1
    User
    Join Date
    08-04-09.
    Posts
    230

    Default Calendar styling

    Well... my table styling is not as good as I'd like it to be.

    My calendar looks pretty neat. Except for the header which includes the date.
    for some reason it is 'floating' in the middle of the cell. I want it in the top, but I can't seem to do it.

    http://www.pukt.nl/fokvereniging/index.php/agenda.html

  2. #2
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: Calendar styling

    Have you tried:

    td.days {
    vertical-align: top;
    }
    Brian

  3. #3
    User
    Join Date
    08-04-09.
    Posts
    230

    Default Re: Calendar styling

    I did, I thought...

    But it works indeed! Thank you so much

  4. #4
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: Calendar styling

    Maybe you applied the style to the headers themselves instead of the TD's they were in -- that's a common error because it seems like that's how it should be done.

    Unfortunately, vertical-align only works with TDs (or items styled to be TDs -- but that's a long story). As much as I would love to have a DIV that vertically centers it's contents (without hacking things up), no dice...
    Brian

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •