Tails
07-07-2004, 04:35 AM
In a game I made at http://xfox.digibase.ca/games/lights, an image is inserted into the innerHTML of a div when the user wins. All <div> tags use margin:auto as well as text-align:center. Images are inline, so text-align should work (and in every other case in which I tried to reproduce this error, it works fine). This problem happens in Mozilla (works in IE but they treat text-align the same as margin and don't recognize margin). I'm not sure if this is a bug or not (I would have submitted it as a bug if I could figure out exactly what went wrong).
The source of the page is a bit cryptic since I used javascript to write the pattern rather than hard code the entire thing. Mozilla's DOM Inspector can show the DOM structure in real time (the page validates as XHTML 1.1 and is well formed). I guess I'll have to reveal a simple solution to walk you to the win screen. Follow the image index (or see status bar) to click the images in any order prior to scrambling:
1, 2, 13, 14, 0, 4, 8, 15, 7, 11
Is there something that slipped by me? Or is this simply a Mozilla bug?
The source of the page is a bit cryptic since I used javascript to write the pattern rather than hard code the entire thing. Mozilla's DOM Inspector can show the DOM structure in real time (the page validates as XHTML 1.1 and is well formed). I guess I'll have to reveal a simple solution to walk you to the win screen. Follow the image index (or see status bar) to click the images in any order prior to scrambling:
1, 2, 13, 14, 0, 4, 8, 15, 7, 11
Is there something that slipped by me? Or is this simply a Mozilla bug?