« Web, HTML, Tech Forum

Keeping blinkies centered and left-aligned

Posted by WildWorld

posted

Forum: Web, HTML, Tech

Anyone who knows how to do this? I want my blinkies to as a whole (the entire "set" of blinkies in mathematical terms) be centered on my About me-section, but with the blinkies themselves being left-aligned. I've been wrangling a bit with various CSS solutions, but no matter what I tried they were always either only left-aligned, as they are by default, or when I could get the set of blinkies to be centered, the blinkies within their "box" being centered as well.. The latter causes problems whenever I have an odd amount of blinkies, since the last one would end up being in the center, kinda between the blinkies above, rather than aligned with the rest of the blinkies.

I could just add a transparent dummy blinkie whenever I have an odd amount, but that doesn't account for very wide screens that might display them in rows of 3 instead of rows of 2.


Report Topic

2 Replies

Sort Replies:

Reply by rija

posted

try  <center></center>


Permalink Report Reply

Reply by WildWorld

posted

Alright, using that tag keeps the code a bit cleaner looking. I recently realized that even with a very wide screen the profile won't display more than 2 blinkies side-to-side at once, so I decided to go with this solution and adding a transparent dummy blinkie whenever I have an odd amount of them.


Permalink Report Reply