Coding
Firefox/Gecko requires .css stylesheet extensions?
Press Ctrl+Enter to quickly submit your post
Quick Reply
From:
ANT_THOMAS
24 Mar 2008 13:22
To:
Peter (BOUGHTONP)
3 of 9
34111.3
In reply to
34111.1
What Matt said. It's CSS so surely .css would be the correct way to do things?
0/0
Reply
Quote
More
From:
Peter (BOUGHTONP)
24 Mar 2008 13:30
To:
Matt
4 of 9
34111.4
In reply to
34111.2
It's not going to be .txt, it's going to be .cfm
I was removing all possible external influences other than the extension itself.
3.1415
P
265
E
589
T
932
E
846
R
64338
0/0
Reply
Quote
More
From:
Peter (BOUGHTONP)
24 Mar 2008 13:32
To:
ANT_THOMAS
5 of 9
34111.5
In reply to
34111.3
The extension is (should be) irrelevant - it's the
rel
and
type
attributes of the link tag which matter.
The browser should see "stylesheet" and "text/css" and not bother looking at the filename.
3.1415
P
265
E
589
T
932
E
846
R
64338
0/0
Reply
Quote
More
From:
Matt
24 Mar 2008 14:09
To:
Peter (BOUGHTONP)
6 of 9
34111.6
In reply to
34111.5
The extension is far from irrelevant. FireFox isn't looking at that it's checking the mime type.
Either change the type associated with .txt on the system if it's local file:// access (Registry on Windows) or send the appropriate HTTP header.
0/0
Reply
Quote
More
From:
Peter (BOUGHTONP)
24 Mar 2008 14:16
To:
Matt
7 of 9
34111.7
In reply to
34111.6
Aha, setting the content-type header to text/css works.
An irritating extra step, but it's working now.
Thanks.
3.1415
P
265
E
589
T
932
E
846
R
64338
0/0
Reply
Quote
More
From:
99% of gargoyles look like (MR_BASTARD)
24 Mar 2008 18:10
To:
Matt
8 of 9
34111.8
In reply to
34111.6
Since we don't do Dragon Points anymore, I'd like to award you 3 PonyPorn Points for that splendid, nay splendid, answer.
----
some things never change
0/0
Reply
Quote
More
From:
THERE IS NO GOD BUT (RENDLE)
24 Mar 2008 18:12
To:
Peter (BOUGHTONP)
9 of 9
34111.9
In reply to
34111.7
That was an excellent example of asking the wrong question. Well done.
Dance like it hurts; Love like you need the money; Work when people are watching.
0/0
Reply
Quote
More
Reply to All
1–9
Rate my interest:
Ignore
Normal
Interested
Subscribed
Adjust text size :
Smaller
10
Larger
Beehive Forum 1.5.2 |
FAQ
|
Docs
|
Support
|
Donate!
©2002 - 2024
Project Beehive Forum
Forum Stats