This page is valid HTML 4.01 Transitional.
In Firefox, the 2 divisions are positioned correctly: Horizontally beside one-another. In IE, the 2nd division is positioned at the correct position on the X axis, but too far down on the Y axis.
Both of these divisions are clearly labelled via CSS to be at absolute positions and 125px down from the top of the page.
What really confuses me is why one is correct and the other is not. (I considered the Div tag not closing properly, but then Firefox would be doing the same thing... and the Div tag wouldn't be closed).
Has anybody bumped into similar problems and know why it happens?... or can you spot where I typoed?
(I do realize that FF is rather forgiving, so I'm willing to accept that IE isn't totally wrong here).
The following is the PHP code:
I like my PHP slow and tidy and my HTML heroically unreadable. (Which is why I'm giving you the PHP instead of the HTML).
Actually, that PHP will be fixed to not be stupid when I am finished.
And, a screenshot:

(OT: How do you like my custom Try Firefox button, which fixes the odd pushiness implied by "Get Firefox!"?
Isn't it hilarious how Firefox's Windows XP buttons look better than IE's Windows XP buttons... and that I can make buttons that look better than those messes that IE has created, by myself, without any budget? It appears to have, instead of creating a proper scaled button gadget, created a smaller button gadget and then scaled it up via some disgusting workaround).
I am running this on a local test server right now, but if it turns out to be one of those more troublesome web design blunders, I'd like to know how Opera treats this :)
Thanks in advance!
In Firefox, the 2 divisions are positioned correctly: Horizontally beside one-another. In IE, the 2nd division is positioned at the correct position on the X axis, but too far down on the Y axis.
Both of these divisions are clearly labelled via CSS to be at absolute positions and 125px down from the top of the page.
What really confuses me is why one is correct and the other is not. (I considered the Div tag not closing properly, but then Firefox would be doing the same thing... and the Div tag wouldn't be closed).
Has anybody bumped into similar problems and know why it happens?... or can you spot where I typoed?
(I do realize that FF is rather forgiving, so I'm willing to accept that IE isn't totally wrong here).
The following is the PHP code:
//Side panel (Left) - Panel to change current action echo('<div style="position: absolute; width: 300px; height: 200px; z-index: 3; left: 10px; top: 125px;" id="actionlist">'); echo('<b>What do you want to do?</b>'); echo('<br><input type="submit" onClick="FormSubmit(this)" value="Add Content" name="oppageadd" style="width: 200px; height: 30px">'); echo('<br><input type="submit" onClick="FormSubmit(this)" value="Manage Content" name="oppageedit" style="width: 200px; height: 30px">'); echo('<br><input type="submit" onClick="FormSubmit(this)" value="Upload a File" name="opfileupload" style="width: 200px; height: 30px">'); echo('<br><input type="submit" onClick="FormSubmit(this)" value="Manage Files" name="opfilemanage" style="width: 200px; height: 30px">'); echo('</div>'); //Side Panel (Right) - Panel for current action echo('<div style="position: absolute; width: 450px; height: 200px; z-index: 3; left: 310px; top: 125px;" id="content">'); if($content1=='pageadd') { pageadd(); }elseif($content1=='pageedit'){ pageedit(); }elseif($content1=='filemanage'){ filemanage(); }elseif($content1=='fileupload'){ fileupload(); } echo('</div>');And yes, I know it's stupid to be using Echo 6 times in a row.
I like my PHP slow and tidy and my HTML heroically unreadable. (Which is why I'm giving you the PHP instead of the HTML).
Actually, that PHP will be fixed to not be stupid when I am finished.
And, a screenshot:

(OT: How do you like my custom Try Firefox button, which fixes the odd pushiness implied by "Get Firefox!"?
Isn't it hilarious how Firefox's Windows XP buttons look better than IE's Windows XP buttons... and that I can make buttons that look better than those messes that IE has created, by myself, without any budget? It appears to have, instead of creating a proper scaled button gadget, created a smaller button gadget and then scaled it up via some disgusting workaround).
I am running this on a local test server right now, but if it turns out to be one of those more troublesome web design blunders, I'd like to know how Opera treats this :)
Thanks in advance!