Thursday, December 20, 2007

The ultimate solution to blogging source code

Finally Mário Romano found the answer to the Ultimate Question of Life, the Universe, and Everything. Well... not quite but he found a great solution to the question "how do I post source code in my blog posts". Find it here:

pre {
  background-color:#FCFBF8;
  border-color:#CCCCCC;
  border-style:solid;
  border-width:1px 1px 1px 2px;
  line-height:1.2em;
  margin:1em auto;
  overflow:auto;
  padding:1em;
  width:90%;
  word-wrap:normal; /* IE Fix */
}

And by the way, the answer to the Ultimate Question of Life, the Universe, and Everything is 42.

No comments: