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.
|
|
|
|
|
![]() |
||
CSS frame work in IE but not FF
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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?
|
|
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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?
|
|
#6
|
|||
|
|||
|
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..
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#7
|
|||
|
|||
|
Re: CSS frame work in IE but not FF
#foo {
background: url(../Images/news_writeable_com.png) left top no-repeat; background-position:fixed; }
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#8
|
|||
|
|||
|
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.
|
|
#9
|
|||
|
|||
|
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.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#10
|
|||
|
|||
|
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?
|
|
#11
|
|||
|
|||
|
Re: CSS frame work in IE but not FF
Assuming your server has PHP installed.
<?php include("../includes/foo.php"); ?>
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#12
|
|||
|
|||
|
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.
|
|
#13
|
|||
|
|||
|
Re: CSS frame work in IE but not FF
Quote:
JJ |
|
#14
|
|||
|
|||
|
Re: CSS frame work in IE but not FF
Here's the code right
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. |
|
#15
|
|||
|
|||
|
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.
|
|
#16
|
|||
|
|||
|
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 |
|
#17
|
|||
|
|||
|
Re: CSS frame work in IE but not FF
does it see a .jpg?
|
|
#18
|
|||
|
|||
|
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.
|
|
#19
|
|||
|
|||
|
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 |
|
#20
|
|||
|
|||
|
< |