tables and css

Associate
Joined
5 Feb 2008
Posts
1,261
Hi all,
Right i have a month view calendar built in a table (tabular data i feel). now the client has asked for some tom foolery so that the calendar is rotated, days of week on the left, dates running top to bottom, so i had the idea to make the table, tr, td all display block and float left that way when you take css off you still get a normal calendar and (more importantly) i dont have to rewrite my calendar class... now my plan works in firefox but not in ie... any ideas.. look at the url below in both browsers to see what i mean

http://english.interoute.mwdev.co.uk/event/2008/10/19/month/all/all/1

any help would be much apperciated
 
Why don't you just lay the data that way rather then have the CSS jumble the data for you? I can't see why you laid the days along the top then forced them to the side using CSS, when you could easily have the data shown as you want without the need to move it via CSS.

Table headers don't have to run along the top...
 
honestly, im just being lazy and the client changed requirements half way through build so i was looking for a css way to use my orginal code.. also just thought.. it would look better if the calendar was the normal way round on print... but thats really secondary
 
getting it to work in firefox took a few mins as it is very basic css, ie just doesnt play ball so i thought i'd throw it out there in case someone has experienced the same issue.

as that doesnt seem to be the case i will add a new view method to my class. thanks for you help anyway
 
Back
Top Bottom