CSS frame work in IE but not FF

This is a discussion on "CSS frame work in IE but not FF" within the Web Page Design section. This forum, and the thread "CSS frame work in IE but not FF 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 May 16th, 2007, 11:46
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
CSS frame work in IE but not FF

Hiya, I have created a frame on a site (www.rarecommunications.co.nr) and I have used CSS on the page in the frame to have a fixed background so only the text moves. However it doesn't work on FF. Is there any reason why?
Code: Select all
html {
background: url('../Images/news_writeable_com.png') no-repeat fixed;
}
Reply With Quote

  #2 (permalink)  
Old May 16th, 2007, 12:33
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to daygon Send a message via MSN to daygon Send a message via Yahoo to daygon
Re: CSS frame work in IE but not FF

if i were you i wouldent use png's/ they're less "browser friendly". change it to a gif, or a jpg.

also you have it in the wrong place, its supposed to be in the body, not the html. makes a big difference
Reply With Quote
  #3 (permalink)  
Old May 16th, 2007, 14:41
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

Its not in the body its in a seperate sheet, I used notepad to make my CSS stylesheet.
Reply With Quote
  #4 (permalink)  
Old May 16th, 2007, 18:00
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to daygon Send a message via MSN to daygon Send a message via Yahoo to daygon
Re: CSS frame work in IE but not FF

thats ok. this is what i ment.
[code]
body{
background: url('../Images/news_writeable_com.png') no-repeat fixed;
}

Last edited by daygon; May 16th, 2007 at 18:01. Reason: hehe Ooops
Reply With Quote
  #5 (permalink)  
Old May 17th, 2007, 19:13
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

Ok, ive done that and it works in FF but now it doesn't work in IE. Is there a way of making it work in both?
Reply With Quote
  #6 (permalink)  
Old May 17th, 2007, 19:27
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,604
Thanks: 0
Thanked 6 Times in 6 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: CSS frame work in IE but not FF

Well perhaps if you added a position for the background etc.. that may help although not quite sure why you are using framesets etc..
__________________
I've got <style> and .class
Reply With Quote
  #7 (permalink)  
Old May 17th, 2007, 19:30
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,604
Thanks: 0
Thanked 6 Times in 6 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: CSS frame work in IE but not FF

#foo {
background: url(../Images/news_writeable_com.png) left top no-repeat;
background-position:fixed;
}
__________________
I've got <style> and .class
Reply With Quote
  #8 (permalink)  
Old May 17th, 2007, 19:41
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

That didnt work. If you gom to www.rarecommunications.co.nr you will see why I need it. I want to have a news section without making the site any bigger than needed so I have set up a frame which will fit into the center of the content box.
Reply With Quote
  #9 (permalink)  
Old May 17th, 2007, 20:11
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,604
Thanks: 0
Thanked 6 Times in 6 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: CSS frame work in IE but not FF

You can simulate frames via CSS and do a <?php> include or a jsp include etc etc depending on your needs.
__________________
I've got <style> and .class
Reply With Quote
  #10 (permalink)  
Old May 17th, 2007, 20:14
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

I just want something really easy which I can edit easily how would I make a php include?
Reply With Quote
  #11 (permalink)  
Old May 17th, 2007, 21:23
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,604
Thanks: 0
Thanked 6 Times in 6 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: CSS frame work in IE but not FF

Assuming your server has PHP installed.

<?php include("../includes/foo.php"); ?>
__________________
I've got <style> and .class
Reply With Quote
  #12 (permalink)  
Old May 18th, 2007, 02:22
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to daygon Send a message via MSN to daygon Send a message via Yahoo to daygon
Re: CSS frame work in IE but not FF

i donno. moojoo maybe your making things more complicated than you think. jj double check your code and make sure you spelled everything right. Sometimes thats my problem and you can see why, just look at some of my previous posts.
Reply With Quote
  #13 (permalink)  
Old May 18th, 2007, 10:27
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

Quote:
Originally Posted by daygon View Post
i donno. moojoo maybe your making things more complicated than you think. jj double check your code and make sure you spelled everything right. Sometimes thats my problem and you can see why, just look at some of my previous posts.
I have checked and everything seems to be fine. Now, it works on FF but not IE isnt't there a way to show a frame with a fixed BG on both browsers? (css) to go t my site ad see what I mean (site) someone please help!

JJ
Reply With Quote
  #14 (permalink)  
Old May 18th, 2007, 11:07
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

Here's the code right
Code: Select all
<td colspan="3" align="center" valign="bottom" background="Images/news_writeable_com.png">
            <!--webbot bot="HTMLMarkup" startspan -->
      <iframe src ="../Rare/News_Frame.htm" width="100%" height="99%" frameborder="0"></iframe>
      <!--webbot bot="HTMLMarkup" endspan --></td>
Have you tried valign="top"

When I put your code into dreamweaver, in design view there is a big white gap of space in that table cell. Then towards the bottom of the cell the iframe begins. I think IE is seeing the gap and not seeing the iframe.
Reply With Quote
  #15 (permalink)  
Old May 18th, 2007, 11:45
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

Oh another thing... IE doesn't recognize .png graphics many times. Change it to a .gif and see if it fixes your problem.
Reply With Quote
  #16 (permalink)  
Old May 18th, 2007, 11:49
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

Yes if changed it and it still doesn't work. . . I just don't understand why?

I also changed the PNG to a GIF but it just vanished on FF then . . .

Last edited by jjpeacha; May 18th, 2007 at 12:03. Reason: Added some info
Reply With Quote
  #17 (permalink)  
Old May 18th, 2007, 12:25
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

does it see a .jpg?
Reply With Quote
  #18 (permalink)  
Old May 18th, 2007, 12:26
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

At this point, I don't know. I've never used iframes so I'm limited in how I can help you. You might be better off using a php include in that cell, rather than the iframe.
Reply With Quote
  #19 (permalink)  
Old May 18th, 2007, 12:30
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

can you tell me how to do that, and make itr have the same effect that I want?

JJ
Reply With Quote
  #20 (permalink)  
Old May 18th, 2007, 13:03
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS frame work in IE but not FF

Here is a very basic explanation. http://www.lissaexplains.com/html6.shtml#php Turn down your speakers if they are on. They have annoying voices.
And another one; http://www.joe2torials.com/view_tutorial.php?view=3
Reply With Quote
Reply

Tags
frame

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
Javascript menu - does not work on title page, but does work on other pages Crystal Phoenix Starting Out 4 Mar 24th, 2008 19:40
EASY PEASY Displaying frame address in another frame question molotov JavaScript Forum 3 Nov 20th, 2007 17:29
simple js doesn't work with IE7 (work with FF1.5) gpazi JavaScript Forum 1 Jun 10th, 2007 11:00
Get frame contents technosponge JavaScript Forum 3 Feb 5th, 2006 03:04
<frame> Fox Web Page Design 1 Aug 26th, 2005 20:58


All times are GMT. The time now is 03:17.


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