debug width & height problem

replace width() & height() to css().