View Full Version : Need Help: Image to Browser Project

05-20-2005, 06:10 AM
Here's the original plans:

The image to browser project, while sounding simple, is anything but. It will require a lot of hours of coding the nearly identical tags over and over again, a countless numer of times (if you want to get technicalÖ480,000 times). Iíll be surprised if I have fingers left when Iím done.

So, whatís plan, you ask. Simple (or sounds it). I have an 800◊600 resolution image of my good friend Skuldís brand new SuSe desktop. The plan is to use 480,000 HTML div tags and 480,000 HTML style attributes (using only the width, height, and background-color styles) to recreate that image on a webpage, without using HTMLís img tag.

Now the tools. Iím going to use a great open source everything editor called Notepad++, Fireworks MX 2004 to pull the hex for the color I need to code next, and last but not least, Firefox to monitor my progress.

The task seems daunting yes, but in the end, I think it will be an acheivement of what a little time and hardwork can do.

Okay, so I got around to start and I when I coded the first seven or so tags, they were vertical. I've messed around with them before and if I recall correctly, the only way to get the to go horizontal is through floating, but you can't float 800 times (at least I don't think you can), so I was wondering if anyone knew a better way to do this.

I know this sounds really crazy, but I'm wanting to do this and I know it's possible, it will just take a lot of hard work and effort.

If anyone has a suggestion, I'd appreciate it.

As for the pic:


That's the link.

Thanks again to anyone who can help! :D

05-20-2005, 06:39 AM
lol what exactly is the point of this project? You could use absolute positioning I guess, but who says you can't float 800 times? that would mean each div would be like 1px in width.

05-20-2005, 06:53 AM
Erm...there really isn't a point...I just want to do it. :p

And I have no idea what absolute postioning is. :p

05-20-2005, 07:00 AM
Looks like you need to learn CSS, you could use a table if you wanted to i guess.

<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.01 transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#absolutely1 {
border:1px solid #000000;
#absolutely2 {
border:1px solid #000000;

<div id="absolutely1"></div>
<div id="absolutely2"></div>

05-20-2005, 08:02 AM
Thanks! I'll try that and get back to you. :p