Kevin Powell - CommunityKP-C
Kevin Powell - Community16mo ago
12 replies
R.I.P

relative

hi
when i add a div with relative position with purple background and got nothing else in it

then added 4 or 5 absoloutes in it and it was perfect

then i had to add a button outside of it and as u can see it is down there

i added this display: inline-block; to relative div too so button goes beside it

so now i cant make the button come up not with margin atleast but when I add letter to the relative div it automatically fixes===>
<div>
sth(the letter)
<absolouts>
</div>

how to fix it and why this happens?
(if u dont undrestand do tell where u dont get it (dont tell all of it) :/ )
Capture.PNG
Was this page helpful?