webdev

  1. Stéphane Lenclud

    Dreamhost suexec policy violation

    Trying to run a CGI script on Dreamhost with 777 permissions will give you an internal server error 500. Inspections of your error logs will reveal suexec policy violation errors. To fix it just chmod your CGI to 755.
  2. Stéphane Lenclud

    XenForo image drop shadows

    I wanted to add a neat drop shadow to images and remove that ugly white box when hovering links and images. Also added boldness to links while I was there. Just add the following to your EXTRAS.CSS template. /* Decorate our images with drop shadows */ .bbCodeImage { border-radius: 4px...
  3. Stéphane Lenclud

    XenForo web browser header colour

    Some web browsers, notably on smartphones, let web developers specify a colour that will be used to decline the tints of the web browser header and title bar as well as the smartphone status bar. The following StackOverflow comment provides code samples on how to achieve that. Here is the...
  4. Stéphane Lenclud

    Create an ICO file using GIMP

    For historical reason web sites favicon are typically ICO files. An ICO file can contain multiple bitmap images of different dimensions. GIMP can generate such an ICO file from multiple layers. Whether you have your various size icons as PNGs or JPEGs or a single SVG file, you can import them...
Back
Top