自己试了一下,这样就可以
<html xmlns= >
<head>
<meta http-equiv=Content-Type content=text/html; charset=utf-8 />
<title>无标题文档</title>
<style type=text/css>
<!--
.jiequ {display:block;width:180px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
-->
</style>
</head>
<body>
<ul>
<li class=jiequ>感谢您能帮助我解决这个问题这个问题我考虑好几天也在网上找了很多这方面的答案,但是还是没有完成最后想要的效果。如果你知道忘不吝赐教。</li>
</ul>
</body>
</html>
制作网页代码编写,浏览器兼容问题
<div class=main>
<div class=m_login>
<div style=width:写你那中间img的宽度 >
<p style=margin:0;><img src=images/Login_top.gif /></p> <!--顶边框-->
<div class=m_login2 >
<img src=images/Login_left.gif align=left/>
<div>
<span>会员名:</span><input id=username type=text/>
<span>密码:</span><input id=password type=text/>
<input type=submit class=login-out value=登 录 style=margin-top:20px; onmouseover=this.className='login-over' onmouseout=this.className='login-out' />
<input type=button class=login-register onclick=bClick()/>
</div>
<img src=images/Login_right.gif align=right/>
</div>
<p style=margin:0;><img src=images/Login_bottom.gif/></p><!--底边框-->
</div>
</div>
</div>
再加一层固定一下宽试试,代码如上。。。
- 上一篇: 求助。。电脑出现很多代码。很多字不能显示。只有代码
- 下一篇: 返回列表