rfreshour
Programmer
- Jan 22, 2008
- 11
I get the following warning but I don't understand what I need to do to correct it:
Warning: Expected color but found 'raised'. Expected color but found 'raised'. Expected end of value for property but found 'raised'. Error in parsing value for property 'border'. Declaration dropped.
This is the code which is in my PHP form script:
<script language="JavaScript">
var DP_Check_Status_On_Date = new DatePicker("hdn_Check_Status_On_Date", "mySQL1","1","","100",false,true,"EN");
DP_Check_Status_On_Date.setCSSAttribute(CSS_TITLE,'font:12px Arial, Arial, Helvetica, sans-serif; text-decoration:none; color: #000000;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_DATE_TEXT,'font:12px Arial, Helvetica, sans-serif; text-decoration:none; color: #000000;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_DISPLAY_AREA,'font: normal 14px Arial; color:#000000; border:none; background-color:#DBDBDB;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_MOUSEOVER,'background: #FF8000');
DP_Check_Status_On_Date.setCSSAttribute(CSS_MOUSESELECT,'background: #C0C0C0');
DP_Check_Status_On_Date.Instantiate();
</script>
Warning: Expected color but found 'raised'. Expected color but found 'raised'. Expected end of value for property but found 'raised'. Error in parsing value for property 'border'. Declaration dropped.
This is the code which is in my PHP form script:
<script language="JavaScript">
var DP_Check_Status_On_Date = new DatePicker("hdn_Check_Status_On_Date", "mySQL1","1","","100",false,true,"EN");
DP_Check_Status_On_Date.setCSSAttribute(CSS_TITLE,'font:12px Arial, Arial, Helvetica, sans-serif; text-decoration:none; color: #000000;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_DATE_TEXT,'font:12px Arial, Helvetica, sans-serif; text-decoration:none; color: #000000;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_DISPLAY_AREA,'font: normal 14px Arial; color:#000000; border:none; background-color:#DBDBDB;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_MOUSEOVER,'background: #FF8000');
DP_Check_Status_On_Date.setCSSAttribute(CSS_MOUSESELECT,'background: #C0C0C0');
DP_Check_Status_On_Date.Instantiate();
</script>