SitePoint Sponsor |
|
User Tag List
Results 1 to 15 of 15
Thread: Why doesnt CSS work in netscape?
-
Jul 16, 2001, 17:13 #1
- Join Date
- Nov 2000
- Location
- New York
- Posts
- 765
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Why doesnt CSS work in netscape?
Hmm.. I made this page:
here and it works fine (for me at least) in IE.
The CSS for the links changing color and making them not underlined works. The forms work.
However, when I load it up in Netscape 4.77 it looks like a different site! Aside from the problems with the tables (which I can probably fix, but I'll try that tomorrow), nothing that I did with CSS works! At all!
I'll understand if the forms don't work, I know Netscape doesn't handle CSS and forms very well, but can I even get the links to change color on hover, or have no underline normally?
Am I stupid or maybe Netscape just doesn't support CSS at all and I didn't know it?
Wow, I'm no big fan of Microsoft, but wouldn't life be sooo much easier if Netscape didnt exist!
-
Jul 16, 2001, 17:16 #2
- Join Date
- Oct 2000
- Location
- Austin, TX
- Posts
- 1,438
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Not using quotes will help you, although Netscape 4 supports less CSS than IE. Netscape6/mozilla supports more CSS than NS 4.
-
Jul 16, 2001, 17:21 #3
- Join Date
- Nov 2000
- Location
- New York
- Posts
- 765
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
What's a good web developer supposed to do?
Argh, I thought I was being all good when i made sure i put ALL my values in quotes and made sure all tags were lowercase and everything had a closing tag, because that was supposed to be XHTML compatible, the way of the future.
But now I have to go and take out all the quotes for Netscape. Well, it's impossible to please everyone
-
Jul 16, 2001, 17:23 #4
- Join Date
- Oct 2000
- Location
- Austin, TX
- Posts
- 1,438
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I meant to take out the quotes you had in the CSS file.
-
Jul 16, 2001, 17:35 #5
- Join Date
- Nov 2000
- Location
- New York
- Posts
- 765
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
O ok
yea, i kinda figured that, but I bet according to xhtml you're supposed to but css values in quotes too..
although i dont know that, im only presuming..
-
Jul 16, 2001, 17:56 #6
- Join Date
- Oct 2000
- Location
- Austin, TX
- Posts
- 1,438
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Nope, xhtml only covers HTML, and according to the CSS specification, you're not supposed to quote most values.
-
Jul 16, 2001, 19:27 #7
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
The only CSS values you need to quote are those that are more than one word. For example:
.test {font-family: verdana, arial, "Arial Black"; }
See? Only words that need to stay together should be quoted. Nothing else should be quoted.
Also, regarding your rollovers, Netscape does not understand the pseudo-class (the effect used to get the text rollovers) properly. It will accept the "link" value, but it does not understand any of the other values such as a:hover, a:visited.hover, etc...
One more thing, it appears that the reason why your FORM is not showing up in Netscape is because you do not have an opening <FORM> tag. Hehehe...I did a search through the code and found only one opening FORM tag and that was for the Clock at the bottom of the page.Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
-
Jul 16, 2001, 19:38 #8
- Join Date
- Jul 2000
- Location
- Singapore
- Posts
- 2,103
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
All and All....it was your code. =)
"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
-- Albert Einstein
-
Jul 16, 2001, 21:41 #9
- Join Date
- Mar 2001
- Location
- Houston, Tejas; Future Capital of the World
- Posts
- 2,474
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Netscape is picky about Codes.
Microsoft could care less if the code is buggy. (hence so many fixes for any MS product)
I used to be a Netscape prostelyzer, and still use 'scape for most of my browsing, but alas I am having to use IE for more and more things (like this forum, which is not NS4 friendly).
I have always avoided using CSS in my webpages so they will be easier to see in all browsers, but I am actually starting to learn CSS now, since I realize NS is gasping unto death. (Alas poor browser, we knew thee well...)Brian Poirier
SunStockPhoto: Stock Photos, Fine Art Photos, Event Photography
-
Jul 17, 2001, 04:13 #10
- Join Date
- Nov 2000
- Location
- New York
- Posts
- 765
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Wow no opening form
Wow that was dense! Well at least now the form fields show. thanks :P
See the search box for spf in the top corner of this forum? if u load this page up in NS, its still a little funky lookin.. the box is smaller than normal and the text is in the same font, just the background color stays white.. how they do that?
btw thanks a lot guys i really appreciate it
hmmm i apparently noticed that using #id in css must be a psuedo-class deal cause it doesnt work in ns
i think that by being so hard-assed when it comes to code netscaped brouht about its own death.Last edited by Marc; Jul 17, 2001 at 04:17.
-
Jul 17, 2001, 04:48 #11
- Join Date
- Jul 2000
- Location
- Singapore
- Posts
- 2,103
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Re: Wow no opening form
Originally posted by Marc
its still a little funky lookin.. the box is smaller than normal and the text is in the same font, just the background color stays white.. how they do that?"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
-- Albert Einstein
-
Jul 24, 2001, 05:14 #12
- Join Date
- Jul 2001
- Location
- Czech Republic
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
CSS in NS?
Have you received any answer on your question?
I also don't know why CSS doesn't work in NS?
-
Jul 24, 2001, 08:33 #13
- Join Date
- Jul 2001
- Posts
- 284
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Re: CSS in NS?
Originally posted by Singha
Have you received any answer on your question?
I also don't know why CSS doesn't work in NS?
As mentioned in an earlier post, the HOVER property of CSS will not work in N4. Other things N4 does not cover is scroll bar colors, favicon, etc....
I am just glad that over 90% of my visitors are using IE5+. For the others, I try to accomodate, but sometimes it's just impossible.
Cheers!
htmlite.com
-
Jul 24, 2001, 09:06 #14
- Join Date
- Jun 2001
- Location
- Oklahoma
- Posts
- 3,392
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Actually, NS6 and Mozilla (same thing) support more CSS than IE5 does....
Colin Anderson
Ambition is a poor excuse for those without
sense enough to be lazy.
-
Jul 27, 2001, 15:50 #15
- Join Date
- Jan 2001
- Location
- Ottawa ON
- Posts
- 315
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Aes
Actually, NS6 and Mozilla (same thing) support more CSS than IE5 does....
Bookmarks