|
 |
asp_web_howto thread: SSI, CSS and NN
Message #1 by "Kellen C. Von Houser" <kellen@a...> on Sun, 9 Dec 2001 02:42:57
|
|
When I apply an external style sheet to a page with SSI it works
beautifully in IE, but not in NN. Netscape applies the style sheet to the
rest of the page, but not to the SSI. What adjustments do I need to make
to accomodate the limitations of NN?
Thanks.
Message #2 by "Jason Salas" <jason@k...> on Sun, 9 Dec 2001 00:47:41 +1000
|
|
Hi Kellen,
Is this true in NN 6 as well as version 4? I've had major compatibility
issues with DHTML in Netscape since they got stuck on v.4. As a workaround,
you might have to write a semi-long, browser detection script in JavaScript
to apply conditional formatting based on the browser the client is running
on their end. The hard part about this is that you'll have to include
consideration in your script for Netscape 4 and Netscape 6...and then as
well as
Is it also possible not to include your CSS asd an and...maybe just
reference it directly within the <HEAD> tags?:
<link ref="style" type="text/css" href="mysheet.css">
...either this, or just code it inline to your pages? The former would be
easier for reusable code.
HTH,
Jason
----- Original Message -----
From: "Kellen C. Von Houser" <kellen@a...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Sunday, December 09, 2001 2:42 AM
Subject: [asp_web_howto] SSI, CSS and NN
> When I apply an external style sheet to a page with SSI it works
> beautifully in IE, but not in NN. Netscape applies the style sheet to the
> rest of the page, but not to the SSI. What adjustments do I need to make
> to accomodate the limitations of NN?
>
> Thanks.
$subst('Email.Unsub').
>
Message #3 by "Ken Schaefer" <ken@a...> on Sun, 9 Dec 2001 14:20:49 +1100
|
|
The Server-Side Include is processed entirely on the server. Only a single,
complete HTML page is then sent to the browser. The style-sheet is applied
by the browser to the entire HTML page. The browser knows nothing about the
SSI you used on the server.
For example, www.adopenstatic.com (my site) uses SSI and stylesheets, and
there are no problems with NN.
My guess is that you need to validate your HTML page to ensure that it
conforms to the HTML standard - Netscape is much pickier about this than
Internet Explorer:
validator.w3.org will allow you to enter the URL of your page (or upload a
page to them), and it will tell you what errors you have.
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Kellen C. Von Houser" <kellen@a...>
Subject: [asp_web_howto] SSI, CSS and NN
: When I apply an external style sheet to a page with SSI it works
: beautifully in IE, but not in NN. Netscape applies the style sheet to the
: rest of the page, but not to the SSI. What adjustments do I need to make
: to accomodate the limitations of NN?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
Message #4 by "Kellen Von Houser" <kellen@a...> on Sat, 8 Dec 2001 23:32:16 -0600
|
|
Brilliant. That is showing me exactly what the problem is. I should have
thought of that, thank you!
BTW, your site is absolutely beautiful. Thank you for the link.
Kellen
----- Original Message -----
From: "Ken Schaefer" <ken@a...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Saturday, December 08, 2001 9:20 PM
Subject: [asp_web_howto] Re: SSI, CSS and NN
> The Server-Side Include is processed entirely on the server. Only a
single,
> complete HTML page is then sent to the browser. The style-sheet is applied
> by the browser to the entire HTML page. The browser knows nothing about
the
> SSI you used on the server.
>
> For example, www.adopenstatic.com (my site) uses SSI and stylesheets, and
> there are no problems with NN.
>
> My guess is that you need to validate your HTML page to ensure that it
> conforms to the HTML standard - Netscape is much pickier about this than
> Internet Explorer:
> validator.w3.org will allow you to enter the URL of your page (or upload a
> page to them), and it will tell you what errors you have.
>
> Cheers
> Ken
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> From: "Kellen C. Von Houser" <kellen@a...>
> Subject: [asp_web_howto] SSI, CSS and NN
>
>
> : When I apply an external style sheet to a page with SSI it works
> : beautifully in IE, but not in NN. Netscape applies the style sheet to
the
> : rest of the page, but not to the SSI. What adjustments do I need to
make
> : to accomodate the limitations of NN?
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> .
>
>
$subst('Email.Unsub').
|
|
 |