Home  >  Article  >  Web Front-end  >  Can anyone help me make a div? After working on it for a long time, I really can’t do it_html/css_WEB-ITnose

Can anyone help me make a div? After working on it for a long time, I really can’t do it_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:23:321011browse

div HTML

Who can help me make a div? After working on it for a long time, I really can’t do it
  

Reply to the discussion (solution)

Just change it accordingly

<!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><style type="text/css">#content_list{float:left;padding:0;width:680px;}.editorwrap,.thread-replay p{float:left;width:680px;padding:8px 0;display: block;margin:2px 0;}.editorwrap label,.thread-replay p label{color: #333;display: block;float: left;font-size: 1.083em;margin-right: 10px;text-align: right;width: 100px;}.thread-replay input{display: block;float:left;}.thread-replay strong{height:40px;line-height: 40px;text-indent: 10px;background: none repeat scroll 0 0 #005CA1;width:100%;float:left;color:#fff;}</style></head><body>		<div id="content_list" class="thread-replay">			<form method="POST" id="thread_publish">			    <p>				<label for="title">帖子标题</label>				<input type="text" name="title" class="w500" maxlength="50" />			    </p>			    <div class="editorwrap">				<label for="content">内容</label>				<div id="editorBox">										<textarea cols="auto" rows="3" name="content" id="content"></textarea>				</div>			    </div>			    <p>				<label for="keywords">关键词</label>				<input type="text" name="keywords" class="w500" maxlength="50" />			    </p>			    <p>				<label for="content">验证码</label>				<input type="text" name="captcha" class="w500" maxlength="50" />			    </p>			    <p class="chbox-agreement">				<input type="submit" value="我要发布" accesskey="s" id="Submit" onclick="return form_submit()"/>			    </p>			</form>		</div></body></html>

You It’s useful to make a table
but I don’t know how to learn it, otherwise I will never know

! ! ! I'm really not familiar with html and can't do it.

! ! ! I'm really not familiar with html and can't do it. Java programmers don’t know html?

This kind of form uses table

html is much simpler than java

Statement:
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