I'm trying to apply a vertical divider line in my header, but I can't figure out how to do it.

I tried borders, but they aren't tall enough.

Is there a better way to make a vertical divider line / vertical rule that is always the full height of my header?