I’ve a class for text.In my windows chrome browser,it is displaying correctly but in mac chrome browser.For eg: if my name is John duash,it is displaying John in one line and dispalying duash in second line in mac chrome.
How do i fix this ?
.text{
position: absolute;
margin-top: px;
margin-left: px;
}
Thank you.
you should use like :-
Position Absolute doesn’t consider margin’s
so we can use
positionfromtop:0px; left:0px; right:0px; bottom:0px;rather than marign’sDEMO