Please help with Web Calendar :

User 114573 Photo


Registered User
2 posts

I purchased the software yesterday and hoping to slam dunk a calendar in a website I am working on.

I am trying to center my calendar and I am getting more confused reading the forum threads.

I need to center the calendar in a table that sits in the middle of the page that sits in the middle of the browser window. I know confusing!

When I copy and paste the calendar code into the right locations, it moves my entire page content to the left. That throws the consistency of my site out the window and it's a main page too.

Is there a simple fix for this (please say yes)?

One last question.

In previewing in "Chrome" or "Opera" the calendar doesn't view in the browser even with the <html lang="en"> being set. I hate to tell surfers what viewer they have to use, especially now that "Chrome" is being more popular and who really cares about "Opera".

I have attached a image that hopefully clears up the confusing eye-candy part above.

Thanks for your help on this in advance and Happy Holidays

Andy Williams
Sleep is overrated!
User 187934 Photo


Senior Advisor
20,244 posts

Try this.:)
http://www.coffeecup.com/forums/web-cal … post200602
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 114573 Photo


Registered User
2 posts

Eric,
I gave that a try and it shifts the calendar over by 400, but doesn't fix the main page being set at 0,0 and centered in the browser window.
I did a little trial and error and found in the "monthstyles.css" the first line in the .css that doesn't have a line name, positions everything at 0,0. When I removed this line everything was able to float in the table I needed it in and the main page also centers in the browsers.
To accommodate for the new location in the table I adjusted the "#cc_calendar thead tr#headertop" from 70px to 30px height so the events are below the dates.
I don't know if this is how everyone else would do it, but it worked for me and I now have a starting point to fine tune it. Thanks for pointing me in the right direction and getting the problem solving gears moving.
Thanks again
Sleep is overrated!
User 187934 Photo


Senior Advisor
20,244 posts

Your welcome, Have fun with your new discovery.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.