homepage Welcome to WebmasterWorld Guest from 54.226.230.76
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
NN7, Frames, and CSS
NN7 does not recognize CSS in frames...?
omnisurfer




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

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




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

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




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

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




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

Well, I'm stumped :(

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

Nick

omnisurfer




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

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




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

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




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

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

Nick

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved