Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to Xbox Chaos: Modding Evolved

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
iBotPeaches

This Site
Fix Dem Award Spacing

2 posts in this topic

I dunno about you guys, but it seems anyone who has about 2+ awards, the 3rd/4th one is always offsetted and not aligned  I see this behavior in Chrome and IE.

 

Make a class called like inv-medal (individual medal) and give it display: block; margin: 0 auto;

 

That'll keep them aligned vertical via the block property which has pretty good support cross browser, and then a simple css center using margin 0 auto;

 

Hook that class to each MEDAL. Not the div around the medals. EACH medal.

Nate the Great likes this

Share this post


Link to post
Share on other sites

I dunno about you guys, but it seems anyone who has about 2+ awards, the 3rd/4th one is always offsetted and not aligned  I see this behavior in Chrome and IE.

 

Make a class called like inv-medal (individual medal) and give it display: block; margin: 0 auto;

 

That'll keep them aligned vertical via the block property which has pretty good support cross browser, and then a simple css center using margin 0 auto;

 

Hook that class to each MEDAL. Not the div around the medals. EACH medal.

 

I've always hated this.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0