Test Pattern Reworked

Apr 9
testpattern.jpg

The SMPTE test pattern was reworked last night. It’s lost a couple lines of code and works in every browser known to man!

Previously, I had each row sliced into bars equally, I had to shave off a tiny bit so IE could render the page, if i had them all equal 100% IE would try to make the last one wrap. This left a tiny white line at the right side of the screen. That always annoyed me.

Last night I realized that I didn’t need the last slice, and I could just colour the row behind the bars, and float the bars left. So simple! It even removes a couple lines of code.

The white bar is gone, and the page renders perfectly in the 44 browsers I tested it in. Take a look! If only i could find a way to reproduce the 1000khx tone…

Feel free to steal the test pattern and use it on your own site, Just credit me in the code.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.