Tag: Tip

  • Nested Lists in XHTML

    Quick Overview If you want to nest lists in HTML, you probably did something like the following (although you may not have done the indenting) &lt;ul&gt;<br /> &nbsp;&nbsp;&lt;li&gt;List Item 1&lt;/li&gt;<br /> &nbsp;&nbsp;&lt;ul&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Sublist Item 1&lt;/li&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Sublist Item 2&lt;/li&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Subsublist Item 1&lt;/li&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Sublist Item 3&lt;/li&gt;<br /> &nbsp;&nbsp;&lt;/ul&gt;<br /> […]

  • Full Width Tables in IE6

    Quick Overview Internet Explorer 6.0 (and possibly earlier) has a buggy CSS interperter. The biggest problem is the broken "box model", which is documented in enough other places. However, one other major problem is that tables do not inherit div‘s width. Thus, in my page, which has a left sidebar, if I declare a <table […]

  • Hiding E-Mail addresses with JavaScript

    Quick Overview Many people put a link on their homepage to email them directly. This is done using a link with the form mailto:address@domain.com. The problem is that many spambots pick up on this sort of thing. This document will show how to hide an email from spambots, while displaying it to a user How […]

  • XHTML Compatible Image Flip

    Quick Overview Many sites nowadays (this one included) use an image flip for links. That is, an image displays one thing before it’s clicked, and a different image when the mouse is hovering over it. The classic implementation is not valid XHTML 1.1, however, as it uses depreciated JavaScript. Here’s how to do it properly. […]

  • SSH Keys, the Easy Way

    Quick Overview You should be familiar with the basics of public key authentication for ssh. Implementing it is actually pretty easy, and remarkably useful. However, connecting between OpenSSH servers (linux) and commercial SSH2 (not the SSH2 protocol, but the ssh2 program) servers (like the one on many older solaris machines) can be quirky. So we’ll […]