this post was submitted on 23 May 2024
781 points (95.9% liked)

Ask Lemmy

27277 readers
3281 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try [email protected] or [email protected]


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

Edit: Due to popular demand FatTony Search servers are down for the time being. but has gone open source just in time (Yes that's how it works ๐Ÿ˜ก) . You may now get responses from other users. Servers will be back up some time later.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 11 points 7 months ago (2 children)
[โ€“] [email protected] 6 points 7 months ago

You can center the text in a div with text-align: center

[โ€“] FatTony 6 points 7 months ago (1 children)
<div>
justify-content: center;
align-items: center;
</div>
[โ€“] [email protected] 4 points 7 months ago* (last edited 7 months ago) (1 children)

Pretty sure that's wrong. Did you put cash styling in the attributes?

<div style="margin: auto;text-align: center; justify-content: center;"></div>

This would be my answer, from the cache in my head I'm not sure if it's style or styles.

[โ€“] FatTony 15 points 7 months ago (1 children)

And hence the real answer emerges. FatTony Search wins again ๐Ÿ˜ˆ

[โ€“] [email protected] 4 points 7 months ago

I'm doing my part