width/height value have more priority than right/bottom