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
2 answers

Logo moves a bit after opacity:1

I don't know why the code under here doesn't work here while it works on my website, but you can see it at http://www.bsrp.eu/tijdelijk/index.php . Basicly what happens, is that if you scroll down 1 page, the little logo in the upper-right corner…
Minegolfer
  • 276
  • 4
  • 18
2
votes
1 answer

Cursor position in relation to self.view

There are many answers to get cursor CGPoint within UITextView. But I need to find a position of cursor in relation to self.view (or phone screen borders). Is there a way to do so in Objective-C?
ekashking
  • 387
  • 6
  • 19
2
votes
2 answers

How to Change order of columns in gridview?

I want to change order of gridview columns (8th to be first, first to be second, second to be third...). I am filling my gridview (which has 9 columns) with data from text file. Code is here: public DataTable ConvertToDataTable(string filePath, int…
Nikola
  • 55
  • 1
  • 6
2
votes
2 answers

Removing spacing between input fields

There is some small spacing between the input fields that I have. How can I remove this? Additionaly the confirm button seems to have a different vertical position than the other elements, why is this? Screenshot below: .stockWrapper { …
Adam Griffiths
  • 680
  • 6
  • 26
  • 60
2
votes
2 answers

How to verify results of Pyephem

I want to see "in my sky" how many satellites I can see. I'm using this code: sat_alt, sat_az, sat_name = [], [], [] observer = ephem.Observer() observer.long = Longitude observer.lat = Latitude observer.date = TimeNow HowMany = 0 print "TIME: ",…
mikesneider
  • 772
  • 2
  • 10
  • 28
2
votes
1 answer

Manual color and conditional fill without overriding position_dodge in geom_point?

I am trying to create a scatterplot with connected dots. As I have several overlapping data points, I used position=position_dodge to separate them visually. At the same time, I am colouring the dots and lines with a preset vector of colours. I am…
Mehdi.K
  • 371
  • 4
  • 15
2
votes
2 answers

How to layer shapes in flexbox

I am currently using this solution for modified for my use case specifically here. When I originally saw the design I figured that I would make two divs inside one flexbox container, the div on the right would be z index'd above the one on the…
aisflat439
  • 936
  • 1
  • 9
  • 26
2
votes
1 answer

IE not recognizing top positioning on hover

I have some thumbnails that I want to display text/dark transparency over on hover. The way they're set up, the HTML calls the image and the text block immediately below. CSS pulls the text block over the image and changes the opacity on hover. This…
2
votes
3 answers

Placing image where i want HTML

I want to place this animated gif outside of the layout; basically I want it here: So I want that character over where the arrows point; what do I need to do? The website live demo: http://holamyphone.esy.es/privilegies.html The name of the gif is…
Ben Price
  • 39
  • 1
  • 6
2
votes
1 answer

Centering vertically - Position: absolute not working

I have been having problems when trying to center a div vertically. From what I have read I have tried with flexbox but failed and then I tried with position: absolute but also failed, e.g. HTML:

Hello World

Óscar Aguayo
  • 149
  • 1
  • 18
2
votes
0 answers

getline without advancing?

Is there a way to get the current line without advancing the position in the file? I have an iterator for files that only calls getline() when operator*() is called to avoid needless copying of lines into strings. The iterator simply moves the…
lo tolmencre
  • 3,804
  • 3
  • 30
  • 60
2
votes
1 answer

gnuplot xtic labels mispositioning with dates

Normally don't have problem with setting x tics but this one's defying solution for me. Plotting some values along a daily time series, so leading off with the commands set xdata time set timefmt "%m/%d/%Y" # the incoming dates are like…
D Collins
  • 85
  • 7
2
votes
1 answer

How do I return color based on X,Y coordinates from the screen?

This is for Delphi (7). I have been trying to find a pixel searcher for the screen, but without much help. At the most I found something that will take an entire screenshot and store it in a canvas, but I am not sure if that is really necessary, as…
Emily Adler
  • 73
  • 2
  • 12
2
votes
1 answer

positioning of bootstrap dropdown button with labels

Using bootstrap 3 I am trying to produce a row of labeled dropdown menus with a final query button. However the buttons are floating to the left of the labels due to the btn-toolbar CSS. Changing the btn-toolbar to float right produces a reversed…
cgflyer
  • 55
  • 1
  • 9
2
votes
2 answers

Firefox: How does overflow work with z-index and position fixed?

I am confused about how the CSS for z-index, overflow hidden, and position fixed work together in Firefox 3.6. Consider this example: The first DIV.fix_z0 is position fixed with z-index 0 and overflow hidden. Inside is DIV.abs_z1 with position…
Jared
  • 21
  • 1
  • 3