Hi there guys Im looking to make a calender in html that has all the months of the year and individual grids for each day, I was wondering if anyone knows how to do this?
Why do you want to do this? Are you unable to run PHP or ASP on your server? Frankly making a pure HTML calendar can be done but it is a tremendous pain in the butt and very prone to errors. If you absolutely must make it in HTML I'd recommend just using a &x% table and populating the data in that. But you'll hate yourself in the morning for doing it
I have to agree with mshore, if you're planning on making a calender with only HTML, you'll end up with a huge chunk of table code, don't know about errors but it'll definitely be a pain to make. Just think that if you keep it, next year you'll have to edit the whole thing again lol, use a PHP script I'm sure there are a lot of free PHP calender scripts out there.
I've written HTML calendars-- to be used by our coder as the "template" code. The calendars are still generated by script, as there are twelve calendar months per house (house rental site), and the owners of the houses have chosen whether particular days are available or not, and if so, which price class. It's a lot of HTML code. A lot. It can be done, though. If you do them in HTML, you will use a table because really, that's the only sensible element to use. So, you'll be using accessible, properly built tables-- with th, "headers" attribute, col and scope and all that good stuff. Which makes it even more code. So, what do you want these calendars to do? If they "do" anything other than sit there, they will have to be scripted anyway. It doesn't have to be in PHP, but it should be in some non-compiled language.
Using html calenders are pain for both, you and your visitors. But if you must have to make a pure html calender then you should use tables. Be sure to define tables precisely otherwise they may look spoiled in some browsers. Better use php for this you can find some free php calender making scripts on the net. Good luck Shugle