<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <style type="text/css">*{ margin:0; padding:0; font-size:12px;} .box{ width:300px; height:300px; background:#FCC; position:relative} .drag{width:300px; height:30px; cursor:move; background:#000} .resize{width:15px; height:15px; cursor:se-resize; position:absolute; right:0; bottom:0; z-index:999}</style> </head> <body> <div class="box"><div class="drag"></div><div class="resize">拖</div><