Help - Search - Members - Calendar
Full Version: filename
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
minidiapolis
Can a html document and a css document have the same filename?
pandy
Sure. Why not?
Darin McGrew
In what way? Do you mean www.example.com/foo and www.example.com/foo ? Or do you mean www.example.com/foo.html and www.example.com/foo.css ?
minidiapolis
One time I had trouble getting the external stylesheet to load and I could have sworn it was because both documents had the same filename.

Hey. . . why is it that if I check Enable email notification of replies, rarely do I get the notifications?
minidiapolis
I mean www.example.com/foo.html and www.example.com/foo.css

QUOTE(Darin McGrew @ Jan 27 2008, 11:18 PM) *

In what way? Do you mean www.example.com/foo and www.example.com/foo ? Or do you mean www.example.com/foo.html and www.example.com/foo.css ?

Darin McGrew
QUOTE
I mean www.example.com/foo.html and www.example.com/foo.css
Go for it. There shouldn't be any problems with that.
Tom H.
QUOTE(Darin McGrew @ Jan 28 2008, 12:55 AM) *

QUOTE
I mean www.example.com/foo.html and www.example.com/foo.css
Go for it. There shouldn't be any problems with that.

I think there is a possibility for unexpected results if you are using Apache's content negotiation, URL re-write rules or certain mime type declarations.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.