Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Oct 2007
    Posts
    241
    Member #
    15910
    echo "<td width=100> $aa[0] $aa[1] $aa[2] $aa[3] <span style=\"vertical-align:bottom; text-align:right;\">$day_num</span> </td>";

    In a table cell like above, I want to show $aa[] items at the top of the cell under each other, which is ok...But I want to show $day_num at the bottom of that same table cell. I tried the code above but it doesnt work....
    I also tried to put $day_num in a <div> such as <div class='day_num'>$day_num</div>
    and in css, i say vertical-align:bottom; for that .day_num division....That doesnt work either...
    In other words, how can you align different items in a single table cell. By the way I do not want to introduce another table in that cell because it creates problems.
    Please help...

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    It would be nice to see exactly what you're trying to do.

    I'm sort of thinking you might want to create an actual image to use instead.
    Like this: http://www.catpin.com/calendar

    Using PHP/GD to generate an image that can be placed with <img src ...>


  4. #3
    Senior Member
    Join Date
    Oct 2007
    Posts
    241
    Member #
    15910
    this is a table cell, which is one day in a calendar...if an $aa[] element is there as not null, it will display the title of that event in that day. BUT I want to display the day number at the bottom right corner of that table cell, that's all...the $aa elements are displaying at the left starting from top....which is fine...

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    oh, I get it now ...

    one example I found ...
    http://www.thatvoodooyoudo.com/css/p...-bottom-right/


  6. #5
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    mlseim's link is right on. The way to go is to position it absolutely to the bottom right within the table cell.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:37 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com