From gary.stainburn at ringways.co.uk Thu Mar 1 11:25:31 2007 From: gary.stainburn at ringways.co.uk (Gary Stainburn) Date: Thu Mar 1 11:25:32 2007 Subject: [Wylug-help] Style problem. Message-ID: <200703011124.57892.gary.stainburn@ringways.co.uk> 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:

A heading

A paragraph

14 15
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 From Smylers at stripey.com Thu Mar 1 11:45:26 2007 From: Smylers at stripey.com (Smylers) Date: Thu Mar 1 11:45:27 2007 Subject: [Wylug-help] Style problem. In-Reply-To: <200703011124.57892.gary.stainburn@ringways.co.uk> References: <200703011124.57892.gary.stainburn@ringways.co.uk> Message-ID: <20070301114516.GC7071@stripey.com> Gary Stainburn writes: > 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? Yes. Because on the live page after: > td#day54 { color: #ffffff; background-color: #876811;} > td#day55 { color: #ffffff; background-color: #72bf44;} > You then have: #rostertable a { display: block; text-decoration: none; color: #000; } The text in your table cells is all links, so both rules match. Note that both that rule and the td#day54 ones match one ID and one element name, so they have the same specificity -- which means the latter rule is applied and the links turn black. If you change that to: color: #FFF then all links in the table will be white (and you can remove the text colour from each separate cell). If you want the link (text) colour to depend on the background colour then make the link text be: color: inherit; and it will use whatever is specified as the text colour for the cell as a whole. Smylers From qef at ungwe.org Thu Mar 1 12:00:40 2007 From: qef at ungwe.org (Geoff Richards) Date: Thu Mar 1 12:00:41 2007 Subject: [Wylug-help] Style problem. In-Reply-To: <200703011124.57892.gary.stainburn@ringways.co.uk> References: <200703011124.57892.gary.stainburn@ringways.co.uk> Message-ID: <20070301120022.GE26290@ungwe.org> On Thu, Mar 01, 2007 at 11:24:57AM +0000, Gary Stainburn wrote: > 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? > > ... > > padding: 0px 0px 0px 00px; Units don't matter when the value is zero, so that could be: padding: 0; > ... > td#day54 { color: #ffffff; background-color: #876811;} I think you need a more specific selector here, like "td#day54 a" or possibly event "td#day54 a:link". -- --- Geoff Richards -------------><-------------- http://ungwe.org/ --- "I tried to fling my shadow at the moon, The while my blood leapt with a wordless song." -- Theodore Roethke From gary.stainburn at ringways.co.uk Thu Mar 1 12:45:33 2007 From: gary.stainburn at ringways.co.uk (Gary Stainburn) Date: Thu Mar 1 12:45:34 2007 Subject: [Wylug-help] Style problem. In-Reply-To: <20070301114516.GC7071@stripey.com> References: <200703011124.57892.gary.stainburn@ringways.co.uk> <20070301114516.GC7071@stripey.com> Message-ID: <200703011245.03504.gary.stainburn@ringways.co.uk> On Thursday 01 March 2007 11:45, Smylers wrote: > Gary Stainburn writes: > > 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? > > Yes. Because on the live page after: > > td#day54 { color: #ffffff; background-color: #876811;} > > td#day55 { color: #ffffff; background-color: #72bf44;} > > > > You then have: > > #rostertable a > { > display: block; > text-decoration: none; > color: #000; > } > > The text in your table cells is all links, so both rules match. Note > that both that rule and the td#day54 ones match one ID and one element > name, so they have the same specificity -- which means the latter rule > is applied and the links turn black. > > If you change that to: > > color: #FFF > > then all links in the table will be white (and you can remove the text > colour from each separate cell). > > If you want the link (text) colour to depend on the background colour > then make the link text be: > > color: inherit; > > and it will use whatever is specified as the text colour for the cell as > a whole. > > Smylers Thanks to both of you for your replies. The 'color: inherit;' worked. Cheers 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 From john at bopa.co.uk Wed Mar 14 11:37:56 2007 From: john at bopa.co.uk (john@bopa.co.uk) Date: Wed Mar 14 11:37:57 2007 Subject: [Wylug-help] Virtual server providers in Bradford Message-ID: <200703141137.l2EBbV3C022706@microaa1.miniserver.com> Does abyone know of any virtual server providers in Bradford? From andy at nosignal.org Thu Mar 15 17:33:01 2007 From: andy at nosignal.org (Andy Davidson) Date: Thu Mar 15 17:33:02 2007 Subject: [Wylug-help] Virtual server providers in Bradford In-Reply-To: <200703141137.l2EBbV3C022706@microaa1.miniserver.com> References: <200703141137.l2EBbV3C022706@microaa1.miniserver.com> Message-ID: <3F8A2E23-D57E-4496-B18E-DFA3ED08721D@nosignal.org> On 14 Mar 2007, at 11:37, john@bopa.co.uk wrote: > Does abyone know of any virtual server providers in Bradford? You used to be able to colo a real server in Bradford at Legend, but these are now owned by Thus who may not be taking on new work in the old Bradford office. Energis in Leeds do real colo, but it might start at the full-rack service, and grow from there. Why a VM in Bradford ? Surely it just needs to be topologically close to your users ... a VM on a box in London will probably be better from someone like bytemark.co.uk (a Yorkshire based company). Failing that, asking off-list can get you a VM in Manchester. Cheers Andy