Top "Position" questions

Position refers to the location of an element relative to its container, typically on the horizontal and vertical axes.

CSS display: inline-block does not accept margin-top?

I have an element with display: inline-block, but it doesn't seem to accept margin-top. Is this because the element is …

css position label margin
How to set position in spinner?

I read with BufferedReader text from a system file; this text contains, for example, 5 WORDS, but in another case it …

android file position set spinner
Is it possible to keep the width of the parent element when position: fixed is applied?

When we apply position:fixed to an element, it's taken out of the normal flow of the document, therefore it …

css position css-position
Git alias with positional parameters

Basically I'm trying to alias: git files 9fa3 ...to execute the command: git diff --name-status 9fa3^ 9fa3 but git doesn't …

git command parameters position alias
CSS position element "fixed" inside scrolling container

i wonder if anyone has found a solution for this? i am looking for a solution to attach an element …

html css position
Margin-right broken on width 100%

I have a DIV containing an image and a second DIV. The parent DIV is set to position: absolute; the …

html css position margin
css footer position stick to bottom of browser?

I'm having a problem with my site http://artygirl.co.uk/pixie/about/ I can't seem to get the footer …

css overflow position footer fixed
floating nav to the right with a fixed position?

My site navigation needs to be floated to the right side of the container, but be in a fixed position …

css position css-float css-position
Is there any way for "position:absolute" div to retain relative width?

Let's say I have two divs, one inside the other, like so: <html> <body> <div …

html css position absolute
Android - Set Layout_Gravity programmatically for LinearLayout

I've got the following problem: I implemented a HorizontalScrollView which contains in one case a LinearLayout and an ImageView. In …

java android position android-linearlayout layout-gravity