OK I have fixed my border problem
I also found another problem, that is with the fact that XHTML strict 1.0 dosn't allow IFRAMES so, instead u have to use the mighty <object> tag.
IE7 has a bug that won't let it use the parent object when a page is in an <object> tag :-(
So after allot of muttering four lettered words directed at a certain computer company, I have got a solution to both my probs: -
<!-- GUESS WHAT: IE DOSN'T HAVE GOOD ENOUGH SUPPORT FOR THE OBJECT TAG TO REPLACE IFRAME TAGS :-(
SO WE HAVE TO USE THIS MICROSOFTY STYLE HACK TO GET IT WORKING WITH A
NON-STANDARD IFRAME, AND YES THE FRAMEBORDER IS NEEDED FOR IE7 COMPATIBILITY! -->
<!--[if IE]><iframe id="frameUpload" src="upload.php?uploadTo=download&r=<? echo rand() ?>" style="height:70px; width:70px" frameborder="0">
<!-- NOW THE CORRECT WAY OF DOING THINGS -->
<!--[if !IE]> <-->
data="upload.php?uploadTo=download&r=<? echo rand() ?>"
style="height:70px; width:70px; border-style:none" type="text/html"></object>
As you can see it uses the proprietary if ie comment thingy to process an old-school IFRAME with a frameborder attribute and still allows me to have half-decent markup.
Please note that I am attaching a random number to the query string for the url for the sub-page, this is to work around browser chaching issues (mostly IE again).
P.s. this is used for a file upload withing an AJAX project and it work pretty damn good!