DFAC
07-18-2011, 10:28 PM
I have a page up with an iframe that's approximately 300px by 405px. When I load up the site in FF and IE, it frames just fine. However, in Chrome and Opera the iframe is shifted upwards and is off-frame.
I've tried looking for a solution to center the iframe correctly. Someone said to make a php code that loads 2 different iframes depending on browser (1 iframe for IE/FF and another frame for OP/CH). I have no knowledge of php coding, so I couldn't get it to work.
So now, I think I'm limited to redirecting users based on browser type. If the user is using FF or IE, I'll redirect them to my original page. If they're using some other browser, I'll redirect them to a different page without the iframe.
I've tried to set up a redirector, but it has trouble distinguishing between FF and Chrome. It treats them exactly the same.
Does anyone have any advice on what to do? I've done tons of searching for what seems to be such a small problem. Someone please enlighten me. :mad:
I've tried looking for a solution to center the iframe correctly. Someone said to make a php code that loads 2 different iframes depending on browser (1 iframe for IE/FF and another frame for OP/CH). I have no knowledge of php coding, so I couldn't get it to work.
So now, I think I'm limited to redirecting users based on browser type. If the user is using FF or IE, I'll redirect them to my original page. If they're using some other browser, I'll redirect them to a different page without the iframe.
I've tried to set up a redirector, but it has trouble distinguishing between FF and Chrome. It treats them exactly the same.
Does anyone have any advice on what to do? I've done tons of searching for what seems to be such a small problem. Someone please enlighten me. :mad: