Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





Pages (2): [1] 2 »   Last Thread  Next Thread
Author
Thread Post New Thread   

Honestly
 

Bonnie Granat




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 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



Post Follow-Up to this message ]
Re: Honestly
 

rf




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 AM  
"Bonnie Granat" <bgranat@granatedit.com> wrote in message
news:3fc9bc67@andromeda.5sc.net...
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
quote:
> 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
quote:
> 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.


Post Follow-Up to this message ]
Re: Honestly
 

Toby A Inkster




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 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


Post Follow-Up to this message ]
Re: Honestly
 

Bonnie Granat




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 AM  
"rf" <making.it.up@the.time> wrote in message
news:JQjyb.33617$aT.1784@news-server.bigpond.net.au...
quote:
> > "Bonnie Granat" <bgranat@granatedit.com> wrote in message > news:3fc9bc67@andromeda.5sc.net... > That's I[QUOTE] > than > > If there is anything in the NS4 style sheet you don't want the others to
see
quote:
> 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


Post Follow-Up to this message ]
Re: Honestly
 

West




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 AM  
"Bonnie Granat" <bgranat@granatedit.com> wrote in message
news:3fc9bc67@andromeda.5sc.net...
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
quote:
> 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
quote:
> 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


Post Follow-Up to this message ]
Re: Honestly
 

Bonnie Granat




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 AM  
"West" <not@this.one> wrote in message
news:9jryb.2802$nm6.17312@news.indigo.ie...
quote:
> "Bonnie Granat" <bgranat@granatedit.com> wrote in message > news:3fc9bc67@andromeda.5sc.net... > That's I[QUOTE] > than > > 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


Post Follow-Up to this message ]
Re: Honestly
 

Adam




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 AM  
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@granatedit.com> wrote in message
news:3fc9bc67@andromeda.5sc.net...
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
quote:
> 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
quote:
> 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 >


Post Follow-Up to this message ]
Re: Honestly
 

Bonnie Granat




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 AM  
"Adam" <info@_REMOVE_TO_REPLY_webresults4u.com> wrote in message
news:fXtyb.103501$X2W1.54190@news04.bloor.is.net.cable.rogers.com...
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


Post Follow-Up to this message ]
Re: Honestly
 

Bonnie Granat




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 AM  
Adam,
I thought it was the answer, but I was mistaken. Oh, well. Thanks, anyway.
; )


--

Bonnie Granat
http://www.granatedit.com



Post Follow-Up to this message ]
Re: Honestly
 

Nico Schuyt




quote this post edit post

IP Loged report this post

Old Post  12-04-03 - 12:30 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? 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


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 10:04 AM. Post New Thread   
Pages (2): [1] 2 »   Previous Last Thread   Next Thread next
Site Ratings & Reviews archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top