Use correct css weight attribute