jeudi 8 septembre 2011
Blogger: make your blog fluid (fit any screen resolution)
Do you like this story?
As you may have noticed, it's been a few days since The Web Thought has changed its layout. Now it is fluid.
Not knowing exactly how Blogger templates are built, I searched the Internet a bit to find a way to achieve that, and I must say I didn't find much... Everything I found was not really working for me, because it mainly focused on changing widths in pixels, while I wanted to use percentages. Finally, after playing a bit with the Design panel, I managed to make The Web Thought fluid.
I tested it with different browsers and it looks good. Please let me know if you find issues that I'm not aware of.
Let's see how to do it!
First of all, go to Blogger and select the Design tab and then Edit HTML. If you use Blogger in draft, select Template and Edit HTML.
Now you can see the HTML code of your template. Search for "content.width" in your browser and you should find a section of the template that looks like:
<b:template-skin>
<b:variable default='930px' name='content.width' type='length' value='1000px'/>
<b:variable default='0' name='main.column.left.width' type='length' value='0px'/>
<b:variable default='360px' name='main.column.right.width' type='length' value='380px'/>
<
This post was written by: Franklin Manuel
Franklin Manuel is a professional blogger, web designer and front end web developer. Follow him on Twitter
0 Responses to “Blogger: make your blog fluid (fit any screen resolution)”
Enregistrer un commentaire