Welcome to WebmasterWorld Guest from 54.226.147.190

Forum Moderators: not2easy

Message Too Old, No Replies

NN7, Frames, and CSS

NN7 does not recognize CSS in frames...?

     

omnisurfer

8:26 am on Jan 12, 2003 (gmt 0)

10+ Year Member



Hello all, this is my first time at this forum and site (just found it through a websearch). I have read a few posts, and I hope my question can be answered here as everyone seems to know alot about CSS. I have just recently downloaded and installed Netscape Navigator 7. I have been working on my website and had tested it with no problems on Netscape Navigator 6 and IE6 (I had spent a lot of time making the site display the same on both browsers). Unfortunetly, ever since I had installed NN7, certain parts of my web page under NN7 no longer recognize my CSS.
My page is in frames, although I am not sure that would affect the CSS... I had essentially one CSS file, and all the pages look to that file for formating. Unfortunetly, now files not located within the same directory as the CSS file no longer format themselves at all. Another oddity due to the update to NN7 is that some of my Div layers I define seem to be completly ignored in those same pages affected by the lack of CSS formating...while in the framed window. However, if I open the file in its own window, it displays fine (with CSS and Div layers). Has anyone else out there experienced similar problems? I have read that Netscape browsers conform to standards a bit more than IE, so all I can guess is that more than likely with the update to NN7, a new standard came into affect or something that was once "supported" was droped? I have tried the @import url(style_main.css) syntax as well and the link one, niether worked for those pages affected. If you need anymore information, I will be happy to provide it as this has gotten me stumped. Thanks in advanced, and also, does anyone know where I could download NN6 again? Thanks again!

Nick_W

8:31 am on Jan 12, 2003 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com] Omnisurfer!

Have you tried using a root relative url for importing your sheet?

[pre]
@import url(/path/to/css.css);[/pre]

That would be a good start I think...

Nick

omnisurfer

5:55 pm on Jan 12, 2003 (gmt 0)

10+ Year Member



Thanks for the suggestion, but it did not work. This is how I have the code so far... I had tried the @import approach earlier with no success...

<!--link rel="stylesheet" type="text/css" href="..\style_main.css"-->
<style type="text/css">
@import url(..\style_main.css);
</style>

I commented the normal link rel just to see if @import could work on its own. And I tried it with both link rel and @import

The problem does not seem to revolve around the page not recognizing the CSS. As I had said earlier, if I opened the page up on its own, it finds everything (images, CSS, ect.), but within the framed page anything beyond root is not found Under NN7. I am testing the page on a local intranet though, so could this be a factor somehow?
Thanks for your time!

Nick_W

5:57 pm on Jan 12, 2003 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Well, I'm stumped :(

Have you tried using '/' instead of '\'? that seems odd to me...

Nick

omnisurfer

6:02 pm on Jan 12, 2003 (gmt 0)

10+ Year Member



Yep, I was starting to consider putting my style_main in every sub folder...but if images are not showing up either, then that could be a problem bandwidth wise. I searched through the CSS topics some more and somebody else seems to be having the same problem (I am not sure if I can link directly to the topic, but here is my try at it):

[webmasterworld.com...]

If that doesn't work, the topic is:

Reading Stylesheet from other frames
Can I read a stylesheet that is in a different frame?

I hope it is not a bug in NN7....Heh, kinda wish I did not uninstall NN6...

omnisurfer

6:57 pm on Jan 12, 2003 (gmt 0)

10+ Year Member



Thanks again for your help! I went back through and changed all my links with the "/" instead of "\". So far the majority of nested pages are recoginizing my images and CSS. I guess the one page I tried it on still has something else wrong with it... Sometimes I feel I hate Netscape soo much, but I must remember that it conforms to standards much better than IE6, which I guess is to forgiving of novice web-designers such as myself. Heh an important lesson learned today I guess. Thanks again!

-Edit: I wonder why NN6 allowed me to use "\"? I shall look around for older browsers to test my site though. Just hope I am not in for a shock of some sort :)

Nick_W

7:02 pm on Jan 12, 2003 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Clear the cache, it'll probably sort out your remaining problem...

Nick

 

Featured Threads

Hot Threads This Week

Hot Threads This Month