Questions tagged [position]

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

In computing, position closely relates to the geometrical definition of a position or position vector, also known as location vector or radius vector, which is a Euclidean vector that represents the position of a point P in space in relation to an arbitrary reference origin O. Usually denoted x, r or s, it corresponds to the displacement from O to P.

In simplified terms, position is used in reference to the location of a 'child' entity within a two-dimensional or three-dimensional space, the boundaries of which are referred to as the 'container' or 'parent'.

9210 questions
2
votes
1 answer

Place image at bottom left corner of pdf with iText

I'm having some trouble placing an image in the bottom-left corner of a PDF document. Here's my code: PdfReader reader = new PdfReader("source.pdf"); PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(pdfTarget)); Image qrImg =…
redgiun
  • 145
  • 1
  • 1
  • 9
2
votes
1 answer

Android PopupMenu opening on wrong positions

I have a listView where each item has a button that opens a PopupMenu with options. Most of the time, these menus open at wrong positions (sometimes they open on correct positions), these random opens are not even consistent. Choosing an option in…
user6704969
  • 21
  • 1
  • 5
2
votes
1 answer

Android FloatingActionButton locates in wrong position

I am using the code below as the item layout in RecyclerView, the FloatingActionButton should be located in the bottom-end corner, but it appears on the top-start sometimes, I want to figure it out why this happening...
Guomato
  • 91
  • 1
  • 6
2
votes
1 answer

Spans vertical align with float

I have a problem with vertically align 3 spans inside a div. It's easy to achieve, but vertical align doesn't work when i use float. I want that lightblue bar to be vertically centered. Code: .container { } .text-1 { float: left; …
zyks
  • 521
  • 1
  • 4
  • 12
2
votes
2 answers

jQuery animate DIV using "position"

I want animate this: $("#movethis").position({ my: "center top", at: "center bottom", of: "#nav1" }); How do I do it? ... It's kind of an oddball one, and I can't find any examples. ///udpate: got a work around. Would still prefer to do the…
Dave
  • 8,879
  • 10
  • 33
  • 46
2
votes
1 answer

r ggplot geom_bar grouped position

I want a barplot showing prevalence~delta, grouped on the x axis by omega. Delta has 8 levels and omega has 5. I would like my plot to look like this example: the code for this plot is: ggplot(data=dat1, aes(x=time, y=total_bill, fill=sex)) + …
E.A.
  • 21
  • 1
  • 2
2
votes
3 answers

Checking if position in a list of lists is true or false

I'm trying to write a function that analyzes a given list of lists for a specific position and returns True if the position exists and False if it doesn't. For example, if the list of lists that we'll call "list2" has 7 columns and 5 rows…
2
votes
1 answer

How to get position() per parent of all child

Hi I need to get position of all element that have attribute "data-branch" per parent - .components
  • item

  • item

  • item

JanuszFrontEnd'u
  • 451
  • 6
  • 14
2
votes
4 answers

Unreplicable ie11 css/font loading bug

I've been working on a website that was made with Drupal. The site has a blog section that has been made in Hubspot. (I don't think that matters too much, it's just to note that the normal site and the blog are seperated). I've tested the blog…
Mosh
  • 461
  • 5
  • 20
2
votes
1 answer

Android | SetY and SetX values

So we have this two methods where we can change the (x,y) position of a view on the screen, but my question is what is their value set exacly? Is it the position of the Top-Left corner of the view? the position of the center of the view? Bottom-Left…
user12597562891
  • 141
  • 1
  • 2
  • 7
2
votes
0 answers

CodenameOne playing video / size and position

just another question: I want to play an intro video when starting my app. It should be stretched to the display's width automatically. Unfortunately I don't know how to set the size and the position of the video. I place it into a Form but it…
Guzzer
  • 161
  • 5
2
votes
3 answers

Most Efficient Way to Find Leftmost div?

Using jQuery or straight Javascript, I'm looking for the best way to find the leftmost div (or in general the DOM element with the minimum or maximum position on either axis). So far I have two solutions: Iterate through the div objects that I…
Ian Butler
  • 107
  • 1
  • 9
2
votes
0 answers

Fixed button in mobile devices

I would like to have a shopping cart button fixed to the bottom of the screen in mobile devices. By pushing it, the content of the cart is shown. I managed to do this, but it acts quite weird - at least in my Android phone. When I scroll up the…
2
votes
1 answer

Stacking issue caused by CSS animation

I have a search area at the top of a homepage I am trying to build. The search area consists of one text input and two dropdown boxes, as well as a submit or "Search" button. I have tried to add a fade in animation from animate.css to the Wordpress…
2
votes
0 answers

How to set werl.exe window size and position in the .erlang configuration file?

Does anyone know if there is anyway to set the windows size and position for werl.exe in the .erlang config file? Or set it to keep the position from last time? I have already configured the starting directory and found a cool IO effect. So my…
Skillzore
  • 748
  • 7
  • 21
1 2 3
99
100