added min-width attribute as max-width worked in firefox but not chrome