      width:350px ;
            height:350px ;
            cursor:move ;
        }
    </style>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
</head>
<body>
<div id="test">
    <input type="button" onclick="change_border() ;" value="Step 1: Change Border First" /><br />
    <input type="button" onclick="change_size() ;