Showing posts with label blogger. Show all posts
Showing posts with label blogger. Show all posts

Blogger blogspot full-width fluid-design

In this day and age, there is no excuse for webpages to be designed for any particular screen size, other than web-developer apathy, laziness, and/or sheer ignorance (read arrogance). In fact, there never was any reason in the past either.. Just that most developers of yore hand-coded html/css. These days most script-kiddies don't know anything beyond what their point-and-click tool can provide.

html code snippets

use <code>...</code> for inline code snippets
use <pre>...</pre> for block code snippets

static front page for blogger

you might have noticed that your blogspot home page defaults to the recent posts. blogs look different from standard websites, as their front page continuosly changes displaying the latest blog posts.

i had a requirement for a static front page, for my blog to mimic a website. this is not too difficult. but not too obvious either.

Display XML/HTML code tags in Blog posts

I had trouble displaying my previous post, containing xml tags. This blog post here helped me get over my difficulty. Basically you need to transcode "<" and ">" with "&lt;" and "&gt;" respectively, or they will be rendered as code tags and your post will not be displayed as expected.

I used centricle's online encode/decode tool to easily convert my code, rather than manually transcode, a rather cumbersome task. I still had to manually convert leading spaces.

most viewed