Styling the product / portfolio page


Hi guys,

I’d be very interested in knowing how this user managed to align his social icons in a straight line like that. I’m not sure why, but on our items/profile page, anything we try (including his code) turns out looking like this:

Any clues on how to get rid of the extra spaces?


nobody at all?


I think the user @multifour is using some inline stylings to get that right. You are getting some inherited margins and spacing that might be causing the icons to fall down. just try to use a bit of CSS and HTML and you should get things right.


If only it were that easy… I tried this:

Follow us on Dribbble Twitter Facebook Behance

still no go. Not sure what else to do. Tried display: inline-block too. still no good.


Help?! Anybody?


Try this:

<p><img src="" alt="Follow us on" /><a href="" rel="nofollow"><img src="" alt="Dribbble" /></a><a href="" rel="nofollow"><img src="" alt="Twitter" /></a><a href="" rel="nofollow"><img src="" alt="Facebook" /></a><a href="" rel="nofollow"><img src="" alt="Behance" /></a></p>

Tip: Don’t let spaces or press enter at the end of each line every time.


Nope still doesn’t work. You probably copied his work but inline styles are stripped by Envato. Still no go.


Mostly i use this kind of code on my portfolio:

<img src="" style="border-style: none"><a href=""><img src="" style="border-style: none"></a><a href=""><img src="" style="border-style: none"></a><a href=""><img src="" style="border-style: none"></a><a href=""><img src="" style="border-style: none"></a>

I test it before, it works 100%. Try it!


Thanks for the input,b ut still not good. Any other tips guys?


I think something do wrong. As i told you i use this kind of code on my portfolio.
I test this code i send you before at my envato profile, just to see the result and i had all images in 1 line.

Now, about “border-style: none”, i use this because for some reason (as i remember i had the issue on internet explorer) in some browsers envato profile shown with border. I don’t know if was a bug, from then i use it until today without problems.

Sorry, but i can’t help you more…


Hmm, I definitely did something wrong. Not sure what, but now it’s fixed that I try again. You’re awesome, thanks so much!


Update - in my greed of having stuff aligned pretty like I do with my code, I pressed enter between images. That’s the probl.

Special thanks @odiusfly


No problem!!! : -)
Yes as i told you above, no spaces, enter, but ok… all good now, cool!