Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Position problem Re: Position problem

#111440
xpy
Participant

@Paulie_D I never mentioned “absolute” but anyway…
I don’t really know what is the desired result in @albertdt6 case, but I just believe that if you want to position an element you should use top, right, bottom and left. Margins and paddings are supposed to be just for margins and paddings. But maybe that’s just my opinion.

Just for the info, in case of a percentage margin for top and bottom the value is calculated in relation to the width of the parent element and not the height… [https://developer.mozilla.org/en-US/docs/CSS/margin](https://developer.mozilla.org/en-US/docs/CSS/marginhttps://developer.mozilla.org/en-US/docs/CSS/margin”)