Archive for April, 2007

CSS Layout Generators

Tuesday, April 10th, 2007

Getting a website to look right across multiple browsers seems to often be a pain. If the site design will allow for it, I suggest beginning with a template you know will work well across multiple browsers, thus alleviating the need to trouble shoot once you have already built the site.

There are a few sites out there that will help you generate a basic, standards compliant blank structure/layout to build from. This is one that I have used with great success:

http://www.positioniseverything.net/articles/pie-maker/pagemaker_form.php

And here is another I have found.

http://www.fu2k.org/alex/css/layouts/3Col_OrderedAbsolute.mhtml

Anyone know of anymore? Let us know!

Limit number of posts

Friday, April 6th, 2007

To limit the number of posts on a certain page, follow these instructions

In your template file’s index.php, right above the line “<?php if(have_post) ?> “, insert this code:

<?php if(is_home())
query_posts(”showposts=5″); ?>

where showposts equals the number of pages you wish to post.