English 中文(简体)
div 和超支
原标题:divs and overflows
  • 时间:2012-05-07 15:38:36
  •  标签:
  • html
  • css

我的格局如下:

<div id="red">
   <div id="green">
       <div id="blue"></div>
       <div id="blue"></div>
   </div>
 </div>

页: 1

* 绿色:小组以下职位:

* 模糊:分组立场:绝对不!

为什么蓝色小组在绿色小组中过多? 我无意在蓝色小组中使用高温?

“entergraph

问题回答

包含<代码>的内容:绝对是从布局外提取的,因此不影响其他要素的地位。 因此,如果你有一箱内有一iv的集装箱,且内 d有<条码>沉积:绝对,其高空将通知母,而集装箱将充其空,除非你明确表示高度。

A side note: IDs must be unique, you can t have two elements with the same ID as you do with blue. Use classes instead.

你们可以制造高潮和高潮:藏身于绿色,藏匿任何儿童,包括蓝色儿童。 但是,蓝色有<代码>position:asolute <>/code> 财产允许他们过度放牧。 是否需要改动<代码> 的位置:如果你想要躲藏起来,除绝对立场外,还应改动。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签