Add customer cursor : cursor : Style Basics HTML CSS TUTORIALS


HTML CSS TUTORIALS » Style Basics » cursor »

 

Add customer cursor


 


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
    <head>
        <title>cursor</title>
        <style rel='stylesheet' type='text/css'>
div {
    width: 50px;
    height: 50px;
    border: 1px solid rgb(234234234);
    margin: 5px;
    cursor: url('custom_cursor.png'), default;
    background: mistyrose;
}        
        </style>
        <!--[if ie]>
            <style type='text/css'>
                div {
                    cursor: url('custom_cursor.cur'), default;
                }
            </style>
        <![endif]-->
    </head>
    <body>
        <div></div>
    </body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Style Basics
» cursor