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.



I'm Just Sharing is where I share my thoughts on internet marketing, writing, blogging and many other things. You never know what I'll be posting on. So keep coming back, read, enjoy, and buy something! ;)


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