Converted table layout to CSS layout