Home > Web Front-end > HTML Tutorial > 请教一下这个DIV怎么布局,谢谢解答_html/css_WEB-ITnose

请教一下这个DIV怎么布局,谢谢解答_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-21 09:36:30
Original
973 people have browsed it


回复讨论(解决方案)

<!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">#main {	background-color:#999;	border:1px solid #000;	width:500px;}#main div {	border:1px solid #000;	height:80px;	width:80px;	float:left;}#div1, #div3 {	margin-left:100px;}#div1, #div2 {	margin-top:50px;}</style></head><body><div id="main">	<div id="div1">DIV1</div>    <div id="div2">DIV2</div>    <br style="clear:both;" />    <div id="div3">DIV3</div>    <div id="div4">DIV4</div>    <br style="clear:both;" /></div></body></html>
Copy after login

为什么我看不见图片?

1楼是怎么看到图片的?求知识,求传送门!!!

图片上点右键->在新标签页中打开图像->F5刷新一下。

看不到图呀

建议LZ 买本书CSS+DIV 布局方面的书本看看。
三言两语说不完。

看不见图片。。。。。  建议自己找找网上的CSS视频看看吧!

没有图片,,,,,,,,,

楼主的图片防盗链了,所以看不到。

图片没显示呢?

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