This is a discussion on "Firefox iframe problem" within the Web Page Design section. This forum, and the thread "Firefox iframe problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Firefox iframe problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Firefox iframe problem
Hi
I have a problem with an iframe. In Firefox i get a small gap after it before the grey footer div. But not in IE. http://www.justinwylliephotography.com/index.htm Does anyone have any ideas? Thanks Justin |
|
|
|
#2
|
||||
|
||||
|
Re: Firefox iframe problem
You shouldn't use frames!
It is bad practice. Use server side includes.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
|||
|
|||
|
Re: Firefox iframe problem
Alex
It is an iframe not a frame. I am trying to link a PHP script into the page (so that can't be done as an SSI). i am interested to know how to lose the space FireFox puts after the iframe with thanks Justin |
|
#4
|
||||
|
||||
|
Re: Firefox iframe problem
Hmm, people may shout at me for suggesting this.
But try putting * {margin: 0px; padding: 0px;} at the top of your stylesheet.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#5
|
|||
|
|||
|
Re: Firefox iframe problem
Don't use iframes period.
Try watching a couple of videos at KillerPHP.com and through those videos you will see the power of the PHP include. Its simple and you will probably save yourself a lot of time by going over the tutorial videos and following along. So in your code you only need to provide a empty div tag and style it with CSS, then use the PHP to pull the info into the styled div window with a include, that's what you really want to do. |
|
#6
|
|||
|
|||
|
Re: Firefox iframe problem
It is very kind of people to offer advice but when I ask a question in a forum I'm really hoping for advice to my question - not to be told I shouldn't be doing it. I am aware of includes - in fact as the original page was an shtml one a PHP include would not have been a solution.
Thanks Alex for your idea about margins - I tried setting zero margins on the iframe but it didn't work. In the end I did give up and now the whole page is PHP Justin |
|
#7
|
||||
|
||||
|
Re: Firefox iframe problem
Glad you switched mate!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with Firefox iframe, jsp, form submit issue | bmachine | Other Programming Languages | 4 | Mar 14th, 2007 19:01 |
| Iframe / Table Problem.... help me!!! | bigbluesky2006 | Web Page Design | 4 | Dec 16th, 2006 10:59 |
| Problem with iframe | Odowalt | Web Page Design | 4 | Dec 11th, 2006 17:21 |
| iframe problem | Amphersand | Web Page Design | 1 | Sep 13th, 2005 17:58 |
| IFRAME Problem | dar | Web Page Design | 3 | Sep 2nd, 2005 20:28 |