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

Rudy_Limeback at maritimelife.ca Rudy_Limeback at maritimelife.ca
Fri Sep 8 13:43:55 CDT 2000

> "How would you place a 100x100 red square 
> in the top left corner of the page."

hi sam

thanks for sharing, hey, one question is better than none   ;o)

i love tests

are you going to offer comments if people post their answers?

   <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
   <html><head><title>100x100 red square</title></head>
   <img src="1pix_f00.gif" 
        alt="100x100 red square"
        width="100" height="100" 
        border="0" hspace="0" vspace="0">

> this should be approached as a real-life problem...
> caveats should be supplied...

stretching a one-pixel gif is an old hack, but it works better than css

you never said it had to touch the edge of the browser window, so i'm 
gonna go with the browser's default (non-zero) margins

do i get any marks for knowing that a page will not validate 4.01 
transitional without a title?


More information about the thelist mailing list