Automatically adjust div's width using CSS