PDA

View Full Version : Need advice from Graphics experts - Problem


EyeintheSky57
07-23-2009, 02:36 PM
Hi all,

I hope someone here knows what is going on with this.

The Issue:

I have uploaded some small (18x18 pixels) icons into the postbit as links to Myspace, Twitter, Facebook, etc.

After being upload, a strange line appears between them. <See Picture>

http://gunclangaming.com/forums/images/misc/iconprob.JPG

I use XnView for basic resizing and cropping. They are a combination of .jpg and .png (tried combos of both).

Here is the code:

<if condition="is_member_of($bbuserinfo, 2, 6, 7, 9)">
<if condition="$post['field11']">
<a href="http://www.facebook.com/$post[field11]">
<img alt="My Facebook" border="0" src="http://gunclangaming.com/forums/images/misc/facebook.gif" border="0"/>
</if></if>
<if condition="is_member_of($bbuserinfo, 2, 6, 7, 9)">
<if condition="$post['field12']">
<a href="http://www.myspace.com/$post[field12]">
<img alt="Myspace" border="0" src="http://gunclangaming.com/forums/images/misc/myspace.gif" border="0"/>
</if></if>
<if condition="is_member_of($bbuserinfo, 2, 6, 7, 9)">
<if condition="$post['field13']">
<a href="http://www.playfire.com/$post[field13]">
<img alt="PlayFire" border="0" src="http://gunclangaming.com/forums/images/misc/playfire.png" border="0"/>
</if></if>
<if condition="is_member_of($bbuserinfo, 2, 6, 7, 9)">
<if condition="$post['field14']">
<a href="http://www.twitter.com/$post[field14]">
<img alt="Twitter" border="0" src="http://gunclangaming.com/forums/images/misc/twitter.png" border="0"/>
</if></if>

I am a vB newbie. Just hoping for any help you can offer.

Thanks.

Jeremy

www.gunclangaming.com/forums

Zachery
07-23-2009, 03:47 PM
You didn't end any of your html links, you start <a href=blabla><img> then go on to make another if condition and more <a> But you never ended your first <a> tag.

<if condition="is_member_of($bbuserinfo, 2, 6, 7, 9)">
<if condition="$post['field11']">
<a href="http://www.facebook.com/$post[field11]">
<img alt="My Facebook" border="0" src="http://gunclangaming.com/forums/images/misc/facebook.gif" border="0"/></a>
</if></if>
<if condition="is_member_of($bbuserinfo, 2, 6, 7, 9)">
<if condition="$post['field12']">
<a href="http://www.myspace.com/$post[field12]">
<img alt="Myspace" border="0" src="http://gunclangaming.com/forums/images/misc/myspace.gif" border="0"/></a>
</if></if>
<if condition="is_member_of($bbuserinfo, 2, 6, 7, 9)">
<if condition="$post['field13']">
<a href="http://www.playfire.com/$post[field13]">
<img alt="PlayFire" border="0" src="http://gunclangaming.com/forums/images/misc/playfire.png" border="0"/></a>
</if></if>
<if condition="is_member_of($bbuserinfo, 2, 6, 7, 9)">
<if condition="$post['field14']">
<a href="http://www.twitter.com/$post[field14]">
<img alt="Twitter" border="0" src="http://gunclangaming.com/forums/images/misc/twitter.png" border="0"/></a>
</if></if>

EyeintheSky57
07-27-2009, 02:02 PM
Thanks Zachery.

Error carried forward.

Thats what i get for Copy and Paste... and then never looking back at the simple code.

Much appreciated.