Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
css problem in a calendar
Old 10-04-2005, 08:58 AM css problem in a calendar
Experienced Talker

Posts: 31
Trades: 0
Hi,

the calendar is here http://www.rondinellabasket.com/index.php (right column).

The today cell has a red background and the event day (see number 1) is in bold.

I'd like to have the opposite.

Here's the code of the script:
http://www.rondinellabasket.com/codice.phps

Last edited by agu12; 10-04-2005 at 09:12 AM..
agu12 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-04-2005, 09:43 AM
Experienced Talker

Posts: 31
Trades: 0
solved thanks
agu12 is offline
Reply With Quote
View Public Profile
 
Old 10-04-2005, 09:45 AM
odditysoftware's Avatar
Extreme Talker

Posts: 194
Trades: 0
add this style:

.event2 {

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 10px;

font-style: normal;

line-height: normal;

font-weight: normal;

font-variant: normal;

text-transform: none;

text-decoration: none;

cursor: default;

vertical-align: middle;

text-align: center;

color: $numberTextColor;

background-color: red;

}

and change this line:

echo "<TD onMouseOver=\"this.className='sel'\" onMouseOut=\"this.className='event'\" class=\"event\"><A class=\"A\" HREF=\"javascript:event('$path?act=event&date=" . $key[1] . "')\">$date[2]</A></TD>\n";

to this:

echo "<TD onMouseOver=\"this.className='sel'\" onMouseOut=\"this.className='event2'\" class=\"event2\"><A class=\"A\" HREF=\"javascript:event('$path?act=event&date=" . $key[1] . "')\">$date[2]</A></TD>\n";
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
odditysoftware is offline
Reply With Quote
View Public Profile
 
Old 10-04-2005, 09:45 AM
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
n/m
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 10-04-2005, 09:48 AM
Experienced Talker

Posts: 31
Trades: 0
Quote:
Originally Posted by odditysoftware
add this style:

.event2 {

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 10px;

font-style: normal;

line-height: normal;

font-weight: normal;

font-variant: normal;

text-transform: none;

text-decoration: none;

cursor: default;

vertical-align: middle;

text-align: center;

color: $numberTextColor;

background-color: red;

}

and change this line:

echo "<TD onMouseOver=\"this.className='sel'\" onMouseOut=\"this.className='event'\" class=\"event\"><A class=\"A\" HREF=\"javascript:event('$path?act=event&date=" . $key[1] . "')\">$date[2]</A></TD>\n";

to this:

echo "<TD onMouseOver=\"this.className='sel'\" onMouseOut=\"this.className='event2'\" class=\"event2\"><A class=\"A\" HREF=\"javascript:event('$path?act=event&date=" . $key[1] . "')\">$date[2]</A></TD>\n";

thank u odditysoftware for your help
agu12 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to css problem in a calendar
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.77978 seconds with 12 queries