Home › Forums › CSS › [Solved] Trouble with float vertical alignment › Reply To: [Solved] Trouble with float vertical alignment
I guess I just didn’t play around enough (or was doing so in too-complex an environment) because hacking around on codepen I think I just stumbled on an almost-solution (after re-reading https://css-tricks.com/absolute-positioning-inside-relative-positioning/). Here’s a new pen that solves the problem for the most part using absolute positioning within the containing div: http://codepen.io/jkj/pen/eFwKL
The only issue I have with that solution is the right: 30%;
to line up the stock count. Ideally, I would want that div to move with the customer info one (i.e not also require a top: 0
and not require the right: 30%
but instead just float correctly). I think I am one step closer to the optimal solution however.