Posts Tagged ‘little bit’

How to center a header, with HTML and CSS

Welcome to my blog, please feel free to subscribe to my RSS feed, join me on Twitter or leave a comment.

Here’s a quick tip that’ll help you centre a heading using nothing more than a little bit of HTML and CSS.

First, in a new HTML document (which you can create using something as simple as NotePad or Textedit simply by saving your text document with the .html extension), you’ll want to create a new heading. You can do it by including the following code in your document:

<h1>Hello World</h1>

This text adds a standard heading to your website but what if you want to centre the heading on the page? Easy! Let’s modify the standard <h1> tag to apply a style sheet directly to it:

<h1 style=’text-align:center;’>Hello World</h1>

You’ll notice that I don’t need to setup an individual style sheet to accomplish this task, simply adding the style attribute will allow me to make the changes to this one specific item. If I want to be able to centre multiple items, I could use a style sheet class to accomplish the task:

<style>
.center {text-align: center;}
</style>
<h1 class=’center’>Hello World</h1>

Note the class is represented in the style sheet as a period (.) plus the name of the class. Similarly, if I wanted to assign the centre to all occorances of the <h1> tag I could use:

<style>
h1{text-align: center;}
</style>
<h1>Hello World</h1>

Packaging for Success

Comments Off

Have you ever judged a book by its cover? Actually I guess a better way to ask that question is, have you ever not judged a book by its cover? Of course not, how things look are important to us and as consumers we’re always looking for more than the product inside the container, we’re also looking for the packaging … it’s a little like wrapping paper at Christmas, we want to feel spoiled when we buy it.

Packaging isn’t limited to a grocery store (although it is a perfect example of packaging), we also judge the quality of a product based on its packaging at trade shows and industrial equipment, taking the time to put a little bit of trim work and paint on an old house almost always increases its value in the marketplace so why then, do so many people forget to properly package their own products?

Tropicana’s branding gamble
Packaging is such a funny thing that  we often don’t even notice how powerful it is but take the below example of what happened when Tropicana Orange Juice changed the packaging for its iconic orange juice from the traditional design on the left (with a great big orange) to a more upscale, generic style on the right.

The result (beyond a ton of media attention) was a consumer rebellion at the cash register, designers seem to like the new design but consumers hated it. The result? The company switched back to their original design. More importantly it helps designers and marketing people remember that packaging, whether it be retail or commercial is critical to the success of a product.

tropicana-packaging

Updates to Random posts and Scheduled Post Plugins

On Wednesday, while I was cleaning up some WordPress 282 details I took a little bit of time and also upgraded the Random posts plugin and Scheduled posts plugin for WordPress.

These new upgrades allow me to make the most of a common admin interface for all my plugins as well as checking for news related to the plugins straight from the admin panel of the WordPress plugin.

How to make money online

Fresh Post at thingsidoformoney.com: How to make money online

 

What if there was an easy way to make money online and you didn’t have to pay to learn how? Well that’s the idea of my website, thingsidoformoney.com and I’m glad that you’ve taken the time to come by and read a little bit about how I personally make money online.

 

Read More

New Updates to WordPress Plugins

This week I took a little bit of time and cleaned up some inconsistencies on my four new plugins, here’s a quick summary:

Easy Technorati Tags for WordPress

I’ve added a new menu and improved instructions for how to include the Technorati tags in your blog posts.

Easy Popular Posts

There’s a new admin menu for the plugin, and I’ve fixed an error in the documentation which incorrectly labeled echo as an option.

Easy Random Posts

There’s a new admin menu for the plugin, and I’ve fixed an error in the documentation which incorrectly labeled echo as an option.

Easy Scheduled Posts

There’s a new admin menu for the plugin, and I’ve fixed an error in the documentation which incorrectly labeled echo as an option. I’ve also added a new option to the function which allows you to control wether to link to the scheduled post or not.

All four plugins are available for free download and are compatible with WordPress 2.0.x -> 2.7.1, if you have any questions please feel free to drop me a line.

Happy Victoria Day!

queen victoria Happy Victoria Day! image

Well, for all my fellow Canadians I’d like to say Happy Victoria day. For those of you who are not Canadian, don’t worry about it you’re not missing much. The holiday is basically the start of the summer cottage season so it represents the first real weekend that we Canucks go up to the cottage and start airing it out. Luckily, since I don’t have a cottage I don’t have to worry about that.

Instead, I’m reading a little bit on the web this morning and processing videos for clients. Google’s CEO Eric Schmidt is featured in a video commencement address At Carnegie Mellon which, it’s always great to watch people from Google do things as it helps us know where they picture the internet going. Let’s face it, the only people foolish enough to not appreciate that Google *is* the Internet are the fine fellows over at Microsoft who are apparently more ADD than a monkey in a  banana factory as they’re trying to launch a website Analytics tool against Google Analytics. I’m all for competition but watching Microsoft try to compete against Google is like watching me play hockey, it’s just sad. While I’m on the subject of AdSense (Jason has a pretty good introduction article here), there’s a cool tutorial on Google Analytics, and AdSense Integration that I took a look at this morning.

victoria 254x300 Happy Victoria Day! image

20 cool Twitter applications caught my eye as I began programming my first web based Twitter app this morning. I decided to write a cool little toy that automatically followed everybody who followed me. I know there are already tools out there to do it but I love a good challenge, so I spent my weekend programming it.

On more of a marketing front, Joe has a nice piece about Wolfram over on Marketing Pilgrim but I think the highlight of my week was a piece about how lame Burger King’s advertising is. I know that they’re not trying to seduce me but I can’t help think that their marketing team is incompetent. On the subject of social media, there’s a great piece on cause marketing as well as how a pizza joint increased sales by 15% using Twitter. which seems to contradict this theory. If you’ve not already seen BMW’s new viral ads, they’re worth checking out.

10 simple things every housewife can do to make money online

We all know that times are a little tighter than they have been for a very long time but that doesn’t change the fact that a lot of families simply can’t afford for both parents to be working out of the house. With that in mind, what can a housewife stay at home parent  do online to help bring in a little bit of extra money and work from home? 

Here are ten simple things that you can do from home to make a bit of extra money, without having to hire a baby sitter:

Work from home writing

There are literally thousands of companies out there looking to hire part time writers and to be honest, your writing doesn’t even always have to be that good. If you’re willing to take feedback, most website owners will help you along and a single article can easily net $200 or more.

Work at home designing websites

If you have a creative flair, take a bit of time and learn the basics of web design! You can leave the coding up to somebody else, or learn to tackle it down the road. Once you’ve build a couple simple portfolio websites to get your feet wet, use a service like CraigsList in your area to help find local companies who need designers.

Moderate online forums

Tons of businesses need people to help keep track of their online reputations and help police forums. You can often work from your own home as much or as little as you can afford and your work will help keep forums up dated and safe.

Research online for spare cash

Online research is big business, you can work for companies or local governments. I know several people who do this type of work freelance for reporters all over the world, helping to make sure stories are accurate and well sourced.

Blog about something you love

Blogging is one of the easiest ways for a woman to make money online and you’d be surprised what people read about! Blogging about everything from children’s clothes, dollhouse accessories, gardening, home decorating and even cost savings is a great way to earn money from Google AdSense, a free online advertising service who will pay you to host their ads!

Become a Twitter consultant

Do you know how to Twitter? What about Facebook and RSS? If these things make sense to you, take a deep breathe because you’re in high demand! Companies need casual employees just like you to update their social media marketing, spread the world of their products and market their message through social media, all from the comfort of your own home.

Sell your expertise while looking after the kids

Make money online doing what you’ve always done! Get a Skype number and run your own online business from home offering professional services during naps and playtime.  Plenty of professionals are too busy to chat on the phone away so setting yourself up as an email or text based business is a great way for them to ask you questions without you taking up their time, and it’s a perfect way for you to stay home and work full time.

Build a website about your town

Put together a free website about your town and let Google sell ads to cover your costs. People are always searching for details about your community, so why not write about local attractions, stores, parks and more?

Run an online store

These days, you can run an online store to sell just about anything and you can do it without leaving your home. PayPal accepts payments and takes care of shipping for you, so all you need is something to sell right? Guess what … there are plenty of companies who will ship products directly to your client, with your name on the package! Even better? Ask a local shop if you can be a commissioned sales person working from home and sell their product online!

Put people in touch for money

You don’t have to sell anything but if you happen to be good at it, great! Why not keep a list of people you know who can design websites and another list of people who want websites built? Playing match maker online is a great way to earn a lot of extra cash without having to spend anything but a little bit of time.

I’d love to hear your ideas for how people can make money working at home or stories about success in this economy so please feel free to comment below!

How do I remove specific ads from my AdSense ads?

competitive 300x210 How do I remove specific ads from my AdSense ads? imageIf you’re anything like me, running ads on your website isn’t just an option it’s a great way to make money but sometimes there are ads that I simply don’t want on my website so I need to tell Google to block them but how? Actually it’s really very simple, it’s called the Competitive Ad Filter from Google and it’s part of the AdSense tool.

To block an advertisement, you simply need to place the destination URL (where the ad is linked to) into the Competitive Ad Filter dialog box and within a few hours, Google AdSense will stop serving ads to that domain. Pretty easy right? Well there is one problem … how do you know where the ad is linking to?

Finding the desination URL of an AdSense Ad

First off, do not click your own ads. 

Wait … let me repeat that again … do not click the ads. If you click ads on your own website, you’ll earn money from the program and violate your Terms of Service. Google will figure it out (they’re pretty clever) so just don’t do it.

Instead, you’re going to have to do a little bit of detective work but it’s super easy.

  1. View the source code of your webpage. To do this, right click or look under the View or Edit menus for an option
  2. Search for the phrase googlesyndication.com/pagead/adclick which is how every Google ad looks.
  3. After you’ve found the correct ad, look in the code and you’ll see a value titled &adurl= along with a domain name address. For example &adurl=http://www.thisismyurl.com so the domain name that you’d like to stop serving ads for is www.thisismyurl.com.

Now that you know the domain you’d like to cancel ads for, simply visit the Competitive Ad Filter  and add the link.

What’s the first thing I do when you apply for a job with me?

A few weeks back I posted an articled called What the hell is wrong with young people today? which was about the responses I received from a Kijiji ad for an Online Marketing Assistant. Truth be told, I filled the job via a personal referral from a friend that I trusted rather than go with the people who applied but today I received a fresh reply from somebody and (I swear to god) their application for the job was:

more info please

As if this position was some type of posting for a … I don’t even know what.

So here’s what I thought I’d do today because I’m in a writing mood and that one pissed me off a little bit (OK, I’m just in a bad mood because of something completely unrelated but today is honesty day), I’m going to tell you what I and countless other people do every time you apply for a job with us.

First, I Facebook you.

Yep, the very first thing I do before I even talk to you is I Facebook you using your name and email address. This lets me see:

  1. Who your friends are (in case we share any);
  2. What types of things your into;
  3. Your education etc.

Second, I Google you.

You’d be amazed how many totally useless things I find out about potential employees by searching the Internet. For example, I discovered the home address and telephone number of an applicant this weekend which led me to find out that they have a MySpace page which in turn led me to both their musical preference and nude photos of them. Now I’m not saying I would preclude people from a job because their topless tattoo shots are gracing the front of a website but it rarely helps.

Finally I Twitter you.

I’m still trying to figure this Twitter thing out but I think I’m getting the hang of it and what I’ve discovered is that a lot of people post a lot of stuff about their alcohol consumption levels and much like Facebooking, you should never do it drunk.

Why?

Maybe I’m a little damaged but I believe that an employee is an extension of the company and since I am the company, I think an employee is an extension of me and my reputation. With that in mind there are some pretty basic things that I think people should keep in mind with presenting themselves on the web:

  1. As nice as your breasts are, they are unlikely to help my SEO value
  2. Drunk photos of you peeing are also not helpful
  3. Much like Vegas, what happens on the Internet stays on the Internet
  4. If you could Google what happened in Vegas, we’d all be screwed.

btw, I read a great piece today called 8 Tips for Aspiring Entrepreneurs that had some really funny job related content and as a last minute edit I thought I’d share the link with you all.

Vertical Measures

As some of you already know, I do a little bit of SEO work for clients but my main business is actually as a technology consultant, not link building. I personally believe that when it comes to building your websites links it’s best to call in an expert which is why, although I’m very good at it I don’t proclaim to actually be one.

One of the sources that I do turn to when I need link building experts is Vertical Measures. They run a pretty informative blog on seo link building so it’s no surprise that I have their site as part of my own personal RSS feed, recently they’ve completed a few great articles which should be able to help most small business owners:

Hiring a link building company is just like hiring a search engine optimization firm, you need to take the time to understand what they’re going to do for you and also to discover that many of the top improvement strategies are things you can easily do yourself if you’re facing a limited budget.

I got a new page rank for Christmas

So this year I wasn’t sure what to get myself for Christmas but at the last minute I came up with the perfect gift, a new Pagerank. I know most of you are either saying that you have no idea what a page rank is or that you simply don’t care but to me, earning a promotion in my sites authority is a huge step and I truly want to say thank you to each and every person who’s helped me along the way.

So what am I going to do with my new fancy page rank of 5? (that’s right Bavota … I kick butt) well, I’m going to keep doing what I’ve always done I suppose, I’m going to keep writing content which I hope adds a little bit to the rich tapestry we call the Internet and I’m going to try  to help people learn about technology and with luck, I’m going to be able to keep linking to amazing websites who will in turn think something I’ve written is worth linking to.

Thanks to everybody who reads my blog, I love hearing from you and hope you’ve all had as great a holiday season as I have. Now if you’ll excuse me, it’s my anniversary and I have a turkey to cook.

Oops I did it again …

Over the past week I’ve been working on a couple new websites for clients and that has led me to re-examine my own website, frankly I wasn’t happy with what I saw so I took a little bit of time and redesigned the theme for my site to what you see now.

The site has been designed to be less of a blog and more of a feature set of my skills etc. but I also wanted to keep the blog part of the site alive, so I added a custom index page in WordPress and separated the template for pages vs. posts to appear different. The other major addition is some custom coding in the pages file which displays custom links for the Contact page and the new Blog page which features a category breakdown as well as the tag cloud for my site.

The sidebar and the homepage share custom content, called from hidden data stored as pages in WordPress. There is of course still RSS feeds and all the usual goodies that come with WordPress, since the new design is just a skin overtop the engine.

It’s easy to setup your domain name you don’t need to be an expert.

Setting our GoDaddy settings to point to BlueHost

OK so the other day I wrote about the fact that you don’t need to hire a web guru to setup your website using something like Blogger, WordPress.com or BlueHost and yesterday I told you how to setup your own domain name such at a hosting company like GoDaddy or Domains At Cost but how do you combine them? Again, this is painfully simple and not just for spiffy web guys like me. Anybody can do this, so lets take a quick look at how it’s done.

In this example, I’m going to assume that you’re hosting your website at BlueHost and you’ve registered your domain name with GoDaddy, if you’ve done it else where the steps should be fairly simple to modify with a little bit of common sense and reading their Frequently Asked Questions section.

First … we need to point the domain name to the hosting company. We do this by logging into GoDaddy and editing something special called the DNS records. You can find this under your account Domain Manager. If you have multiple domain names, it will display a list and prompt you to select the one you’re looking to modify. At the top of the domain profile, there’s a button called Name Servers, we’re going to click that and expose the Custom Name Servers option where we simply type the name servers for BlueHost. The name servers for BlueHost are:

  • ns1.bluehost.com
  • ns2.bluehost.com
BlueHost setup process

BlueHost setup process

Once that’s done, setting up your hosting account at BlueHost takes about 15 minutes and requires very little technical knowledge.

Now that you’re in the Add Domain screen, specify the name of the domain you wish to setup and the wizard should fill out the rest of what you need for you.
Please note, in order to assign a domain to BlueHost the first step at GoDaddy must already be complete, sometimes this takes a few hours so my advice is after you’ve completed the process at GoDaddy take a couple of dollars from the money you just saved and go have a coffee.
Now you’re done. Your website will take between 24 and 48 hours to propagate which is a fancy Internet term for point to the right place. Once it’s done you’ll be able to setup your own emails and put up a website at your new address, which I will talk about later this week  so why not sign up for my email notification or RSS feed to stay connected.
In the interest of being honest, BlueHost pays me to refer people to them but I’d do it anyways. While you’re waiting for me to write something else, feel free to comment on any of my existing articles.

Free WordPress Theme – Pink Flowers

Pink Flower Theme

Pink Flower Theme

I’ve just wrapped up another free WordPress theme for you guys, it’s a clean and simple traditional blog theme using a lot of pink. Some people have previously commented that some of my themes are a little bit less manly than they could be but there’s a reason I choose to do these themes in pinks and blues … because there are not a lot of themes out there in pink and blue.  

As with all my themes, this one is setup to be Search Engine Optimized and makes use of proper title tags, document hierarchy and W3C compatible xHTML / CSS so even if you don’t know a thing about making cool websites, this theme is already designed for you.

Speaking of design, a special thanks to designious.com for creating the awesome flower pattern and to Smashing Magazine for making it available for free.

One other note, this theme makes use of my really cool WordPress technique for showing both icons and text in your WordPress links.

The theme is 100% free, I designed it with an ad on the left hand sidebar but you can easily remove it in the sidebar.php file (it’s even commented) all that I ask is that you don’t change the footer, but even that’s optional. If you’re using it, I’d love to hear from you.

Simple tricks to speed up your WordPress website.

WordPress is a great tool but for those of us on shared hosting it’s important that as our web traffic increases we look at ways to decrease the amount of stress our sites put on the web server. I found a couple of wonderful suggestions on Lorelle’s website and I’ve added a few of my own.

There’s a couple of reasons for this, first we want to make sure our web pages load as quickly as possible but as importantly we want to ensure our website stays online. There are countless stories on the internet about websites that suddenly found themselves very popular and struggled to keep up with the traffic, only to have their account temporarily shut down by the hosting company.

WordPress is written in PHP and uses a MySQL database to serve up content. This is great except the content on your website doesn’t change all that often so why are you dynamically generating it for each visitor? Instead of rebuilding the xHTML for each visit, why not serve them a previously saved version? We call this caching a website and it can be done with the wp-cache plugin from Ricardo Galli Granada.

So the first step to increased speed of your WordPress website is to download and install the WP-Cache plugin. It allows you to set how many seconds between page caching as well as if any specific files should never be cached. Very handy. You should also make sure you’re on a reliable web host who can handle the traffic.

Diggproof & Speed up Your Wordpress Blog has a great and often overlooked suggestion. Upgrade your WordPress blog. This might sound silly but generally speaking the latest code releases for WordPress are stable and optimized, so taking a little bit of time to upgrade your site during each release is a solid idea.

Unused plugins can kill performance so before you go installing and forgetting about your plugins, make a habit of deleting unused plugins. Some people might assume deactivating them is good enough but personally I prefer to delete them.

Using a tool such as phpMyAdmin take time once a week to optimize your MySQL tables. If you don’t have access to phpMyAdmin, execute the following SQL statement from your command line to make sure your tables are in the best shape possible:

OPTIMIZE TABLE `wp_comments`, `wp_links` , `wp_options` , `wp_postmeta` , `wp_posts` , `wp_ratings` , `wp_terms` , `wp_term_relationships` , `wp_term_taxonomy` , `wp_usermeta` , `wp_users` , `wp_wpsb_users`

Arne has some great suggestions for MySQL Query Cache and PHP Compiler Cache options, they’re pretty technical but well worth it if your running into significant server speed issues. If you’re technical, give this article on how to configure Apache a read as well, it will help you optimize your whole site.

Paul Stamatiou makes a great point by writing “Every HTTP request, or loading each item on your website, has an average round-trip latency of 0.2 seconds. So if your site is loading 20 items, regardless of whether they are stylesheets, images or scripts, that equates to 4 seconds in latency alone“. So, take a good long look at your theme and determine what you really need in there. I saved a ton of time per page load by stripping out over 20 JavaScript calls and replacing them with PHP scripts which are cached once every five minutes. I also combined all my CSS files into a single file which decreased the number of HTTP requests my server had to take. Paul also have a great article on Compressing CSS with PHP that you should read if you still need to speed up your site more.

There’s another great suggestion from WPCandy that I’m extremely reluctant to do, but I know they’re right. First, use shorthand CSS so:

#commentarea li {
margin-top: 10px;
margin-bottom: 10px;
}

should become:

#commentarea li {
margin: 10px 0px 10px 0px;
}

You should also decrease whitespace (that’s the empty space between tags), sure it makes it look better but it also takes up bandwidth.

Finally, decrease your overall database calls. WordPress gives us all sorts of great functions in our templates but really do you need to call the website name from your database? The simple answer is no, so let’s decrease the over all number of MySQL queries by optimizing our templates. Replacing with your title for example will help decrease the server load.

I hope this helps, if you have any other suggestions for how to optimize WordPress and speed up the site please let me know.