[thelist] RE: HTML test (tip): The other side.

Jay Turley jay at weberrific.org
Fri Sep 8 13:11:17 CDT 2000

> "How would you place a 100x100 red square in the top left 
> corner of the
> page."
> (this comes in the context of a bunch of css questions).

Using CSS:

<div style="position: absolute; left:0px; top:0px; width:100px; 
height:100px; clip:rect(0px 100px 100px 0px); background-color:#FF0000; 
layer-background-color:#FF0000; visibility:visible;"></div>

Could I write that off the top of my head? Uh... no...

- Jay Turley ---------------------------------------------------------
 "Any sufficiently advanced magic is indistinguishable from technology"

More information about the thelist mailing list