I am left with SO many questions after seeing that code I don't know where to begin -- took me a good few minutes to turn that CSS into something legible, but when I did... whew...
...and of course that it's all just a gallery for some lightbox style effect (or as I like to call it, "JUST LET ME OPEN THE FRAGGING IMAGE!!!")
I can't say I'm real surprised you're looking at rendering errors. With 130 validation errors in only 217 lines of code you do not have HTML, you have gibberish; that the page renders remotely resembling whatever it is you are trying to do is more a testament to the error correction of the various browsers than it is the code you are using.
I'd have to see the actual images being used in this test layout -- hence a live copy would help greatly, but whatever it is you are trying to do I'm pretty sure you need to throw this all away and start over clean.