The official Geekzone Blog


A small update to the Geekzone Blogs code

, posted: 4-JAN-2007 13:01

If you have a Geekzone Blog and use a customised stylesheet, please note that because of the addition of a DTD declaration you might need to update a couple of items...

First make sure images are not affected. If you are using the default template you don't need to do anything. But if you are using a custom template and notice extra space around images or wrong image alignment, then check the following updated tags:

img {margin:0 auto;border-width:0px;padding:3px;vertical-align:middle;}
.miniicons {font-size:10px;padding:0px;margin:15px 15px 0px 15px;}

Note that these are the new default values. You can use the new values as is, or add your own.

Also, make sure you have an "#" before any background-color code (or any color) declaration. We have noticed some blogs "lost" their background colours with the new DTD. For example, this is the default colour in the background:

body {background-color:#B0B8A0;margin:25px;font-family:verdana, arial, helvetica, sans-serif;font-size:11px;word-wrap:break-word;}

Also new is the ability to add code to the HEAD section of the generated HTML. This is useful for tags, visitor tracking, etc.






Other related posts:
Geekzone Blog Ad Delivery solution
Geekzone Moderators meeting
Chris DiBona session at Summer of Code, Wellington, New Zealand


 





Comment by juha, on 4-JAN-2007 14:41

That should be very useful indeed - thanks for that!


Add a comment

Please note: comments that are inappropriate or promotional in nature will be deleted. E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.

Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and shown in this blog post.

Your name:

Your e-mail:

Your webpage:

Geekzone's profile

Geekzone 
Wellington
New Zealand


This is the official Geekzone blog. You will find here all news related to the site, Geekzone Blog features, and other topics related to publishing your blog using our tool.

This blog is hosted in our own blog platform. Every Geekzone registered user is entitled to a free Geekzone Blog, after participating in our on-line community by posting at least 5 times in our forums.

Once the required number of posts is reached a new option will be presented in the User Profile area, where users can read the Terms and Conditions for this service and enable their own Geekzone Blog.

The user's Geekzone Blog will be located at http://www.geekzone.co.nz/[username] and comes with a series of features:

- RSS feeds (full, partial, Feedburner enabled);
- promotion in a central RSS feed for all blogs;
- easy administration;
- categories;
- lists (Amazon, URL, free HTML, latest posts from other blogs);
- monetising options through Amazon Associates and Google AdSense (dependent on acceptance of Terms and Conditions and acceptance by each program);
- comments, comment moderation;
- trackback (send, receive);
- and more...










Most recent posts in other Geekzone Blogs

Shameless plug...
(antoniosk, 18-MAR-2010 19:33)
Some New Zealand companies don...
(freitasm, 18-MAR-2010 14:00)
Lenovo X61 + Internal MC8775 ...
(MrWestie, 17-MAR-2010 17:27)
iPhone 3G STILL Faster in More...
(ahmad, 17-MAR-2010 00:39)
I’m after a job!...
(sbiddle, 16-MAR-2010 09:14)
Best public service advertisem...
(dmw, 16-MAR-2010 06:25)
EPG, when it works it's a drea...
(MrWestie, 16-MAR-2010 04:11)
Visual Studio 2010 and Windows...
(MSDN, 15-MAR-2010 16:28)
Xero vs. Quickbooks, from a Qu...
(sleemanj, 15-MAR-2010 12:13)
What to do with a new (old) se...
(nzsouthernman, 15-MAR-2010 12:09)