Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.