Social Media, SEO & Your Business

by Mitch Mitchell





Using Your Website
As A Marketing Tool

by Mitch Mitchell



Embrace The Lead
by T. T. Mitchell





Keys To Leadership
by T. T. Mitchell





Free Download; right-click on book


T. T. Mitchell Consulting, Inc

Promote Your Page Too




Follow Me On Twitter;
Click The Bird!



Listed on BlogShares



«
»


Centering Images in WordPress 2.6

Posted by Mitch Mitchell on Aug 12, 2008

This is going to be a relatively short post, for once. I’ve always had problems centering images on this blog, which has limited me to always having to have the banner ads below my posts, plus not allowed me to add any image ads to the side of my blog.

I went online to do lots of research, and learned that a lot of people were having problems centering anything on WordPress 2.6, so I wasn’t alone. I read lots of tips, but none of them applied to my situation, and I realized pretty quickly that all these blog templates are pretty different because all the creators did something just slightly different than everyone else. And I realized that my problem was contained within the CSS file, which many people probably shouldn’t try to mess with.

But I’m not “many” people, so I went searching. I tried a few things here and there, always remembering what I did so I could take it back. Finally, I saw down near the bottom a tag that said “Images”, and saw that it was left justified. So, I changed that from “left” to “none”. Lo and behold, my image centered, and all life is grand once again.

Doesn’t mean I won’t continue posting banner ads, but now I have more choices of what I can do. This may not work for everyone, but if you decide to go looking and find something like this, it just might work for you. Good luck, but be safe and always remember what you did.

Muppet Show Season Three



Tags: , ,

6 Comments »

I’ve been centering images for ages by wrapping some html code around the image. Works like a charm every time. I actually did a post on it somewhere. Yep, How to centre objects :D

Sires last blog post..Going One Better Than You Comment I Follow Crap

August 15th, 2008 | 6:56 PM
Mitch:

The thing is, that code doesn’t work when it pertains to WP 2.6. It’s all over the internet, with many different ideas on how to correct it. Turns out to not be only one solution to the problem.

August 15th, 2008 | 7:49 PM

That is strange Mitch because all my blogs are 2.6 and I am starting to update to 2.61. The thing is you have to use it whilst in html mode.

Sires last blog post..Going One Better Than You Comment I Follow Crap

August 15th, 2008 | 7:56 PM
Mitch:

Trust me, I know. Remember, I know a lot about HTML myself. But after upgrading, it just didn’t work anymore, and after researching it I saw that many other people were complaining about it also. The new update doesn’t address it, as I went and read through the specs, and the recommendation was, if your blog is working fine, you don’t necessarily need this update.

August 15th, 2008 | 8:32 PM

I must be lucky then Mitch because all my blogs work fine. How do you figure?

August 15th, 2008 | 9:12 PM
Mitch:

I’m not sure; lucky, I guess. lol

August 15th, 2008 | 9:25 PM