W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2007

CSS errors when setting values with asp session variables

From: Roger Withnell <roger@upperbridge.co.uk>
Date: Sat, 13 Jan 2007 19:24:50 -0000
To: <www-validator-css@w3.org>
Message-ID: <000e01c73748$7eef8d70$0902a8c0@ROGER>
Within style tags in a page, I am setting properties with asp session
variables, for example: body{background:" & Session("RGB") & "}


With the CSS validator this gives the error:  body:  Invalid number
background parse error.


If I change the session variables to constants, (for example:
body{background: #FFFFCC}) there are no errors.


The source code with session variables and with constants are exactly the


Please advise.


Yours sincerely


Roger Withnell

Upper Bridge Enterprises LLP 

+44 1497 831019

+44 7836 749633


--------------------- End of message text

Upper Bridge Enterprises LLP, Partnership No. OC323844.
Registered office address Upper Bridge Court, Brilley, Herefordshire HR3 6HG
This email and any attachment is intended for and confidential to the 
addressee.  If you are neither the addressee nor an authorised recipient 
for the addressee please notify us of receipt, delete this message from 
your system and do not use, copy or disseminate the information in, or 
attached to it, in any way. 
Our messages are checked for viruses but please note that we do not accept 
liability for any viruses which may be transmitted in or with this message. 

Received on Monday, 15 January 2007 04:03:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:43 UTC