Can't we refer parent height as reference when margin-top of child is given in percentage?
; }
No replies
Wed, 2017-11-08 11:24
Priya U
Offline
newbie
Hyderabad
Last seen: 5 years 12 weeks ago
Hyderabad
Timezone: GMT+5.5
Joined: 2017-11-08
Posts: 1
Points: 2
margin-top of a child node when given in percentage usually takes width of parent as reference instead of height. Can't we change the reference to height?