Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Tuesday, September 23, 2008

How to Change yer blog to a 3-Column template

My best frend Brandi rites

dear skeezix,
my mama wants to move stuff around and is afraid to. She wants to have a sidebar on the left and the right side to make our stuff look better. Do we have to do a brand new template or can you help? Remember, mama is not that teknical.
Thanks, brandi

p.s. we have blogger template "minima" and other sites don't seem to address that template. Waiting patiently...hugs, brandi and her mama, Carol


I haven't gon to a 3-column layowt myself, so I looked for a good tootoriul, wich I've pasted below. It's frum bloggerbuster.com.


WARNINGS!

Ferst, this is not a good projekt fur cats and kittins hoo are not teknikly profishunt. It's not hard, but yoo can skrew up yer template and not be abul to undo it. I rekummend praktissing on a new blog template. Frum yer dashbord, klik the "Create a Blog" link.


Make all yer layowt changes on the new blog, then win yer done, copy and paste it into yer own template (in the Layout > Edit HTML view).

Secund, ALWAYS bak up yer template beefore yoo start messin' with it. The bakup proseedure is deskribed in the post beelow this one.

Source: bloggerbuster.com

"In this tutorial, I'll explain how to create a three column template in Blogger layouts, using the Minima template as a starting point.

The Minima template is the easiest Blogger template to customise, as this is the simplest two column template, and has few parameters regarding margins, padding and the like. Once you have developed the third column, it will then be easier to alter font-size, colours and such so leave this until later on. We're going to concentrate on the actual layout first.


First of all, set your template to Minima (not the stretch template, but any colour will do!), then follow these instructions:

  1. Go to Template>Edit HTML, leaving the "Expand widget templates" box
    unchecked.
  2. Now, find this section in the HTML code:

    #sidebar-wrapper {
    width: 220px;
    float: right;
    word-wrap: break-word; /* fix for
    long text breaking sidebar float in IE */
    overflow: hidden; /* fix for long
    non-text content breaking IE sidebar float */
    }
    Copy this entire section, and paste it directly below. We're going to change the elements I've highlighted in red to the following:

    #left-sidebar-wrapper (this makes the css for
    this section unique)
    float: left (this will make the
    new sidebar float to the left of the main column)

    This will provide the styling for the new sidebar element which we will create
    next.


  3. Now, you need to find this section further down the page:

    <div id='main-wrapper'>
Immediately before this section, you should paste the following piece of code:

<div id='left-sidebar-wrapper'>
<b:section
class="sidebar" id="left-sidebar" preferred="yes">
</div>
Let me explain the elements of this code to help you understand what we've just done:

  • <div id='left-sidebar-wrapper'> This section tells the browser that the left-sidebar element exists here, and to look in the css for the appropriate styling for this element.
  • <b:section class="sidebar" id="left-sidebar"
    preferred="yes">
    This tells the browser the class of the sidebar
    element and all other elements (widgets) which may be included in this section.
    The ID of this element must be "left-sidebar" in order to make it unique,
    otherwie this would cause problems when viewing. It is preferred so that it
    will feature in the layout, even if no widgets are placed within it.
If you preview your template, you will notice that the right sidebar will be beneath the main section at the moment. This is because the outer-wrapper is still only wide enough to accomodate one sidebar. So now we need to expand the outer wrapper to accomodate this new sidebar.

Find this section in the HTML code:


/* Outer-Wrapper
-----------------------------------------------
*/
#outer-wrapper {
width: 660px;
margin:0
auto;
padding:10px;
text-align:left;
font:
$bodyfont;
}


We need to increase the width of the wrapper by the width of the left-sidebar-wrapper, in this case 220px. So, change the value in red to 880px.



  • You may also want to change the width of the header-wrapper to 880px so that
    it spans the new width of your blog:

    #header-wrapper {
    width:880px;
    margin:0 auto 10px;
    border:1px solid $bordercolor;
    }

  • At this point, you should save your template. At present, your new sidebar will not be seen as there are no widgets contained within it, though it will still be present in the markup of the page. Once you have saved your template, go to Template>Page elements in your Blogger dashboard.

  • Your layouts section should now look something like this:


    You can now add a page element (or two) to your new left sidebar.


  • But we aren't quite finished yet! If you add anything to this left sidebar, you will probably notice that it jams right up to the main section, like this:



    This is because there is no space defined between the left-sidebar and the main ection. We need to create this space in the template's HTML.

    To do this, we will add a margin to the left hand side of the main posts section. Find he following code in your template's HTML and add the code defined in red:

    #main-wrapper {
    width: 410px;
    float: left;
    margin-left: 20px;
    word-wrap: break-word;
    /* fix for long text breaking sidebar float in IE */
    overflow: hidden;
    /*
    fix for long non-text content breaking IE sidebar float */
    }

    This defines a margin space of 20px between the left-sidebar and the main column. You should also ensure you adjust thewidth of the outer-wrapper from 880px to 900px to ensure the width of your blog is enough to accomodate this margin too. Either that, or you could reduce the width of your main column/a sidebar by 20px to serve the same purpose. Now, your previewed template should look more like this:




  • Finally, save your template and enjoy your new sidebar!
    1. The same principles described here can help you create a three column template from any Blogger template, though you may find that you'll need to adjust the width, margins and padding for your new sidebar in order for it to look the way you would like.

      Also, you can configure your new sidebar to float to the right, and have two sidebars on the right of the main column if you prefer. Simply set the CSS of your new sidebar to float: right; instead.


      Here is a download of the three column Minima template for reference (or if you prefer to use a preconfigured template instead!):


      Download 3 column Minima template (Skeezy's note: this link wasn't werking erlier, but keep trying. I cood aksess it later on.)

      For more Blogger templates to download, please have a look through the Templates section here at Blogger Buster.




      Wednesday, March 19, 2008

      How to Make an Email Link

      Camies's Kitties asked:

      Skeezix,

      We were wondering how we can put up a link with our e-mail address so people can e-mail us. We looked but didn't see it in the topics covered.

      Tiki, Tavi, Cody and Camie

      This is eezy, but yoo mite not wunt to do it cuz it will jenerate spam. Spiders and bots crawl the innernet looking for emale adresses to harvist, and beefore yoo know it, yer male box will be full of viagra offers and reqwests to send munney to Nijeeria.

      Heer is whut the link strukcher looks like:

      <a href="mailto:camie@camieskitties.com">camie@camieskitties.com</a>

      Yoo just replace it with yer emale adress.

      But as I sed, this will make spam show up in yer male box.

      There are forms and javascript yoo can use to make yer emale adress invizibul to the spiders and bots, but I'm not sertin thare 100% effektive (I'll look up one of thoze skripts and post it heer shortly.) I purrsunully think the safest thing to do is post a grafik with yer emale adress on it, and don't link it.... yer frends can still eezily find yer emale adress, but it's more safe frum spammers.

      A reeminder, win yoo post an emale adress in text on yer blog, don't paste in the emale adress, insted use the following format:

      myname AT mydomaine DOT com

      Thursday, June 7, 2007

      How do I do "strike through" text?

      My buds Kimo & Sabi rite:

      Dear Skeez -
      we was wonderin' how to do "strike throughs" on our text. Da only options we sees available are: bold, italix, color, size.

      It's pritty eezy! But yoo'll need to do it under the "Edit HMTL" tab in Blogger (not the "Compose" tab) sinse yoo need to hand-code it.

      The tag for a strikethru is <strike> . So yoo put <strike> beefore whut yoo wunt to strike thru and cloze it with </strike>

      So to make it look like this: SKEEZIX

      yer code will look like this:<strike>SKEEZIX</strike>

      Thursday, January 25, 2007

      How do I get a badge up on my blog?

      My best frend, Jeter Harris, rites:

      deer skeezix ... (or anycat on da help teem)
      i am tryin an tryin to put da badge dat lux gave me fer da honorabul menshun on mi blog. i copied it an put it on mi catster paje so i would hav a code ... but no matter wut i do ... i can't figyer owt how to put it on mi blog. i am a old blogger, btw.
      pleez help me.
      thank u.
      yerz troolee--jh
      Jeter, klik heer for yer code. Yoo'll just copy and paste it into the area of yer template ware yoo wunt the badge to appeer. (For thoze of yoo in noo blogger with the widget-based template, use the HTML/Javascript widget box.)

      Basikly, yoo need to create 2 links: an image link (so they'll see yer image) and the link to the six werd story blog. The image link will be in the middle, with yer link tag contayning the URL yer linking to at the beginning and a clozing link tag (</a>) at the end:

      <a href="http://sixwordcatstory.blogspot.com/2007/01/six-word-contest-entry.html"><img src="http://files.dogster.com./pix/cats/02/214902/214902_1169678480.jpg" border="0" > </a>

      Yoo'll find more info on the HTML yoo'll use HEER and HEER.

      Thursday, January 11, 2007

      Fun add on extras

      have you even noticed on the side bars or on in the blog pepole have added extra like a pet or a slide show or a clock I am here to tell you about some fun free Html extra You need to know no html just copy and click and go to add HTML and put them in

      the frist one is hugs. I luff hugs becuse you can never have enough

      Add a litte bling to your blog with glitter graffics

      Next you can add a slide show of your self and other cats here or two good programs

      The frist is slide.com

      the next one is flimloop.com

      Have you even noticed in the top left conner of some blogs there is a little cat this is called Neko

      You can add a clock to your side bar and ask is it time to eat yet

      You can also adopt a pet of your own I adopted Prince Mu shue jr. This is fun becuse you can make him your own by changing the color

      Monday, January 8, 2007

      How do I create links in post comments?

      George, Tipper, Max and Misty ask:

      OK, we have a question. Lots of times when someone leaves a comment, they "highlight" a few words and link them back to something. Either another cats blog, or a previous post in their own blog. How is that done? We read Bloggers "help" on the subject, which was of course, no help at all! We know how to do it on our postings, but not how to do it on comments.
      Win yer leeving Blogger comments, yoo need to use reel HTML to create yer links. Heer's how to do it:

      Let's say yoo wunt to link to blogger.com, and yoo wunt the link text to say "Heer's a link to blogger.com."

      1) Yoo need to put stuff at the frunt of yer link AND at the bak of yer link.
      a) Start with <a href=" in frunt of yer link.
      b) Tipe yer link with the http stuff in frunt, like this: http://www.blogger.com
      c) Add a "> after yer link.
      This will give yoo: <a href="http://www.blogger.com">

      2) Tipe yer link text. This is the hilited text the user will klik on to go to the place yoo linked to. For example: "Heer's a link to blogger.com." So, adding that, yoo now have:

      <a href="http://www.blogger.com">Heer's a link to blogger.com

      3) YER NOT DONE YET!!! Yoo have to add a clozing tag -- otherwize, evrything after yer link will be linked, text, too. So yoo have to tell it to stop linking by adding a </a> tag.

      So yer final link (the stuff yoo tipe in to make the link) will look like this:
      <a href="http://www.blogger.com">Heer's a link to blogger.com</a>

      NOTE: The comments feeld only supports vary vary basik HTML formatting and links, like making yer text bold or slanty (I think that's called italiks).

      >> For more HTML stuff, reed Kaze's post on the subjekt.

      Friday, January 5, 2007

      A few tips on Html from Kaze

      HTML is the most basic "language" that the web is written in. For instance, if you right click on this page, go to "view source" you will see what this page looks like in its text format. Obviously, this is way over most kitties (and human heads) so certainly don't try to figure it out, just look at it because it is nothing to be scared of. Not like a vacuum which you should be scared of!

      Most kitties never need to deal with html because Blog sites are very user friendly. However there are a few quick things it doesn't hurt to understand and you may find useful in the future!

      There are certain things all HTML documents use to start and end. For instance, they all start with <html> and end with </html>. Anything with the carrot brackets is called a "tag". Every start tag "< >" needs an end tag "</ >". A lot of times html will get all messed up because you forget to close a tag, "always remember to close your tags!!" says the Lap Lady (her professor yelled about that a lot in college).

      A few tags that you may find a use for in your Blog posting and surfing:

      Say you want to post a link to something, either while posting a comment on a blog OR when posting a link to site on your own blog. It is simple, I promise!! If a frootbat can do it, so can you.

      First of all, make sure you are in "Edit Html" mode when on your own blog. If you are posting in a comments section, that is automatically in Html mode. Say you want to post a link to this site, simply type :

      <a href="http://catbloghelp.blogspot.com/">Link to Cat Blog Help</a>

      Here is what will be displayed:
      Link to Cat Blog Help

      You will notice that instead of displaying the entire link address, it just dislpays the words I wanted Link to Cat Blog Help. I did this by placing the words I wanted displayed after the opening tag, in the space between > <. Then I was sure to close the tag ;). To make text bold or underlined, or strike out......

      <B>Bold</B>
      Display: bold

      <U>Underline</U>
      Display: Underline

      <STRIKE>Strike me out</STRIKE>
      Display: Strike me out

      To post a picture

      <IMG SRC="http://i44.photobucket.com/albums/f24/SnapLatteChase/Octsignature_small.jpg">

      Display:

      I hope these basic Html topics will help you in the future. There are tons of helpful sites on the web that will tell you tags you may want to use. Also, its important to remember that Html is the BASIC language used on the web and there are many many other much more intricate languages that makes sites "pretty" and more interesting. Only use these Html tags when you are in the "Edit Html" tag of your post or when posting comments on other cats (or critters or even human) blogs just to be safe!

      HTML: To add to what Kaze said:

      You can also learn a lot of html tags by putting "html tags" in your search window of Google and running through samples that "techies" have put up on the web.

      You can learn to change fonts, colors, and sizes using [font] and [/font] ... note that I'm not using the <> symbols because I don't want to screw up this post.

      You can learn to make scrolling marquees and blinking stuff, too. Sometimes it's just fun to use the file menu to open a new window and then use the window with the html code tags as a cheat sheet to fiddle with your blog entries. -- That's what I did to learn code since my mom didn't know diddly-squat about html.
      DMM