6 replies [Last post]
Telstar
Offline
newbie
Last seen: 10 years 44 weeks ago
Timezone: GMT+1
Joined: 2010-07-03
Posts: 4
Points: 6

What've I done wrong...? See what's happening with my calendar here (I would C&P the source but it also has the entire php & javascript queries in it, so best if you check it out direct at site)

http://www.tuirennhurstfield.com/calendartrial.php

In IE8 the SUN & MON columns are replacing columns FRI & SAT and are pushing TUES-SAT down a level so they are below... This seems to only be happening in IE8, works fine in IE6, IE7, Safari and Firefox...

I purchased this script and the script worked fine in IE8 on the demo (see here: http://www.codecanyon.net/item/smooth-php-calendar-reloaded/full_screen_preview/105891 )

I've clearly edited something wrong in the CSS when I was making it work with the visual look of my site... But I'm not sure what I'm looking at, and the original developer has given me the sterling advice of "check your css", which given I did not edit any parameters only font size, type and colours I am now baffled...

If you can help at all please let me know...

I've attached the CSS file

Thanks!!!

AttachmentSize
css for tuirennhurstfieldcalendar.txt5.12 KB
Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 11 weeks 6 days ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Telstar wrote: What've I done

Telstar wrote:

What've I done wrong...?

A calendar is tabular content and should be marked up as a table, using the table tags.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Telstar
Offline
newbie
Last seen: 10 years 44 weeks ago
Timezone: GMT+1
Joined: 2010-07-03
Posts: 4
Points: 6

Yes I understand that but due

Yes I understand that but due to the php and JavaScript functions of this calendar (see my trial site) and the fact this code works fine in demo suggests there is something else wrong... It's not just a table calendar to my understanding... And the CSS was purchased as a complete code. As I originally said - all I've edited was the colours fonts and fontsizes so it must be something else...?

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 11 weeks 6 days ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Well, if that happened to me,

Well, if that happened to me, I'd just restore the original file. You keep backups, right? Smile

Personally, I wouldn't have bought a calendar add on the didn't use tabular markup for the table. Maybe you can get your money back?

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 11 weeks 6 days ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Also, I believe you ain't

Also, I believe you ain't allowed to have more than one STYLE element in an html page, as you seem to have. In any event the validator throws up errors for them, and if it's invalid html then there goes your cross browser compatability. CSS standards are not defined for invalid html tags. If you want to have several stylesheets you should be using the @import method in your main stylesheet.

Better still use the LINK tag to bring in your styleheets.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Telstar
Offline
newbie
Last seen: 10 years 44 weeks ago
Timezone: GMT+1
Joined: 2010-07-03
Posts: 4
Points: 6

Thanks Ed!

Got it working now! You were right about it being a clash of styles... Simple fix really using iframe for the time being.... Will look properly at the integrated codes soon Smile

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 11 weeks 6 days ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Telstar wrote: Simple fix

Telstar wrote:

Simple fix really using iframe for the time being

Oh. Yuck.

.... Will look properly at the integrated codes soon Smile

The longer you wait the harder it will be.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.