css approach to the problem