Posts tagged: code

AdSense and Blogger Beta

By , November 22, 2006 9:02 am

More tweaks this morning have led to the inclusion of an AdSense bar just between the header and the content as was there previously.

How did I do it?

I left layout mode and edited the HTML, where I found the .css element for the “header-wrapper” and “header” sections. I cloned them and renamed them – “billboard-frame” and “funkydj” respectively.

#billboard-frame {
    width:730px;
    margin:0 auto 1px;
}
#funkydj {
    margin: 0px;
    text-align: center;
}

Now scroll way down into the body of the HTML and find the “header-wrapper” tag. Below that div, you add a new section:


<div id="billboard-frame">
    <b:section class='funkydj' id='funkydj' maxwidgets='1' showaddelement='yes'>
    </b:section>
</div>

You can save, then go back to layout mode and add an HTML element into the new section you’ve created below the header. Voila!

Poetry in Programming

By , March 6, 2006 12:08 am

While examining the documentation on a program I was writing in 2003, I found the following comment:

// Nov 4th/2003 :
// The idea was simple
// the implementation complex
// I’ve had so many errors
// I’m starting to vex

Looks like that was the date I gave it a rest… Just before the hard drive it was on crashed. Thankfully I’ve recently recovered that drive’s contents.

Panorama Theme by Themocracy