michael@0: #parent { michael@0: position: relative; michael@0: width: 400px; michael@0: height: 400px; michael@0: background: red; michael@0: border: 0 solid black; michael@0: } michael@0: #child { michael@0: position: absolute; michael@0: width: 100px; michael@0: left: 100px; michael@0: background: blue; michael@0: border: 0 solid black; michael@0: } michael@0: .floatTop { michael@0: width: 10px; michael@0: height: 10px; michael@0: background: green; michael@0: }