Sunday, September 18, 2005

The Emporer's New Clothes

So I published two Blogger Templates with the sidebar positioning ABSOLUTE!
Great, but of course people started to change the header and got lost (started to change everything and got lost :-) for all that!) ... so (as promised) here is that same layout but with the sidebars FLOATing again.

What's in it, then?

Nothing fancy, but:

* sidebars and main are adjusting when the header is changed;
* sidebars are fixed 200px, main is fluid;
* the <$BlogItemBody> is embedded in a table, so that <div clear:both> tag is harmless;
* there are 5 templates, matching the different Blogger Navbars.


The tb_b_20050917_black matches the Black Blogger Navbar:



[ View ] [ Download ]


The tb_b_20050917_blue matches the Blue Blogger Navbar:



[ View ] [ Download ]


The tb_b_20050917_darkblue matches the Blue Blogger Navbar:



[ View ] [ Download ]


The tb_b_20050901_silver matches the Silver Blogger Navbar:



[ View ] [ Download ]


The tb_b_20050917_tan matches the Tan Blogger Navbar:



[ View ] [ Download ]


Some basic things ...

Lists: I have noticed many people are forgetting to embed their lists in <ul></ul> ... this causing the lists to have bullets outside the sidebars!
A list should always be implemented like this:

<!-- start right sidebar -->
<div id="rightbar">
<div class="side">

<h2 class="sidebar-title">Links</h2>
<ul>
<li><a href="#" >Link 1</a></li>
<li><a href="#" >Link 2</a></li>
<li><a href="#" >Link 3</a></li>
</ul>

</div>
</div>
<!-- end right sidebar -->

Putting text in the sidebars: in order to keep the text 10px inside the sidebar borders, use only paragraphs!

<!-- start left sidebar -->
<div id="leftbar">
<div class="side">

<div class="sidebar-title">Title</div>

<p>Put some text here ...</p>
<p>Put some text here ...</p>
<p>Put some text here ...</p>

</div>
</div>
<!-- end left sidebar -->

To follow: I tried to keep this template really as clean and simple as possible (above all the css styling) ... so there's much to tweak and change and implement ... which probably will work out fine ... as long as you are working precise and methodical!

To end: here's some more average flaws:

  • every tag should be closed

  • when closing, nest tags properly, so
    NOT <p> <a> </p> </a> BUT <p> <a> </a> </p>

  • make it a habbit to close the stand-alones too, so
    NOT <br> BUT <br />

  • attributes should have quotes: <img src="image.jpg" />


Be warned ...

A few people, after using the template, are complaining about the main part being pushed under the sidebars.
True, if one is viewing this in a 800x600 resolution and the main contains images with a width some 400px.
That is the drawback of a fluid design!
You should
- keep the images small enough (or)
- consider there aren't many of us left who are viewing in 800x600 (not true!) (or)
- give the bigger images a width: 75% (or)
- try a fixed layout (it is not so hard to change the template - see showcase).
Fixed vs. Fluid


Have fun!

38 comments:

[A] said...

loooved your templates!
using the gray one

wish you made a really dark one ;)
take note, would ya? lol

thx

krishna said...

thnks a lot

now i have got the same template as urs :)

Poyraz said...

Thanks a lot. I am using your template now. It is just great!

:sushu: said...

Heya!
Do you know how I leave a space around the borders in the main content of the post?
currently my item body sticks to my 3px borders and i don't know how to change my template...

Anonymous said...

the templates are excellent. the best part is it does not require extra images. way to go!

Anonymous said...

Very nice templates. Simple, but easy. I hope you don't mind, but I'm planning on creating a little story about these on my site: http://www.www.iblogabout.com

Anonymous said...

Err.. Hehe.. http://www.iblogabout.com

That'll teach me to not cut-and-paste.

Chris said...

The templates are great, would you happen to know of any way of limitin the number of posts that appear on my site with out having to delete posts from my archives, i would love to only have like to have the 5 or 10 most recent show up....

ycc2106 said...

There's great, I've added you to my side bar links ;)
here:http://stylinblogger.blogspot.com/ (it's still very new, not much yet)

thutmosis said...

Great templates! I've used one, but am experiencing trouble with the right column. (I know it's something I'm doing wrong....I just can't find it).

How do I get in touch with you?

Anonymous said...

Disregard my previous post. I figured it out! :-)

News said...

Thanks so much for all the hard work on these templates It was just what I was looking for!

Admin said...

I would like to thank you for the template, 3 columns rock.

Now for the plea for help... ;-)

I have been tweaking the color and margins/padding of my blog and it looks find in FireFox but all of my <ItemPage></ItemPage> html is broken in IE.
http://ubergear.blogspot.com
if you view a story posting in IE you will see what I mean.

Admin said...

Never mind the above plea...
I removed the 'home' 'previous posting' code and it's all working now. Now is there a way to have a home, nex, and previous posting breadcrumb at the top of each ItemPage?

Zarah said...

I love your template. I will be using it for my blog. Thank you. BTW, how do I put background on the header?

NavyBean said...

Love your templates! I am a big fan of fluid templates so I am using your template on my blog. How do you get the 3d effect on the borders for the template on this page? TIA

NavyBean said...

I figured it out, I just replaced the layout divs in my template with those from this page. How can I do the same for the header border? TIA

Aaron DeAngelis said...

Question for ya!

How would I go about changing the column background colors to white, on the silver template? (tb_b_20050901_silver)

I'd like my blog (which is currently in rounders,) to look as close as possible to what it is right now, but with three columns.

Thanks for putting these templates up!

thur said...

An answer for Karen:

True, you are using

#header, #main, #rightbar, #leftbar {
border-left: 1px solid #9ad;
border-top: 1px solid #9ad;
border-right: 1px solid #024;
border-bottom: 1px solid #024;
}

But right after that, there is this style:

#header {
margin:0 10px 10px;
border: 1px solid #024;
text-align: left;
}

See? There is another border definition, overriding the ones above. So delete that line ...

#header {
margin:0 10px 10px;
text-align: left;
}

Good luck :-)

Aaron DeAngelis said...

Nevermind, thur, I got it!

Thanks, though.

Zarah said...

Thank you for the template.

James said...

Thanks for these templates, they're awesome. I'm using the grey one and it looks great. It's easy to work with as well. Thanks again.

Michael Stein said...

Thanks a lot. Really nice work. I've of course played with it a good bit, altering spacing, colors, and adding bullets to my [li] tag background. Can't ever leave well enough alone. Here's what I've done to it.

Ardour said...

Thank you so much...

I've try & looking for this 3 column template for ages...


I will be using for my blog

Beckie said...

LOVE IT! Thank you sooooo much.

Craig said...

I made a clean start with your 3-column minima black template, but the main body is stuck below the sidebars, just like you said. I tried changing it to fixed through your instructions, and it started working in IE, but it still displays wrong in Firefox...I don't know what I'm doing wrong.

Luis Damasco said...

I think these are some of the best templates out there. I just have one problem. The template looks and works great with IE6 but not with Firefox and Opera. Is there a way we can fix this? Thanks.

thur said...

Luis,

The templates (as provided) work in Firefox, Netscape, Opera and MIE.

Luis Damasco said...

Yes you are right they do work with all three browsers. Thanks.

trusty getto said...

Great template, Thur. I abandoned the modified Rounders and went with your Emperor's New Clothes instead. I also used your tutorial on making a banner image, and viola, a brand new blog look!

Thanks a million for putting these out here and sharing your knowledge !

Priya said...

how do i install ur template tb_b_20050917_black to mu existing. Somehow it doesnt seem to work. pls help.

snowqueen said...

I have downloaded tb_b_20060122_black for use on my professional blog, occupation matters and it looks fantastic. Thanks for sharing your talents

Brandon said...

I love your template, but am trying to solve a problem. When there is content such as technorati, blogroll, etc. in a sidebar, and that third party service is having problems or is down, it prevents the main content of my site from loading.

Is their a way to have the page load in a sequence of header, content, right sidebar (where the technorati and blogroll are located), left sidebar - to allow the page to load, even if it "hangs" on the problem code, which loads last?

Here is my blog:

The Fly Over Zone

Anonymous said...

Hello, I don`t know how to get the html code, for a template. plese help me.

andrea said...

I love your 3 columns!!!
I used your template and also provided a link back and shout out!

thank you tons.

Yaxlich said...

Yaxlich would like to thank Thur for creating a very easy template to play with. He likes it very much.

Blublood said...

I am trying to download one of your minima 3 column templates and all it shows me is the footer info when I click download or view or anything.

Can you please help me out bc I love these templates and would like to do some cool mods to them...

Thanks a lot, Blublood...

thur said...

Blublood,

You are only viewing the template.
Do not left-click ... right-click and choose Save Target As.
Save the template to your local disk.
Upload the template through the Blogger Dashboard.

Thur.