AurielRene
02-26-2009, 02:02 PM
Hi, thanks for taking the time to read this. I'm new here and thought I'd post this question because the results I'm finding on Google aren't quite working for me.
So I am building a website that only uses CSS - not running any Javascript or PHP - and this website requires a calendar. I've assimilated and customized a CSS calendar but the problem I'm having is that I want to be able to make the information inside each day a clickable, hoverable, hyperlink. So far, I can get the text to show up as a link, but there's no change on hover and you can't click it. What's going on? How can I fix this?
Here's the page I'm working on:
https://www.fundamentalforce.net/portfolio/lifeforcearts/
None of the menu links go anywhere yet as I got stuck on the calendar. Here is the css for the page:
https://www.fundamentalforce.net/portfolio/lifeforcearts/style.css
and here's the code for the calendar:
/* weekly calendar */
#thisweek
{padding:0;
width: 62.5em; min-height: 300px;
z-index: -1;
position: relative;
margin-left: -15px;
margin-top: -15px;
font:1em Verdana, Arial, Helvetica, sans-serif;
background: url(calendar/images/xbg.jpg) top center no-repeat;}
#thisweek ol.calendar
{display:inline;
width:62.5em;margin:0 auto;display:block; min-height: 200px;
background: url(calendar/images/xcal-bg.png) top left repeat; padding: 0px 0 0 0px;}
#thisweek li
{list-style:none;}
#thisweek p.link
{text-align:center;display: block;}
#thisweek h1
{display: block; width: 100%;height:50px;
background:url(img/thisweek.png) bottom center no-repeat; margin: auto;
}
/* weekly calendar - day names */
li#names li {
width:7.5em;
height:1.5em;
float:left;
margin:.2em;
padding:.2em;
overflow:auto;
background: url(calendar/images/cal-bg.png) bottom right repeat;
color: #000000;
font-align: center;
font-variant: small-caps;
}
/* weekly calendar - day styles */
li li {
width:7.5em;
height:7.5em;
float:left;
margin:.2em;
padding:.2em;
overflow:auto;
background: url(calendar/images/day-bg.png) bottom right no-repeat;
}
/* weekly calendar - day styles */
li li p {font-size:.6em; display:block;}
li li ol {width:auto;}
li li ul li,
li li ol li {font-size:.6em; display:block; height:auto; width:auto; background: none; margin:0;padding:.2em 0; float:none;}
#li li ol li a
{display: block; color: #000000; text-decoration: none;}
#li li ol li a:hover, li:hover
{display: block; color: #983ac9;}
and the html for the calendar section:
<div id="thisweek">
<ol class="calendar" start="1">
<li id="names">
<ul>
<li>Sunday</li>
<li>Monday</li>
<li>Tuesday</li>
<li>Wednesday</li>
<li>Thursday</li>
<li>Friday</li>
<li>Saturday</li>
</ul>
</li>
<li id="thismonth">
<ul>
<li>22 <p><a href="#">Shamanic Training Program: Winter 2009</a><br><br>OTO Gnostic Mass</p></li>
<li>23 <p>Individual Sessions: Shamanic Soul Retrieval or Divination & Healing<br><br>
Chicago Astrology Meetup</li>
<li>24</li>
<li>25 <p>Introduction to Expressive Yoga Dance<sup>TM</sup></li>
<li>26 <p>Chicago Mythology Roundtable: A Monthly Exploration of Mythology</p></li>
<li>27</li>
<li>28 <p>Spontanea: spirit dance and sound healing concert</p></li>
</ul>
</li>
I need to implement this calendar on a different part of the site to display the entire month as well, so I'd like to get this figured out as neatly as possible...
Thank you for any help!
So I am building a website that only uses CSS - not running any Javascript or PHP - and this website requires a calendar. I've assimilated and customized a CSS calendar but the problem I'm having is that I want to be able to make the information inside each day a clickable, hoverable, hyperlink. So far, I can get the text to show up as a link, but there's no change on hover and you can't click it. What's going on? How can I fix this?
Here's the page I'm working on:
https://www.fundamentalforce.net/portfolio/lifeforcearts/
None of the menu links go anywhere yet as I got stuck on the calendar. Here is the css for the page:
https://www.fundamentalforce.net/portfolio/lifeforcearts/style.css
and here's the code for the calendar:
/* weekly calendar */
#thisweek
{padding:0;
width: 62.5em; min-height: 300px;
z-index: -1;
position: relative;
margin-left: -15px;
margin-top: -15px;
font:1em Verdana, Arial, Helvetica, sans-serif;
background: url(calendar/images/xbg.jpg) top center no-repeat;}
#thisweek ol.calendar
{display:inline;
width:62.5em;margin:0 auto;display:block; min-height: 200px;
background: url(calendar/images/xcal-bg.png) top left repeat; padding: 0px 0 0 0px;}
#thisweek li
{list-style:none;}
#thisweek p.link
{text-align:center;display: block;}
#thisweek h1
{display: block; width: 100%;height:50px;
background:url(img/thisweek.png) bottom center no-repeat; margin: auto;
}
/* weekly calendar - day names */
li#names li {
width:7.5em;
height:1.5em;
float:left;
margin:.2em;
padding:.2em;
overflow:auto;
background: url(calendar/images/cal-bg.png) bottom right repeat;
color: #000000;
font-align: center;
font-variant: small-caps;
}
/* weekly calendar - day styles */
li li {
width:7.5em;
height:7.5em;
float:left;
margin:.2em;
padding:.2em;
overflow:auto;
background: url(calendar/images/day-bg.png) bottom right no-repeat;
}
/* weekly calendar - day styles */
li li p {font-size:.6em; display:block;}
li li ol {width:auto;}
li li ul li,
li li ol li {font-size:.6em; display:block; height:auto; width:auto; background: none; margin:0;padding:.2em 0; float:none;}
#li li ol li a
{display: block; color: #000000; text-decoration: none;}
#li li ol li a:hover, li:hover
{display: block; color: #983ac9;}
and the html for the calendar section:
<div id="thisweek">
<ol class="calendar" start="1">
<li id="names">
<ul>
<li>Sunday</li>
<li>Monday</li>
<li>Tuesday</li>
<li>Wednesday</li>
<li>Thursday</li>
<li>Friday</li>
<li>Saturday</li>
</ul>
</li>
<li id="thismonth">
<ul>
<li>22 <p><a href="#">Shamanic Training Program: Winter 2009</a><br><br>OTO Gnostic Mass</p></li>
<li>23 <p>Individual Sessions: Shamanic Soul Retrieval or Divination & Healing<br><br>
Chicago Astrology Meetup</li>
<li>24</li>
<li>25 <p>Introduction to Expressive Yoga Dance<sup>TM</sup></li>
<li>26 <p>Chicago Mythology Roundtable: A Monthly Exploration of Mythology</p></li>
<li>27</li>
<li>28 <p>Spontanea: spirit dance and sound healing concert</p></li>
</ul>
</li>
I need to implement this calendar on a different part of the site to display the entire month as well, so I'd like to get this figured out as neatly as possible...
Thank you for any help!