A small update to the Geekzone Blogs code
Geekzone Blog, 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:
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:
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
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;}Note that these are the new default values. You can use the new values as is, or add your own.
.miniicons {font-size:10px;padding:0px;margin:15px 15px 0px 15px;}
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
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.
Comment by juha, on 4-Jan-2007 15:41 , user id: 16775)
That should be very useful indeed - thanks for that!