Forum Moderators: not2easy

Message Too Old, No Replies

Netscape 4.79 ignores CSS on aspx pages

         

RichB

11:04 am on Sep 9, 2003 (gmt 0)

10+ Year Member



The site I'm working on uses several aspx pages to generate html (though the pages still appear suffixed .aspx in the browser address)

I'm just been investigating how the site works on 4.79, and it seems to be ignoring the CSS completely.

It seems to be something to do with them being aspx-generated pages, as when I save the pages from Netscape then simply rename them .html they pick up the CSS again (in Netscape)

The CSS is linked as follows:

<link rel="stylesheet" type="text/css" href="idea1.css">

I may be missing something obvious here, but I've only a very basic understanding of the aspx stuff...

Richard

Hester

1:52 pm on Sep 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried adding
media="screen"
?

SuzyUK

2:40 pm on Sep 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



also are you using something like this
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

this tells the browser what type of content to expect

Suzy

RichB

3:38 pm on Sep 9, 2003 (gmt 0)

10+ Year Member



Thanks for the sugggestions!

I've tried media="screen", which had no effect.

The meta tags that are there are the following:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">

<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">

<meta content="JavaScript" name="vs_defaultClientScript">

<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">

I don't fully understand what all of these do...

SuzyUK

4:38 pm on Sep 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try changing the charset to "iso-8859-1"

This problem was mentioned on another thread [webmasterworld.com] and the solution (msg#7) for that instance was to change the charset from "utf-8"

Suzy

RichB

5:38 pm on Sep 9, 2003 (gmt 0)

10+ Year Member



Thanks, I've passed on that to someone who knows how to do it!

For reference, it wasn't sufficient to just change the metatag

Richard