Are you trying to align a , like an icon next to text or a navigation item? CSS Cursor: Syntax, Usage, and Examples - Mimo
: If you have a small icon next to text, vertical-align: top (or sometimes middle ) prevents the icon from "sinking" below the text baseline. Quick CSS Example Use code with caution. Copied to clipboard
: Use this when you have a or acting as a button. The cursor: pointer makes it feel interactive, while vertical-align: top ensures it lines up correctly with adjacent labels.
