Alignment of images in Wordpress 2.6
Published in Programming, Wordpress | Tags: css, Wordpress, wordpress 2.6
If by chance have done the upgrade to Wordpress 2.6 then surely noticed the way (different!) That Wordpress uses to align the images in the posts. After several different items have failed to insert images as desired by deicide "a spin" the web looking for a solution, and there found a way to soluccionar my problem of aligning images in posts.
The problems I had with this new system have been resorted to when class = "alignleft" class = "alignright" or class = "aligncentered" because to me the images aligned properly but the text was not aligned correctly in relation to the image .
The solution to this problem, if so we call it, is simply adding the following code in the file stylesheet.css your template.
img.alignright, div.alignright (
float: left;
margin: 0 0.5em 0.5em 0;
)
img.alignleft, div.alignleft (
float: right;
margin: 0 0 0.5em 0.5em;
)
img.aligncenter, div.aligncenter (
text-align: center;
margin: 0 auto;
)
With this code added in your stylesheet.css should not have more problems with the alignment of images, as you can see in this post just tested the new code.
Appeal: wprocks.com
3 Comments to "alignment of images in Wordpress 2.6"
Post comment
Translator

Popular Articles
- Greasemonkey - Best Script for
- The best themes for Firefox | 20 themes compatible with Firefox 3
- 14 wallpapers for Windows 7
- How to connect your PC or laptop to TV
- Receive e-mail from Hotmail in Thunderbird (updated)
- Introduction to Greasemonkey
Recent Articles
- Best Antivirus and Internet Security 2010
- Download videos from Youtube in HD 720p and 1080p Full HD
- Installing Slackware 13
- Find links on Twitter
- English Spell Checking Add-ons
Categories
- Blogging
- Downloads
- Firefox
- Greasemonkey
- Internet
- Iphone
- Linux
- Programming
- Security
- Sites
- Slackware
- Windows
- Wordpress
www.digga.com.br says:
Alignment of images in Wordpress 2.6 | Kerkeberos.net - Technology and Information ...
If by chance have done the upgrade to Wordpress 2.6 then surely noticed the way (different!) That Wordpress uses to align the images in the posts. After several different items have failed to insert images as you want ...
Márcio Gomes says:
Man, was what I needed! He had this problem for months, and could never solve. The only viable solution for me was to return to the old code ".
Thanks for the tip
Ferdinand Ramos says:
Content 100%. I close my blog and was what I was looking for!