2
I’m trying to make a div stay fixed at the bottom of the page, in the right corner, but not at the bottom of the page, so I used, as usual:
width:50px;
height:100px;
background:#fff;
position:absolute;
bottom:0;
left:10;
But div did not receive the property. I went to inspect element in the browser and under "left:10;" is an "Invalid Property value" notice. Can anyone tell me anything about this?
You have to indicate the unit
px
orpt
etc..– StillBuggin
Why it works with "bottom:0;" without the unit, and it doesn’t work with left and right?
– Tiago P.C
May be a browser limitation.
– StillBuggin