SitePoint Sponsor |
|
User Tag List
Results 1 to 14 of 14
-
Oct 19, 2003, 18:14 #1
Netscape 7.0 no likey my CSS controlled site!
I do not like Netscape much, but I still want to make a site that is browser compatible across the board. Such is not the case with vitamin-shoppe-online.com
I works splendidly in IE 5x and up, and also Opera 6x and up, but not at all in NS 7.0.
I use a CSS style sheet to control placement and style of divide tags, and NS 7.0 is just not getting any of it.
Any suggestions??
Tim
(hello Kevin Yank, how have you been? Sausage Forums are dead now. Makes me so sad
)
-
Oct 19, 2003, 19:16 #2
- Join Date
- Aug 2002
- Location
- Burpengary, Australia
- Posts
- 4,495
- Mentioned
- 0 Post(s)
- Tagged
- 1 Thread(s)
Firebird 0.7 isn't getting any of it either. Not sure why though, I ran your site through the W3C CSS validator and it validates it and understand the stylesheet alright. The only think I can suggest is to change from using the <link> tag to import your CSS to using this method.
HTML Code:<style> import url(/3col_rightNav.css); </style>
-
Oct 19, 2003, 19:27 #3
- Join Date
- Jan 2003
- Location
- Somewhere in Indiana
- Posts
- 3,082
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
HEY VSO
off topic..
Is that vitamin site yours? How well does it do in terms of visitors? I own the domain healthytips.org and thought about doing a site based on providing , well, healthy tipsbut other stuff as well. Just thought I would throw that out there.
-
Oct 19, 2003, 19:38 #4
Hi
Well I tried the Stlye import suggestion and not only did it not work for NS 7.0, but it screwed up IE 7.0
This is so darned peculiar!
Why won't netscape see the styles???
As far as traffic to my site is concerned, I have no idea as the site is not yet live. I am currently developing it.
Once it is complete, lets exchange links!!
I will be registering it with Google soon I hope
Tim
-
Oct 19, 2003, 19:41 #5
- Join Date
- Sep 2003
- Location
- Michigan
- Posts
- 164
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
This is just a guess. Could it be the order of the link?
<link href="3col_rightNav.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="3col_rightNav.css">
-
Oct 19, 2003, 20:04 #6
- Join Date
- Sep 2003
- Location
- Europe
- Posts
- 222
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
No, the link tag is just fine. If you actually validate the page, you will see what the problem is. You use two ids with the same name, which is not allowed. Make that a class, (also add body {background:#fff;} to your css) and it works fine in Firebird.
-
Oct 20, 2003, 02:33 #7
Whoops, not so fast fella! :)
Thank you so much!!! I totally missed that!
I made the change and removed the duplicate DIV ID, then I did a validation, and it checked out. However, then I tested it both in NS and Firebird and the styles are still not being recognized. The page layout is thrown totally off, and all text parameters are being ignored.
I am scratching my head here!Last edited by vso; Oct 20, 2003 at 04:50. Reason: I still need a resolution!
-
Oct 20, 2003, 08:09 #8
- Join Date
- Sep 2003
- Location
- Europe
- Posts
- 222
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by vso
-
Oct 20, 2003, 12:19 #9
Plain Text?
When I looked at the page in Firebird, and looked at the source code, the link says
<link rel="stylesheet" href="3col_rightNav.css" type="text/css">
So, what did you mean that the stylesheet was being sent as text/plain.
I scanned the Page Info as well, and cannot see where the stylesheet is being sent as plain text.
Thanks for your patience so far.
Do you think it could have something to do with the Documment Declararion of
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
And yes, I have dedicated server space, but I lease it. I can contact the people who I obtain it from. However, what proof can I show them that the stylesheet is being sent as plain text?
??
TimLast edited by vso; Oct 20, 2003 at 12:29.
-
Oct 20, 2003, 13:13 #10
- Join Date
- Sep 2003
- Location
- Europe
- Posts
- 222
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
In MozillaFirebird, when I view the css file and left-click to View Page Info, there it says text/plain, while for working stylesheets it says text/css (like it should and as your link tag indicates).
Also when you check your site in http://www.delorie.com/web/headers.c...l_rightNav.css you will see it is sent as text/plain.
I see you are using Apache, which offers a solution. If you are allowed to use custom htaccess files you could place this one as .htaccess (note the dot) in the same directory as your css file(s):
Code:AddType text/css .css
-
Oct 20, 2003, 13:39 #11
OK, I tried that. It did not work. I am going to contact the server administrators and see whats up. I will let you know what they tell me.
-
Oct 20, 2003, 14:03 #12
Guess what, Admin. added a mime type to a file on the apache server, something I do not have access to. It was almost identical to what you told me to add to the .htaccess file, minus the AddType comment. That did the trick.
-
Oct 21, 2003, 09:27 #13
- Join Date
- Sep 2003
- Location
- Europe
- Posts
- 222
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Glad it worked out!
-
Oct 21, 2003, 11:04 #14
More Questions later
Originally Posted by yngwin
There is a tremendous knowledge base in the people who visit these forums.
Lucky Me
T
Bookmarks