473,387 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

HTTP Headers text/css and text/plain not consistent?

List,

I posted earlier this week about a problem I was experiencing with the
style sheet loading fine locally and on IIS, but failing to load in
production on all browsers except IE. As it turns out, my site admins
are going to fix the problem so the style sheets are always returned
as text/css. I have a question, however. I have had several pages
that use css (http://www.wisc.edu/uwcc) in production for a couple
years. These have loaded fine on all browsers and they also render
the css more-or-less correctly. On them, I have

<LINK REL=stylesheet TYPE="text/css" HREF="css/template.css"
TITLE="Category">

whereas on the new page ( http://www.wisc.edu/uwcc/farmercoops03 ) I
have the external sheet linked as
<style type="text/css" media="all">@import url(fc03.css);</style>.

In both cases the Response Header content-type is text/plain. My
question is this:

Why do the style sheets seem to load and render correctly on the page
http://www.wisc.edu/uwcc even as text/plain whereas nothing seems to
load or work for http://www.wisc.edu/uwcc/farmercoops03 under the same
conditions?
Thanks much for any insights,

Mike Grinnell
Jul 20 '05 #1
2 4349
ms********@charter.net (Michael Grinnell) wrote:
Why do the style sheets seem to load and render correctly on the page
http://www.wisc.edu/uwcc even as text/plain whereas nothing seems to
load or work for http://www.wisc.edu/uwcc/farmercoops03 under the same
conditions?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
triggers qurks mode. Browsers are less fussy.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
triggers standards mode. Browsers are more fussy.
Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2
Steve Pugh <st***@pugh.net> wrote in message news:<h7********************************@4ax.com>. ..
ms********@charter.net (Michael Grinnell) wrote:
Why do the style sheets seem to load and render correctly on the page
http://www.wisc.edu/uwcc even as text/plain whereas nothing seems to
load or work for http://www.wisc.edu/uwcc/farmercoops03 under the same
conditions?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
triggers qurks mode. Browsers are less fussy.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
triggers standards mode. Browsers are more fussy.
Steve


Aaah, I should have thought of that, but since I am a new convert to
the standards club I overlooked the triggering of standards vs quirks
mode. Thank you, Steve, for pointing that out...

Mike
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: vm | last post by:
Hi, for some reason my POST is not working properly. I am basically just trying to get a simple stock quote from yahoo by posting the ticker symbol (GE as an example) into finance.yahoo.com. ...
7
by: Billy Jacobs | last post by:
I am using a datagrid to display some data. I need to create 2 header rows for this grid with columns of varying spans. In html it would be the following. <Table> <tr> <td colspan=8>Official...
1
by: John Smith | last post by:
I'm writing a service which accepts a POST call, updates a database and returns raw HTTP headers as specified below: HTTP/1.1 200 OK Content-type:text/plain Content-length:3 OK The code...
13
by: RHPT | last post by:
I am wanting to capture the XML posted by an InfoPath form with .NET, but I cannot figure out how to capture the XML stream sent back by the InfoPath form. With Classic ASP, I could just create an...
3
by: webEater | last post by:
Hey, I am writing a file that reads in an external file in the web and prints it out including the response header of the http protocol. I do this to enable cross domain XMLHttpRequests. I...
6
by: Boldgeek | last post by:
I am trying to develop an app that will allow automatic updating of a web form which uses multipart/form-data enctype (as it MIGHT be sending an image) I have an example form, which when...
4
by: sadieslc | last post by:
I'm working on a PHP script, and the info from the form shows up in the headers of the email that I receive, but it doesn't show up in the body of the email. Can you please help me figure out what...
1
by: beau.moore | last post by:
Hi all, I need some help, I am trying to access a service that binds to the loopback address on my linux FC8 server. I think PHP functions but I am unable to get any response back from the...
2
by: urbanedge | last post by:
I've uploaded a site to a new server and now the headers in the mail function are not working to send the required email response. This is a newly acquired site and my php knowledge is at the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.