In Firefox 3, bookmarks are automatically saved. The only problem is the way they are stored, as they are stored as places.sqlite, as opposed to saving them in HTML. You can change this easily however, by doing the following:
 

  1. In the address field, go to about:config
  2. Accept the warning
  3. Search for autoExportHTML, which should present you with browser.bookmarks.autoExportHTML
  4. Change this to true
 | Posted by razumny | Categories: Firefox, HTML | Tagged: , , , |

If you’ve ever written a website in HTML, you are probably familiar with the MailTo-command, used to automatically start a new email message when the link is clicked. However, you can do so much more with the command. Here are some examples:
 

  • Address message to multiple recipients
  • Add entry in the “Subject” field
  • Add entry in the “Copy To” or “CC” field
  • Add entry in the “Blind Copy To” or “BCC” field
  • Add entry in the “Body” field

 
Now, I’m sure you’re wondering how exactly we get the code to do this. Here’s how (click the link to see the effect):
 

 
Of course, you can also combine the effect:
 

 | Posted by razumny | Categories: E-mail, HTML, code examples | Tagged: , , , |

I frequently make use of bullet-point lists in my blog, and I usually code these in HTML. I like them to stand out a bit. It’s pretty simple to achieve, and here’s how:
 

  • <ul>
  • <li>Bulletpoint 1</li>
  • <li>Bulletpoint 2</li>
  • <li>Bulletpoint 2</li>
  • </ul>

 
If you want a numbered list, you substitute the <ul> tag for <ol>

 | Posted by razumny | Categories: HTML, code examples | Tagged: , , , |

When writing my last post I had a problem that parts of the code was parsed into the page, meaning that the result, instead of the actual code, was seen. As you can see in the post, I solved the problem, and here’s how:
 
By replacing the lesser than symbol (<) with “&lt;”, the greater than symbol (>) with “&gt;” and the ampersand symbol (&) with “&amp;”.
 
The solution to this, and a lot of very handy cheat sheets can be found at ILoveJackDaniels.com

 | Posted by razumny | Categories: HTML, code examples | Tagged: , , , |