Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] How to style image based on alignment ? (http://forum.bytesforall.com/showthread.php?t=15101)

sober Aug 12, 2011 01:39 PM

[SOLVED] How to style image based on alignment ?
 
I would like to have my centered images have a border whereas no borders for right and left aligned images. Is that possible ?

lmilesw Aug 12, 2011 02:12 PM

I believe the left and right aligned images have their own unique class. You could determine what that is with Firebug and then apply the necessary CSS.

juggledad Aug 12, 2011 02:17 PM

try this
HTML Code:

.post img.alignright {
        margin: 0 0 0 0;
        padding: 0;
}


sober Aug 12, 2011 06:13 PM

Thanks juggledad, it works like a charm...:)


All times are GMT -6. The time now is 04:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.