KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Basically, I want to center text, ignoring any floating sibling elements. At first, I thought this wouldn't be a problem, as I was under the impression that a floating element did not take from the width of any sibling elements. Example (I want the red text to be at the center of the blue box, despite the green text) How is this best achieved?
Tags (comma-separated)
Save Edits
Cancel