[Wylug-help] Style problem.

Gary Stainburn gary.stainburn at ringways.co.uk
Thu Mar 1 11:25:31 GMT 2007


Hi Folks.

The code below does exactly what I want it to do. It displays a green box and 
a brown box, both with white writing in.

However, when I try to do this on the page I need it for, I always black 
writing. Does anyone have any clues why?

Code that works:

<html>
<head>
<style>
table#rostertable
	{
	font-size: 90%;
	border-collapse: collapse;
	border: 1px solid gray;
	padding: 0px 0px 0px 00px;
	margin: 0;
	text-align: center;
}

#rostertable td
	{
	width: 15px;
	height: 20px;
	margin: 0;
	padding: 0px;
	text-align: center;
}
td#day54 { color: #ffffff; background-color: #876811;}
td#day55 { color: #ffffff; background-color: #72bf44;}
td#day56 { color: #ffffff; background-color: #ed1c24;}
td#day57 { color: #ffffff; background-color: #f7921e;}
td#day58 { color: #ffffff; background-color: #c6168d;}
td#day59 { color: #ffffff; background-color: #6c6060;}
td#day60 { color: #ffffff; background-color: #00aeef;}
</style>
<body>
<h1 style="font-family:verdana">A heading</h1>
<p style="font-family:courier">A paragraph</p>
<table id="rostertable"><tr>
  <td id="day55">14</td>
  <td id="day54">15</td>
</tr></table>
</body>
</html>

The code that doesn't work is PHP generated and hidden behind an 
authentication system. However I've saved a static copy at :

http://www.nymr.org.uk/testing/mdates.html

The CSS is at http://www.nymr.org.uk/nymr.css

Gary
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



More information about the Wylug-help mailing list