/    Sign up×
Community /Pin to ProfileBookmark

CSS Issue on Chrome/FF but works fine on IE

Title says it all. I’m working on a calendar based on a tutorial online, and I have it working beautifully on IE but it doesn’t want to look right on Firefox or Chrome. Any suggestions? I haven’t done a lot with CSS so it’s probably just something simple.

[url]http://marchingrebels.org/Testing/Calendar2.php[/url]

Thank you!

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@FangAug 18.2010 — Your link does not work
Copy linkTweet thisAlerts:
@lynsey93authorAug 18.2010 — Oh sorry, it's just Calendar not 2.
Copy linkTweet thisAlerts:
@KacheetoAug 18.2010 — Your problem lies with the fact that table data doesn't/shouldn't support position:relative property within FF or Chrome...

Your only solution is inside all your <td>*calendar data*</td> tags add a <div style="position:relative;">*calendar data*</div> to wrap the data inside each table data.

So sample is:

[CODE]<td class="calendar-day"><div class="day-number">15</div><p>&nbsp;</p><p>&nbsp;</p></td>[/CODE]

make it:

[CODE]<td class="calendar-day"><div style="position:relative;"><div class="day-number">15</div><p>&nbsp;</p><p>&nbsp;</p></div></td>[/CODE]

Granted your styles break a little but this should get you on the right track.
Copy linkTweet thisAlerts:
@lynsey93authorAug 19.2010 — Thank you, that fixed the numbers. There is still the problem that the days are smaller in chrome than in IE for some reason. It looks right in IE.
×

Success!

Help @lynsey93 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...