Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centering Friends within the friend container #23

Open
zkhalapyan opened this issue Dec 18, 2011 · 1 comment
Open

Centering Friends within the friend container #23

zkhalapyan opened this issue Dec 18, 2011 · 1 comment

Comments

@zkhalapyan
Copy link

I removed the width attribute from the #jfmfs-friend-container to let the container expand to the parent div's size but now the friend icons are left justified. This produces a large white spaces from the right side of the container. I tried to play around with the float attribute with no avail - any suggestions how I would be able to fix this?

@joeytheman
Copy link

This is due to the .jfmfs-friend elements being floated left. Remove the float then add display: inline-block; vertical-align: top; to .jfmfs-friend and text-align: center; to a parent container div.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants