Please forgive me for asking another 'How do I position my <div>' question.
My page is a .php file that creates a monthly calendar (7 days across, 5 or 6 rows down) on the fly by pulling records from a mySQL database, and creating the table rows and cells and filling the cell with the appropriate day number and any events for that day as it goes. The database includes a value for event duration. Single day events have a duration of 1 or 0 and just put text in the cell, but if the duration of the event is greater than 1 (e.g. 7 means a weeklong event), I want the event to cover the number of days equal to its duration (like a multiple day event does in Microsoft Outlook).
I want to use a div for the multi-day events. I tried having the php create the div when it encountered a multi-day event,but the div never shows up on the screen, regarless of whether I use absolute or relative positioning.
I also tried creating a string of text to create the div, storing that text to a variable, and then calling that variable in php code after the </table> tag of the calendar, but it just shows up at the bottom of the page and without any of the formatting I tried to give it.
I appreciate all suggestions.
My page is a .php file that creates a monthly calendar (7 days across, 5 or 6 rows down) on the fly by pulling records from a mySQL database, and creating the table rows and cells and filling the cell with the appropriate day number and any events for that day as it goes. The database includes a value for event duration. Single day events have a duration of 1 or 0 and just put text in the cell, but if the duration of the event is greater than 1 (e.g. 7 means a weeklong event), I want the event to cover the number of days equal to its duration (like a multiple day event does in Microsoft Outlook).
I want to use a div for the multi-day events. I tried having the php create the div when it encountered a multi-day event,but the div never shows up on the screen, regarless of whether I use absolute or relative positioning.
I also tried creating a string of text to create the div, storing that text to a variable, and then calling that variable in php code after the </table> tag of the calendar, but it just shows up at the bottom of the page and without any of the formatting I tried to give it.
I appreciate all suggestions.