Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] Remove whitespace between images because of new line in code (http://forum.bytesforall.com/showthread.php?t=6381)

marced Mar 21, 2010 02:15 PM

[SOLVED] Remove whitespace between images because of new line in code
 
Hi all,

I am using the twitter followers plugin on my website, which is showing the icons of some of my followers in the sidebar. There is a small whitespace between all the images, which I don't want, I want all the images to stick to eachother.

Of course I tried some things (used css display option), nothing works. I also think I know why it probably shows these spaces. It's because between all the <a href></a> blocks, the code goes to the next line, which creates a white space by the browser. But can;t solve this, cause it's because of a FOR loop in the PHP code.

How can I solve this?
On the plugins page there is a screenshot with no spaces, but nobody helps there...

Hope you guys can!

lmilesw Mar 21, 2010 06:32 PM

Could you supply a URL?

marced Mar 22, 2010 07:17 AM

Sure: http://www.marced.com

lmilesw Mar 22, 2010 08:41 AM

I like the white space between the pictures but you can eliminate it by putting the following code in the Atahualpa CSS Inserts
HTML Code:

.twitter-followers img {margin:-2px !important;}

marced Mar 26, 2010 06:06 AM

You're the best, works like a charm!!! Didn't know it was quite that simple.

Thanks again!


All times are GMT -6. The time now is 03:54 PM.

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