The official Geekzone Blog


A small update to the Geekzone Blogs code

, posted: 4-Jan-2007 14: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 15:41 , user id: 16775)

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

New Zealand cell site location...
(freitasm, 9-Feb-2012 09:54)
Ultimate Taser Ball - the spor...
(juha, 8-Feb-2012 11:53)
Google Docs a phishing site...
(juha, 7-Feb-2012 21:29)
Broadband in New Zealand accor...
(freitasm, 4-Feb-2012 14:56)
Megaupload and the US grand ju...
(juha, 31-Jan-2012 14:29)
Did Twitter really take in con...
(freitasm, 30-Jan-2012 12:28)
Part 1 - Planning...
(hazza87, 28-Jan-2012 13:27)
Is this really the Teapot Tape...
(juha, 26-Jan-2012 13:54)
Eclipse on Windows 7 for Devel...
(robscovell, 25-Jan-2012 08:13)
Customise your Visual Studio 2...
(VisualStudio, 24-Jan-2012 10:12)