LOGIN
Reg&iuacute;strateLinksForosPrivadosPrivadosContacta
 
FOROS > English forum
< 1 [2]    Html 4.01 strict doctype ignores external style sheets
30/08/2004    14:52


Registrado: 14/04/2004
Nº mensajes: 425

  Moriarty QuotePrivado  
 
It works!!! wawww, it's a server problem.. thanks, Living!!

well, I post in this section because 95% of the best tutorials and forums I found on the net are written in English, and because I need to practice my English and because I was going to post the same question in the Spanish forum, but now I'm not sure
 
 

"Naruhito saludiiiiito... ni rastro de Hannoooover"



 
31/08/2004    21:48


Registrado: 14/04/2004
Nº mensajes: 425

  Moriarty QuotePrivado  
 
ehem.. I feel sooooo stupid. I'm not going to explain why, but the thing is that yesterday I did it wrongly, and it didn't really work.

Finally I wrote the url to the css  --> http://whatever/styles.css and netscape told me that what I was about to download was a aplication/x-pointplus MIME type.

As the guys at devedge say: (http://devedge.netscape.com/viewsource/2002/incorrect-mime-types/)

"Many Web servers have incorrectly specified MIME types for files. Netscape Gecko browsers require that the server specifies the correct MIME type to match the content type: HTML - text/html, CSS - text/css, XML - text/xml.

The W3C specification mentions that CSS files should be served with a 'text/css' MIME type. Mozilla and Netscape 7.x, when used in 'strict mode' will follow the specification closely and expect the CSS file to be served with a correct MIME type ('Strict mode' is enabled by having a strict DTD mentioned in the first line of the HTML page). In 'quirks mode', both application will tolerate the wrong MIME type and use the attached style sheet despite the incorrect server configuration. This means that you cannot have 'Strict' documents with a misconfigured server. MSIE lets you get away with this misconfiguration by incorrectly not taking care of the MIME type provided by the server in the http header"


I'll keep informing on this subject. What happened after asking the server administrator to change the MIME type to text/css is so extrange that I prefer to wait until things get clear.

 
 

"Naruhito saludiiiiito... ni rastro de Hannoooover"



 
01/09/2004    17:54


Registrado: 14/04/2004
Nº mensajes: 491

  Living QuotePrivado  
 
El usuario Moriarty escribió:
ehem.. I feel sooooo stupid. I'm not going to explain why, but the thing is that yesterday I did it wrongly, and it didn't really work.


Sorry, but I'm very interested in knowing the origin of your stupidness

p.d: Do you like the new look of the quote?
 
 

El mayor placer de un hombre inteligente es aparentar ser idiota, delante de un idiota que aparenta ser inteligente.



 
       < 1 [2]