HighDots Forums  

Honestly

Websites/HTML pages critique & reviews Discuss and review existing WWW material (alt.html.critique)


Discuss Honestly in the Websites/HTML pages critique & reviews forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bonnie Granat
 
Posts: n/a

Default Honestly - 11-30-2003 , 05:15 AM






You'd think my name was Murphy, or something.

I've read that to hide style sheets from NS 4, you do certain things. That's
great. But what if you need to hide NS 4 style sheet from new browsers? I
was trying to do a style sheet for NS 4, and it was horrible but better than
nothing, but IE 6 saw it and the page didn't render properly in IE 6.
It was not seeing the imported style sheet at all.

This is what I had in the HTML:

<link type="text/css" rel="stylesheet" media="screen"
href="ns4111403granat.css" />

<style type="text/css">
@import url(111403granat.css);
</style>


This is the page: http://www.granatedit.com/testresume.html.
--

Bonnie Granat
http://www.granatedit.com


Reply With Quote
  #2  
Old   
rf
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 05:42 AM







"Bonnie Granat" <bgranat (AT) granatedit (DOT) com> wrote

Quote:
You'd think my name was Murphy, or something.

I've read that to hide style sheets from NS 4, you do certain things.
That's
great. But what if you need to hide NS 4 style sheet from new browsers? I
was trying to do a style sheet for NS 4, and it was horrible but better
than
nothing, but IE 6 saw it and the page didn't render properly in IE 6.
It was not seeing the imported style sheet at all.

This is what I had in the HTML:

link type="text/css" rel="stylesheet" media="screen"
href="ns4111403granat.css" /

style type="text/css"
@import url(111403granat.css);
/style
If there is anything in the NS4 style sheet you don't want the others to see
then respecify that in the 'other' style stheet.

For example, say you want a red background in for NS but white for the
others:

In ns4.css: body {background: red}

In other.css: body {background: white}

The 'other' browsers will see both but the second specification takes
precidence.

Cheers
Richard.




Reply With Quote
  #3  
Old   
Toby A Inkster
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 06:41 AM



Bonnie Granat wrote:

Quote:
I've read that to hide style sheets from NS 4, you do certain things. That's
great. But what if you need to hide NS 4 style sheet from new browsers?
Either over-ride things as Richard suggests, or don't use a CSS file for
Netscape 4 -- use JSSS instead. This is a styling mechanism *only*
supported by Netscape 4.x, so other browsers will simply ignore it.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132



Reply With Quote
  #4  
Old   
Bonnie Granat
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 01:48 PM




"rf" <making.it.up (AT) the (DOT) time> wrote

Quote:
"Bonnie Granat" <bgranat (AT) granatedit (DOT) com> wrote in message
news:3fc9bc67 (AT) andromeda (DOT) 5sc.net...
You'd think my name was Murphy, or something.

I've read that to hide style sheets from NS 4, you do certain things.
That's
great. But what if you need to hide NS 4 style sheet from new browsers?
I
was trying to do a style sheet for NS 4, and it was horrible but better
than
nothing, but IE 6 saw it and the page didn't render properly in IE 6.
It was not seeing the imported style sheet at all.

This is what I had in the HTML:

link type="text/css" rel="stylesheet" media="screen"
href="ns4111403granat.css" /

style type="text/css"
@import url(111403granat.css);
/style

If there is anything in the NS4 style sheet you don't want the others to
see
then respecify that in the 'other' style stheet.

For example, say you want a red background in for NS but white for the
others:

In ns4.css: body {background: red}

In other.css: body {background: white}

The 'other' browsers will see both but the second specification takes
precidence.

Cheers
Richard.


I thought that's what I did -- I just tweaked the stylesheet named
111403granat.css.
Thus, ns4111403granat.css has fewer styles, but the names are the same.
Maybe it's the jungle of <div> tags in the HTML that's throwing it off? I
have to redo the whole thing at some point because I've thrown in too many
<divs> just to achieve spacing. Could that be the problem?

It's rather a luxury to be worrying about NS 4 for me, so this is not a huge
deal. I just thought that if it were possible to make the page look better
than just default text in NS4, I might as well try it.

Thanks.


--

Bonnie Granat
http://www.granatedit.com



Reply With Quote
  #5  
Old   
West
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 02:13 PM



"Bonnie Granat" <bgranat (AT) granatedit (DOT) com> wrote

Quote:
You'd think my name was Murphy, or something.

I've read that to hide style sheets from NS 4, you do certain things.
That's
great. But what if you need to hide NS 4 style sheet from new browsers? I
was trying to do a style sheet for NS 4, and it was horrible but better
than
nothing, but IE 6 saw it and the page didn't render properly in IE 6.
It was not seeing the imported style sheet at all.

This is what I had in the HTML:

link type="text/css" rel="stylesheet" media="screen"
href="ns4111403granat.css" /

style type="text/css"
@import url(111403granat.css);
/style


This is the page: http://www.granatedit.com/testresume.html.
--

Bonnie Granat
http://www.granatedit.com

You're still torturing yourself Bonnie!
Is anyone still using ns4 likely to be in your target audience?

--
W




Reply With Quote
  #6  
Old   
Bonnie Granat
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 03:42 PM




"West" <not (AT) this (DOT) one> wrote

Quote:
"Bonnie Granat" <bgranat (AT) granatedit (DOT) com> wrote in message
news:3fc9bc67 (AT) andromeda (DOT) 5sc.net...
You'd think my name was Murphy, or something.

I've read that to hide style sheets from NS 4, you do certain things.
That's
great. But what if you need to hide NS 4 style sheet from new browsers?
I
was trying to do a style sheet for NS 4, and it was horrible but better
than
nothing, but IE 6 saw it and the page didn't render properly in IE 6.
It was not seeing the imported style sheet at all.

This is what I had in the HTML:

link type="text/css" rel="stylesheet" media="screen"
href="ns4111403granat.css" /

style type="text/css"
@import url(111403granat.css);
/style


This is the page: http://www.granatedit.com/testresume.html.
--

Bonnie Granat
http://www.granatedit.com


You're still torturing yourself Bonnie!
Is anyone still using ns4 likely to be in your target audience?

LOL. I just got caught up with other stuff and had a few spare moments and
thought I'd try it. I noticed just now that Netscape tells me to upgrade my
browser (4.79) if I want to view their shopping pages. I think I'll just
forget about it. ; )

--

Bonnie Granat
http://www.granatedit.com



Reply With Quote
  #7  
Old   
Adam
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 05:12 PM



That slash at the end of the link line might mess it up?.....


<link type="text/css" rel="stylesheet" media="screen"
href="ns4111403granat.css">

<style type="text/css">
@import url(111403granat.css);
</style>


Adam
www.webresults4u.com



"Bonnie Granat" <bgranat (AT) granatedit (DOT) com> wrote

Quote:
You'd think my name was Murphy, or something.

I've read that to hide style sheets from NS 4, you do certain things.
That's
great. But what if you need to hide NS 4 style sheet from new browsers? I
was trying to do a style sheet for NS 4, and it was horrible but better
than
nothing, but IE 6 saw it and the page didn't render properly in IE 6.
It was not seeing the imported style sheet at all.

This is what I had in the HTML:

link type="text/css" rel="stylesheet" media="screen"
href="ns4111403granat.css" /

style type="text/css"
@import url(111403granat.css);
/style


This is the page: http://www.granatedit.com/testresume.html.
--

Bonnie Granat
http://www.granatedit.com




Reply With Quote
  #8  
Old   
Bonnie Granat
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 06:13 PM




"Adam" <info (AT) _REMOVE_TO_REPLY_webresults4u (DOT) com> wrote

Quote:
That slash at the end of the link line might mess it up?.....


link type="text/css" rel="stylesheet" media="screen"
href="ns4111403granat.css"

style type="text/css"
@import url(111403granat.css);
/style


That was it, Adam. I'm using XHTML which requires that ending slash, and I
have it on all the other pages, but when I removed it, it worked fine.

THANK YOU. However, now I realize that the NS 4 stylesheet is really awful.
LOL. I would have to clean it up to actually go ahead and do it.

But thank you for solving that mystery. I'm surprised that was it,
because...er...ah...I did what the spec calls for. LOL.


--

Bonnie Granat
http://www.granatedit.com



Reply With Quote
  #9  
Old   
Bonnie Granat
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 07:42 PM




Adam,
I thought it was the answer, but I was mistaken. Oh, well. Thanks, anyway.
; )


--

Bonnie Granat
http://www.granatedit.com


Reply With Quote
  #10  
Old   
Nico Schuyt
 
Posts: n/a

Default Re: Honestly - 11-30-2003 , 07:52 PM



Bonnie Granat wrote:
Quote:
I've read that to hide style sheets from NS 4, you do certain things.
That's great. But what if you need to hide NS 4 style sheet from new
browsers? I was trying to do a style sheet for NS 4, and it was
horrible but better than nothing, but IE 6 saw it and the page didn't
render properly in IE 6.
It was not seeing the imported style sheet at all.
This is the page: http://www.granatedit.com/testresume.html.
Strange, I downloaded the page and the stylesheet 111403granat.css seems to
work in IE6 (but maybe you changed something?)
There's an error ( "}" too much) in the ns-CSS.
In IE6 I see: http://www.nicoschuyt.nl/test/bonnie_ns.jpg
In NS47 it looks very bad (worse than without CSS :-)
Nico




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.