Saturday 12 February 2011

Adding code to Blogspot

I was having issues posting HTML code to Blogspot and someone recommended the website SimpleBits and it works well!

these are the basic steps:

step1 :go to http://www.simplebits.com/cgi-bin/simplecode.pl?mode=process
step2 :paste your code in enter markup text box
step3 :click process
step4 :copy and paste the code present in the cut and paste text box

Website background images

I created a photoshop coming soon page for my website and it was too small to stretch the whole page so I found the code below. Additionally the image will resize if you resize the browser.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MyJungle</title>
<style type="text/css">
<!--
html {
background: url(images/indeximg.gif) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

-->
</style></head>

<body>
</body>
</html>