Cross Stitch, Crazy Quilting and Embroidery

Home Of The Never Ending Sampler Stitch-Along

Add This To

Thursday, June 28, 2018

Patriotic Blog Background

I finally have my computer set up so I designed a nice Patriotic blog background to celebrate the 4th of July:

If you would like to use this on your Blogger/Blogspot Blog, here is the code:


<style type="text/css">
body { background-image : url(https://c2.staticflickr.com/2/1790/29197999768_4e420a35b1_o.jpg); background-position: center; background-repeat: no-repeat;  background-attachment : fixed; }
</style>

<script type="text/javascript">
var div = document.createElement('div');
div.setAttribute('style',"position: absolute; left: 0px; top: 30px; z-index: 50; width: 150px; height: 45px;");
div.innerHTML = '<a target="_blank" href=" "></a>';
document.getElementsByTagName('body').item(0).appendChild(div);
</script>

Copy and paste into your HTML thingy!  This will work for 2 column Blogger Blogs.

No comments:

Related Posts with Thumbnails