align hspace,vspace,做一个网页例子让我看一看! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><script type="text/javascript">function setSpace() { document.getElementById("compman").hspace="50" document.getElementById("compman").vspace="50" }</script></head><body><img id="compman" src="http://www.w3school.com.cn/i/eg_compman.gif" alt="Computerman" align="right" /><p>Some text. Some text. Some text. Some text.</p><input type="button" onclick="setSpace()" value="Set hspace and vspace"></body></html> /*public void doPost(HttpServletRequest request,HttpServletResponse * respond throws ServletException,IOEception{ * String user=request.getParameter("u"); * String pass=request.getParameter("p"); * * request.getSession().setAttribute("user",user); * * String path=""; * SeverletContext sc=this.getServletContext(); * ArrayList al=(ArrayList)sc.getAttribute("userList"); * if(al==null) * { * al=new ArrayList(); * al.add(user); * sc.setAttribute("userList",al); * path.="/zzzzz/index.jsp"; * * } * else * ) * * }请帮我再做一个在线考试系统项目的和我上面代码相对应的程序,我是说我在做这个项目,你帮助我朝着项目的方向,把我这个部分代码写成一个能实现项目相关功能的程序。谢谢了。 为什么从prototype.js在myeclipse里边是乱码呢?怎么处理这个问题呢? javascript调用asp页面时出错 新浪微博jssdk登陆问题 其它浏览器中的一些js问题 如何在XSLT中调用JS 表单提交时的新问题! 请教阿信xtree加载失败的问题?急!! 如何动态使一个元件不可见 JavaScript 在一个web页中如何使用两media player个呀? 要是画面有err的话,怎样用jquery来显示err message? 哪些大虾能帮忙分析下下面题目如何实现,先谢谢了~~
<head>
<script type="text/javascript">
function setSpace()
{
document.getElementById("compman").hspace="50"
document.getElementById("compman").vspace="50"
}
</script>
</head>
<body><img id="compman" src="http://www.w3school.com.cn/i/eg_compman.gif" alt="Computerman" align="right" />
<p>Some text. Some text. Some text. Some text.</p>
<input type="button" onclick="setSpace()" value="Set hspace and vspace"></body>
</html>
* respond throws ServletException,IOEception{
* String user=request.getParameter("u");
* String pass=request.getParameter("p");
*
* request.getSession().setAttribute("user",user);
*
* String path="";
* SeverletContext sc=this.getServletContext();
* ArrayList al=(ArrayList)sc.getAttribute("userList");
* if(al==null)
* {
* al=new ArrayList();
* al.add(user);
* sc.setAttribute("userList",al);
* path.="/zzzzz/index.jsp";
*
* }
* else
* )
*
* }请帮我再做一个在线考试系统项目的和我上面代码相对应的程序,我是说我在做这个项目,
你帮助我朝着项目的方向,把我这个部分代码写成一个能实现项目相关功能的程序。谢谢了。