Home › Forums › CSS › Height auto should be whole number › Reply To: Height auto should be whole number
October 17, 2017 at 1:45 am
#261427
Vishal Somani
Participant
To display div in center we set margin as margin: 0 auto
Here Top & bottom is 0 but left & right is auto that may be decimal (fractional) value.
so can we restrict value must be whole number.