Home > Web Front-end > HTML Tutorial > input 文本框样式问题_html/css_WEB-ITnose

input 文本框样式问题_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:41:43
Original
1072 people have browsed it

本帖最后由 net_08 于 2013-03-06 10:32:49 编辑

首先我描述一下我的问题。input 文本框在一个 table 的 td容器里面 table有四个td每个td宽度都设置了25%,然后input宽度100% ,这下问题出现了,当文本框里面的值超过文本框的宽度时,会撑开文本框的宽度
<table style="100%">  <tr>    <td style="width:25%"><input type="text" style="width:100%"/></td>    <td style="width:25%"></td>    <td style="width:25%"></td>    <td style="width:25%"></td>  </tr></table>
Copy after login


这样能用什么样式控制吗?

回复讨论(解决方案)

试了下没有啊

无有问题,这儿是你发帖时写错了还是?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template