Posts tagged ‘HTML/CSS’

spicing up apache’s directory listings

approximately since forever the default look of a directory listing by the apache web-server gave me the creeps, so today I googled a bit around and checked how to make them look more up-to-date.

here’s a nice post describing a pretty simple way: CSS Styling Apache Directory Listings

if you want to make them more usable with an iPhone/iPod touch, simply add something like this to the header-section of your HTML:

<!-- iPod/iPhone Safari support -->
<meta name="viewport" content="width=400" />

This sets the default viewport to a specific width, instead of Mobile Safari’s default of 960, where you can’t read a single letter…