Hi - Not really a Dynamo question but Walter is probably listening in!
I know that this has been covered before and that it is a server mime type issue.
One of my customers has a site that does not recognise the external style sheet and so does not style the text etc.
The answer was to change the server to accept the .css file as the correct mime type - but I cannot for the life of me find the reference that I had to this. It is probably at the office machine but I cannot access it for the next couple of days and am trying to get the problem sorted as quick as.
Once I know the correct mime type can I add it via an .htaccess file or will I have to get the hosting co to do it for me?
Hi - Not really a Dynamo question but Walter is probably listening in!
I know that this has been covered before and that it is a server
mime type issue.
One of my customers has a site that does not recognise the external
style sheet and so does not style the text etc.
The answer was to change the server to accept the .css file as the
correct mime type - but I cannot for the life of me find the
reference that I had to this. It is probably at the office machine
but I cannot access it for the next couple of days and am trying to
get the problem sorted as quick as.
Once I know the correct mime type can I add it via an .htaccess
file or will I have to get the hosting co to do it for me?
Yes, it looks fine on the Web. Try looking at the page in question
using Firefox and Firebug. You will be able to see exactly what mime-
type is being sent along from your server. Can you post a link? I can
look at it here and see if that is indeed the problem.
Walter
On May 1, 2008, at 9:11 PM, DeltaDave wrote:
Sorry - neither worked.
Did the code come out alright on the web Walter in case that was
the problem
Is that & really in the filename? That looks fishy to me. Also,
unless this page is really three layers down in the file hierarchy, I
doubt sincerely that the path to the css file is where this file says
it is. In order for this path to be correct, you would need to reach
this HTML file using a URL like this:
Change the filename of the page to index1.php. Right now, your
includes aren’t firing because the PHP is not being executed and
replaced.
Walter
On May 1, 2008, at 9:35 PM, Walter Lee Davis wrote:
Is that & really in the filename? That looks fishy to me. Also,
unless this page is really three layers down in the file hierarchy, I
doubt sincerely that the path to the css file is where this file says
it is. In order for this path to be correct, you would need to reach
this HTML file using a URL like this:
The ampersand is not allowed in HTML, but it is a legal filename.
It’s just not a very smart one. I would change that and all
references to it to something that contains no punctuation except the
dot between filename and extension.
Walter
On May 1, 2008, at 9:55 PM, DeltaDave wrote:
He also refers to the css file R&WHall.css (the actual filename
on the server is R&WHall.css)