使用jquery绘制背景方框,具体样式参考:[url]http://malsup.com/jquery/corner/[/url]
[img]http://dl2.iteye.com/upload/attachment/0092/8077/1950ec81-8708-309f-8e26-f83d49675e1f.png[/img]
[img]http://dl2.iteye.com/upload/attachment/0092/8077/1950ec81-8708-309f-8e26-f83d49675e1f.png[/img]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<script type="text/javascript" src="jquery-1.7.1.js"></script>
<script type="text/javascript" src="jquery.corner.js"></script>
</HEAD>
<BODY>
<div id="dynamic" style="background-color:#CCCCFF; width:150px; padding-top:20px; padding-bottom:20px; text-align:center">方框中的内容</div>
<script type="text/javascript">
$('#dynamic').corner("dog 12px");
</script>
</BODY>
</HTML>