Learn More

Saturday, December 17, 2011

How To Making Blogger Template Part 3

On the previous topics we have discussed how to create a section and widgets. However, we do not discuss how to set the layout of the template. In this post, we discuss it. Therefore, our advice, please read our post back about how to create blogger template, how to create blogger template part 2, html, css.



A. Planning A Template

Before we make a template, it is important to plan a template. However, in general, a template will look like this
template planning

From the image we can see, the entire contents of the blog is in the body. All depends on the tastes and needs of each people.



B. Setting the Layout

Because the entire of blog contents are in the body, then we highly recommend you give width: 100% in css code. Consider the following snippet of code body

html code

css code



We strongly recommend that you give auto at height. Because each page of your blog is very different. For background, you can insert a picture as background. However, you must accept the consequences of your blog to be slow. A blog content normally located in the middle of the body. You can do this by following

html code

css code


Components {margin: 0 auto} cause the entire contents of your blog is in the middle the body.



C. Creating a Sidebar

Creating a sidebar at the core is essentially css. Consider the following example

html code

css code


This code will display the blog posts located on the right (float: right) and the sidebar is on the left (float: left). What to consider when you involve the float is adding <div style='clear:both'/>, which serves to produce a new line. This method applies to all models of the sidebar, which is different is how the presentation. Consider again the following example

html code

css code


result of this code is left sidebar will break down into two pieces, namely left1 and left2. Consider the following figure

parse sidebar into two column







That's the core of the adjust layout. The rest, you can give a certain style, through the use of css.

  1. saya suka dengan blog ini, selalu ada postingan baru, tp yg sy tdk suka bahasanya krn sy tdk tahu bahasa yg kaya ginian, jadinya komentar asal-asalan deh. hehehhe
    klo gitu nyumbah 1 klik aja deh buat threelas.com

    ReplyDelete
  2. keren mbak tapi apa gak bisa pake bhs indonesia soalx kurang ngerti kalau make bhs inggris

    ReplyDelete
  3. Untuk mas IsalBlog.com dan Zh!nTho:
    Threelas.com telah menyediakan terjemahan yang ada disebelah kiri bawah. silahkan di klik. monggo.

    ReplyDelete