CodingFirefox/Gecko requires .css stylesheet extensions?

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  ANT_THOMAS  
 To:  Peter (BOUGHTONP)      
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)   
 To:  Matt     
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.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  ANT_THOMAS     
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.
0/0
 Reply   Quote More 

 From:  Matt  
 To:  Peter (BOUGHTONP)      
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.

doohicky

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  Matt     
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.
0/0
 Reply   Quote More 

 From:  99% of gargoyles look like (MR_BASTARD)  
 To:  Matt     
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)  
 To:  Peter (BOUGHTONP)      
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:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats