Firefox iframe problem

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 11th, 2007, 21:36
Up'n'Coming Member
Join Date: Aug 2007
Location: Bicester
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote

  #2 (permalink)  
Old Oct 11th, 2007, 21:38
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
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)
Reply With Quote
  #3 (permalink)  
Old Oct 11th, 2007, 21:52
Up'n'Coming Member
Join Date: Aug 2007
Location: Bicester
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4 (permalink)  
Old Oct 11th, 2007, 21:56
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
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)
Reply With Quote
  #5 (permalink)  
Old Oct 12th, 2007, 02:24
Junior Member
Join Date: Sep 2007
Location: Huntington Beach
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6 (permalink)  
Old Oct 15th, 2007, 20:21
Up'n'Coming Member
Join Date: Aug 2007
Location: Bicester
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #7 (permalink)  
Old Oct 15th, 2007, 20:30
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Firefox iframe problem

Glad you switched mate!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 02:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43