good evening ladies and gentlemen,
here comes my superabsurd problem. i seemingly have lost my brain these days : i tried to overwrite the default decoration of a simple html link, by simply assigning a style that says 'no decoration, please'. just as i always did. but woe! it won't work. of course, i tried embedding it and all, of course i also tried defining span, par, div, td. always with the same result. (if you'd bother to check : <!-- w --><a class="postlink" href="http://www.scivias-chor.de/complication.html">www.scivias-chor.de/complication.html</a><!-- w -->, as well as <!-- w --><a class="postlink" href="http://www.scivias-chor.de/complicationcssembd.html">www.scivias-chor.de/complicationcssembd.html</a><!-- w -->.)
i find examples of sucessful non-decoration everywhere, certainly; but no-one has their css embedded. and i can't see any difference to what i did.
if someone could help me out of that? i'd be on my knees.
thanks a lot
nikolaiThere are only two links on the pages that you posted, and there are no styles applied for those links.In both examples you make the class ".text" (is that you hyperlink style?), but you don't actually show it in the code. Here, this is what you had previously:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"mailto:[email protected]" target="_blank">[email protected]</a>
I suggest you change it so:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"mailto:[email protected]" target="_blank" CLASS="text">[email protected]</a>dear gil, your highness sergeev
thanks a lot. that's the solution, indeed. strange i could forget that. also, i really want to thank you for not dissing someone who puts a moron question, but instead giving a friendly and useful answer. that's pretty much unlike many other places, and i think it's really great the way you do. thanks.
by the way - where, sergeev, can i get a view on your works that'll make me shiver in despair?My site is still being made. But it's taking ages, because I'm doing it the proper way, no layout tables and therefore, Netscape doesn't understand it. So it'll take a while.
By the way, a more logical solution to your question would be by not defining a class ".text" (or something), but by just using the A selector:
eg.
A {
text-decoration: ...;}Originally posted by King Pellinore
My site is still being made. But it's taking ages, because I'm doing it the proper way, no layout tables and therefore, Netscape doesn't understand it. So it'll take a while.
NS 7 is currently the best CSS browser out. NS 4 is basicly the worst.
Already today the "NS 7" browsers have more users then the NS 4, and that difference will only increase with time.
Thus if you are building a new site for today and the future, you might want to consider treating NS4 basicly as a non-CSS capable browser just making sure that all information on your site is accessible, but not nessecarily as beautiful.
That will save you a lot of time down the road as well as give you a lot more freedom in what you can do.Yes, in the above, I said "Netscape", I meant to say "Netscape Communicator 4.7". Sorry.
Yeah, the problem is the "basic accessibility", because Communicator doesn't just ignore stylesheets, it interprets them in its own creative ways. I wonder if the developers read the specification....Originally posted by King Pellinore
Yeah, the problem is the "basic accessibility", because Communicator doesn't just ignore stylesheets, it interprets them in its own creative ways.
Actually, if you use something like
<style title="Default" type="text/css" media="screen">
@import "main.css";
</style>
ignoring the entire stylesheet is exactly what NS 4 does
I wonder if the developers read the specification.... [/B]
NS 4.x was realease BEFORE the CSS1 spec was actually finalized.
So CSS was pretty much added to it in the later stages of development and the changes during the writing of the brand new tech SPEC surely didn't help either.
So it's explainable why NS 4 really isn't any good with CSS.
It's also understandable why NS decided to throw out all the code and start from scratch with with CSS built in from the ground to create the new 6+ series.
The only thing that's unfortunate is that it's taken so long time (which left NS 4 hanging around for well after it's prime time was up).Alright!
Thank you for your advice, now my NC4.7 fans will be able to see my pages without magically-scattered randomly-coloured hidden-background-image abnormalities.
As for NC4.7 coders, they shall be forgiven.hm, sounds interesting indeed. how do you do? you link to an external style sheet like usually, in this case it would be named 'main.css', and instead of the usual
<link href=http://www.webdeveloper.com/forum/archive/index.php/"text.css" rel="stylesheet" type="text/css">
you place this little script
<style title="Default" type="text/css" media="screen">
@import "main.css";
</style>
into the head? or besides it?Originally posted by Nikolai Franke
hm, sounds interesting indeed. how do you do? you link to an external style sheet like usually, in this case it would be named 'main.css', and instead of the usual
<link href=http://www.webdeveloper.com/forum/archive/index.php/"text.css" rel="stylesheet" type="text/css">
you place this little script
<style title="Default" type="text/css" media="screen">
@import "main.css";
</style>
into the head? or besides it?
Yes, NS 4 doesn't understand the @import rule, so no stylesheet is loaded.
And if you would still like to add some special CSS, to NS 4 only, you could use something like this
<script type="text/javascript">
<!--
//Since NN4 requires Javascript to be on for CSS to work at all this method is 100% safe.
if (document.layers) { document.write('<link rel="stylesheet" type="text/css" href=http://www.webdeveloper.com/forum/archive/index.php/"ns4.css" />'); }
//-->
</script>And Netscape 4 understands a style sheet synatax that no other browser understands, JavaScript styles. I suppose it seemed like a good idea at the time. See <!-- m --><a class="postlink" href="http://developer.netscape.com/docs/manuals/jsstyles_real.html">http://developer.netscape.com/docs/manu ... _real.html</a><!-- m --> for the documentation.
here comes my superabsurd problem. i seemingly have lost my brain these days : i tried to overwrite the default decoration of a simple html link, by simply assigning a style that says 'no decoration, please'. just as i always did. but woe! it won't work. of course, i tried embedding it and all, of course i also tried defining span, par, div, td. always with the same result. (if you'd bother to check : <!-- w --><a class="postlink" href="http://www.scivias-chor.de/complication.html">www.scivias-chor.de/complication.html</a><!-- w -->, as well as <!-- w --><a class="postlink" href="http://www.scivias-chor.de/complicationcssembd.html">www.scivias-chor.de/complicationcssembd.html</a><!-- w -->.)
i find examples of sucessful non-decoration everywhere, certainly; but no-one has their css embedded. and i can't see any difference to what i did.
if someone could help me out of that? i'd be on my knees.
thanks a lot
nikolaiThere are only two links on the pages that you posted, and there are no styles applied for those links.In both examples you make the class ".text" (is that you hyperlink style?), but you don't actually show it in the code. Here, this is what you had previously:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"mailto:[email protected]" target="_blank">[email protected]</a>
I suggest you change it so:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"mailto:[email protected]" target="_blank" CLASS="text">[email protected]</a>dear gil, your highness sergeev
thanks a lot. that's the solution, indeed. strange i could forget that. also, i really want to thank you for not dissing someone who puts a moron question, but instead giving a friendly and useful answer. that's pretty much unlike many other places, and i think it's really great the way you do. thanks.
by the way - where, sergeev, can i get a view on your works that'll make me shiver in despair?My site is still being made. But it's taking ages, because I'm doing it the proper way, no layout tables and therefore, Netscape doesn't understand it. So it'll take a while.
By the way, a more logical solution to your question would be by not defining a class ".text" (or something), but by just using the A selector:
eg.
A {
text-decoration: ...;}Originally posted by King Pellinore
My site is still being made. But it's taking ages, because I'm doing it the proper way, no layout tables and therefore, Netscape doesn't understand it. So it'll take a while.
NS 7 is currently the best CSS browser out. NS 4 is basicly the worst.
Already today the "NS 7" browsers have more users then the NS 4, and that difference will only increase with time.
Thus if you are building a new site for today and the future, you might want to consider treating NS4 basicly as a non-CSS capable browser just making sure that all information on your site is accessible, but not nessecarily as beautiful.
That will save you a lot of time down the road as well as give you a lot more freedom in what you can do.Yes, in the above, I said "Netscape", I meant to say "Netscape Communicator 4.7". Sorry.
Yeah, the problem is the "basic accessibility", because Communicator doesn't just ignore stylesheets, it interprets them in its own creative ways. I wonder if the developers read the specification....Originally posted by King Pellinore
Yeah, the problem is the "basic accessibility", because Communicator doesn't just ignore stylesheets, it interprets them in its own creative ways.
Actually, if you use something like
<style title="Default" type="text/css" media="screen">
@import "main.css";
</style>
ignoring the entire stylesheet is exactly what NS 4 does
I wonder if the developers read the specification.... [/B]
NS 4.x was realease BEFORE the CSS1 spec was actually finalized.
So CSS was pretty much added to it in the later stages of development and the changes during the writing of the brand new tech SPEC surely didn't help either.
So it's explainable why NS 4 really isn't any good with CSS.
It's also understandable why NS decided to throw out all the code and start from scratch with with CSS built in from the ground to create the new 6+ series.
The only thing that's unfortunate is that it's taken so long time (which left NS 4 hanging around for well after it's prime time was up).Alright!
Thank you for your advice, now my NC4.7 fans will be able to see my pages without magically-scattered randomly-coloured hidden-background-image abnormalities.
As for NC4.7 coders, they shall be forgiven.hm, sounds interesting indeed. how do you do? you link to an external style sheet like usually, in this case it would be named 'main.css', and instead of the usual
<link href=http://www.webdeveloper.com/forum/archive/index.php/"text.css" rel="stylesheet" type="text/css">
you place this little script
<style title="Default" type="text/css" media="screen">
@import "main.css";
</style>
into the head? or besides it?Originally posted by Nikolai Franke
hm, sounds interesting indeed. how do you do? you link to an external style sheet like usually, in this case it would be named 'main.css', and instead of the usual
<link href=http://www.webdeveloper.com/forum/archive/index.php/"text.css" rel="stylesheet" type="text/css">
you place this little script
<style title="Default" type="text/css" media="screen">
@import "main.css";
</style>
into the head? or besides it?
Yes, NS 4 doesn't understand the @import rule, so no stylesheet is loaded.
And if you would still like to add some special CSS, to NS 4 only, you could use something like this
<script type="text/javascript">
<!--
//Since NN4 requires Javascript to be on for CSS to work at all this method is 100% safe.
if (document.layers) { document.write('<link rel="stylesheet" type="text/css" href=http://www.webdeveloper.com/forum/archive/index.php/"ns4.css" />'); }
//-->
</script>And Netscape 4 understands a style sheet synatax that no other browser understands, JavaScript styles. I suppose it seemed like a good idea at the time. See <!-- m --><a class="postlink" href="http://developer.netscape.com/docs/manuals/jsstyles_real.html">http://developer.netscape.com/docs/manu ... _real.html</a><!-- m --> for the documentation.