hibbsusan
asked on
customize index page
Hello!
Is there a way to add css styles to index pages (in directories where no index.html file exists) to make them a bit more attractive, include an image, at least use a sans-serif font.. &c..?
thanks!
Is there a way to add css styles to index pages (in directories where no index.html file exists) to make them a bit more attractive, include an image, at least use a sans-serif font.. &c..?
thanks!
If you don't have 'index.html' or some other default document, then you don't have an 'index page'. If you're talking about the directory listing that sometimes shows, that is not a 'page' as such but a listing generated by the web server. I don't think you can style it because I don't think you can find it as a 'page'. What you can do is create an index page with ASP or PHP that presents the directory listing and style that.
ASKER
right. but there are times when i would like to show that directory listing to other people. I was making some custom error pages using the cpanel, and wondered if there were some way to at least get a logo in there..
Thanks!
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That look really promising! I'm going to check it out first thing in the morning.
Thank you!
Thank you!
http://homework.nwsnet.de/products/4f27_list-directory-contents-as-html
Here a simple html and script for directory listing try it...
Here a simple html and script for directory listing try it...
ASKER
Yeah, this is really more about styling the page. (I think(?)) I did find a pretty nice solution for that here too.
I'm really more interested in setting up the default. I have the super file synchronizer linked to this directory, so any file in there gets transported and deleted about once ever 5 minutes. Having an index.php file there isn't really feasible..
Thanks!
I'm really more interested in setting up the default. I have the super file synchronizer linked to this directory, so any file in there gets transported and deleted about once ever 5 minutes. Having an index.php file there isn't really feasible..
Thanks!