QUERY: handling CSS/JS errors.... - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

QUERY: handling CSS/JS errors....

dhruba.bandopadhruba.bandopa Posts: 28Member
In both IE & Firefox I am getting a lot of:

- Error in parsing value for property 'cursor'.
- Error in parsing value for property 'top'.
- Error in parsing value for property 'display'.

in CSS & HTML files. Here are some snippets of code I use:


img.menuButton
{
cursor: hand;
}

.Freezing
{
top: expression(-2 + this.offsetParent.scrollTop);
}


203085



I also get window.event has no properties:

when I use it for window.event.srcElement.dragDrop();

Can someone help me clear up these errors please.

Comments

  • zibadianzibadian Posts: 6,349Member
    : In both IE & Firefox I am getting a lot of:
    :
    : - Error in parsing value for property 'cursor'.
    : - Error in parsing value for property 'top'.
    : - Error in parsing value for property 'display'.
    :
    : in CSS & HTML files. Here are some snippets of code I use:
    :
    :
    : img.menuButton
    : {
    : cursor: hand;
    : }
    :
    : .Freezing
    : {
    : top: expression(-2 + this.offsetParent.scrollTop);
    : }
    :
    :
    :
    203085

    :
    :
    : I also get window.event has no properties:
    :
    : when I use it for window.event.srcElement.dragDrop();
    :
    : Can someone help me clear up these errors please.
    :
    Hand isn't one of the recognizable constants in CSS (see http://www.w3schools.com/css/pr_class_cursor.asp)
    I cannot find the key-word "expression" anywhere in the W3-specification for the CSS. Where did you come by it?
    All CSS-variables ought to have a value. Thus "display:" isn't a valid CSS statement.
Sign In or Register to comment.