Tag: html

  • Centering an HTML table with CSS

    With the table attribute align=”center” it is necessary to define table positions using CSS. Here is how.

  • Background image generator – BgPatterns.com

    After Ian posted this on his blog I thougth I would follow suit. (He always seems to find the cool stuff.) This very nifty site allows you to create tiled background images for use wherever you may need them. At first I thought “yuck, I stopped using backgrounds long ago”. But after playing with rotation, […]

  • Hiding an email address using Javascript

    Have you ever wondered why you suddenly started getting tons of spam? Do you have, or did you recently post your email address on a website? Then the reason is probably because you did not properly protect the email address, and spammers get most email addresses from robot script that harvest email addresses from websites. […]

  • Javascript disable right click and image tool bar

    A recent request from a client was to make life more difficult for his competitors to steal images from his site. He was worried that they could save the images using the Image Toolbar in newer versions of Internet Explorer, and by using the right click menu on the page. For those of you that […]

  • CSS style sheet switcher using Prototype

    A recent project had a requirementfor a style switcher allowing a visitor to control font size on the site as needed. (Many do not know how to change it through a browser, and most sites are not designed to allow for font size changes without completely trashing presentation.) Because the project in question was a […]