As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [position]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Why are these GameObjects in Unity VR keep spawning at 0, 0, 0?

In my Unity VR project, I implemented an eyetracking-feature according to this tutorial: https://www.youtube.com/watch?v=ZoySn7QlMfQ This solution requires the usage of the InteractionRigOVR (see ...
Milan Frinken's user avatar
0 votes
0 answers
17 views

what can i use instead of position: absolute to keep an image on top of another image in React?

I have mapped an array with that renders a of a thumbnail Image and a {background img} over that thumbnail that has Content:title, description, date I am able to map over the blogs and render these ...
gypsyS0ul's user avatar
0 votes
0 answers
10 views

How do I maintain consistent positioning for desktop portion of my website as screen size changes?

https://github.com/FindleyDrummond2005/Unit13-L2-Website Im having a big problem in how to change the size and positioning of the desktop part of the site so it stays in similar positions when the ...
Findley Drummond's user avatar
0 votes
0 answers
21 views

Movement of an object in a straight line towards a moving object

I have a 3d object that is moving towards another object - a target that changes direction along the y axis. The problem is that when the target changes direction, the 3d object starts moving in an ...
Operator's user avatar
-1 votes
0 answers
11 views

how to place a letter at the center of a slider thumb?

I'm trying to add a tag / label letter at the center of a slider's thumb, so that a user does not get confused with multiple sliders. I get an issue with the positionning of the label : It will move ...
Chris's user avatar
  • 1
0 votes
1 answer
28 views

How can I make the username have a solid background so it doesn't show the text it overlaps?

As you can see, the username "ladybug" overlaps,but I want a solid background so that the larger text in the back doesn't show. My intention is for people's ability to see which user typed ...
kakashiz yo's user avatar
0 votes
0 answers
29 views

How can I ensure any drawing is done on top of any html elements?

I am trying to create a pop up over some images when the images are selected by clicking (and launch is then clicked.) I have used .createImg() to make the selectable images (the planets), as they ...
Elliot Cullen's user avatar
-1 votes
1 answer
24 views

How does setting parent position to relative and child position to absolute affect div centering with translate?

I want to understand what does setting the position of the parent to relative and then setting the position of the child to absolute do, I have seen people use this technique many times? When I tried ...
TopTierCoder's user avatar
1 vote
3 answers
65 views

PHP program to exchange first and last characters in a string [duplicate]

I am trying do to this exercise: "Write a PHP program to exchange the first and last characters in a given string and return the new string." The thing I've tried to do is this: function ...
W.inTech's user avatar
0 votes
1 answer
18 views

Generating a mesh in Unity: How do I set triangle vertices to align with points from the next GameObject?

I want to generate a mesh in Unity. I have GameObjects (segments) that contain GameObjects (points). To create a triange mesh, I set two of the three triangle vertices to the two points of the current ...
doc4's user avatar
  • 3
0 votes
0 answers
9 views

Changing the Position of a button inside a Picturebox

Im currently tryng to make a checker program using c# and windows forms. I sorted out how to make a checker box using the PictureBox Object and how to use rounded Buttons as dimes. The catch is that ...
Jacopo Balzarin's user avatar
-1 votes
0 answers
9 views

Map zoom works but points move from original coordinates

I add points to Google Maps, but when I zoom in on my map, the points don't follow the new zoom position on the map but exit their original location. Pratically Points do not zoom in on the map and ...
user21925593's user avatar
1 vote
1 answer
21 views

How can I change the position of the legend in this R-code?

library(robfilter) res <- robust.filter(cow,width=7) plot(res) ind <- which(res$ol!=0) points(ind,cow[ind]) I want to have the legend in the top left corner, but when I write a legend command ...
lowerCamelCase's user avatar
0 votes
0 answers
15 views

Rotating and positioning gameobjects in a zig-zag pattern

This is a follow-on from the question I asked here, but it's potentially complicated enough that I felt it deserved its own question. Thanks to the advice of derHugo I have a long straight street of ...
Seona's user avatar
  • 43
0 votes
2 answers
24 views

Rotating and positioning a row of gameobjects without gaps

I have a prefab of a house with a bit of road attached, like so: I want to arrange these side-by-side to create a street, but I also want to have them at a slight angle so that the road seems to head ...
Seona's user avatar
  • 43
0 votes
2 answers
30 views

locate button in a given distance from other

we need to locate 8 buttons in a shape of half circle with equal distance from another button like shown in picture below: (https://i.stack.imgur.com/F0R75.png) we tried to use positioned widgets but ...
מאי כהן's user avatar
0 votes
0 answers
10 views

How to stop the part of a React Native component (with it's position absolute) that is outside the parent component from being translucent

I have an app which displays it's users and there is a small button (on the component that displays user information) that makes (the child component) a list with action buttons to pop up. The problem ...
Manil Malla's user avatar
-1 votes
1 answer
36 views

How to get the position xy of mouse pointer relative to the application window? - macOS

I want to know the current location (xy) of the mouse pointer relative to the application window, and feed it to the state variable positionME. Why does this throws errors? Value of type '...
KangaRoo's user avatar
1 vote
0 answers
30 views

How do I implement a 'Look at' function in MATLAB

I have two 4x4 homogeneous transform frames, A and T. A is moving with time and T is stationary. I'm trying to create a function that rotates T such that it is always looking at A but doesnt move its ...
Osz's user avatar
  • 11
0 votes
0 answers
16 views

Can an iPhone Accelerometer/magnetometer be used to detect when an object has reversed direction?

I am trying to code for an application where when an iPhone is attached to a device, it can detect when the device has reversed direction. So far, I have been focused on trying to extract velocity ...
erkn's user avatar
  • 1
-2 votes
0 answers
30 views

Place tk.Label in GUI

I am trying to set-up a GUI using Python 3.11. If I uncomment the lines below, I get my correct label in the correct position (left) and another centered label. If I run it with the second block ...
paladin7429's user avatar
-1 votes
0 answers
43 views

I can't put the things I want inside the div

I want to put an image and text inside the div, but abnormally, the image and text are not attached to the div, they are attached to the top and when I put the div, they are fixed to the bottom. It ...
CenTIk254's user avatar
-1 votes
0 answers
19 views

How to make my HoverCard appear on top of all

im using Mantine React Table to render tables , in the cell of the table i have a badge and when i hover on that badge i want to show my HoverCard .. i have a problem with the display of that ...
Aziz Boughattas's user avatar
0 votes
0 answers
34 views

Why is the bootstrap icon on the left and not the right?

Why is the bootstrap icon on the left and not the right Meanwhile, on the bootstrap page, the icon appears on the right How to set and change it image 1 image 2 I want the end result to be like this ...
Papazy's user avatar
  • 1
-1 votes
1 answer
25 views

Invisible buttons appearing in header despite not being in HTML code

I have a header with four buttons that are all visible and positioned correctly when I view my webpage. However, when I inspect the header element in my browser, I can see that there are also four ...
Omer Giladi's user avatar
0 votes
1 answer
46 views

Search Bar Floating between 2 Container

enter image description here Hi, I really want to make the search bar like this, but I can not. In spite of using Stack for that and the result is just like enter image description here import '...
Hieu Trung's user avatar
0 votes
0 answers
24 views

screen character position control in scheme

Is there a scheme procedure that would facilitate printing a default string on the screen for possible editing (using left/right arrow keys) as the next input string to the program? I guess I'm ...
Trenton J's user avatar
-1 votes
1 answer
25 views

Embed Positioning

I am currently attempting to center an embed between an image and the center of the screen. To achieve this, I utilized https://rss.app/ to embed the NBA portion of Google News into my website. If you ...
Dimitri Saha's user avatar
0 votes
1 answer
21 views

How to attach an image to another html element?

I have a mat-card in the center of my page. An img is now placed behind the mat-card, in the right top corner. This is the current html-part: <main class="site-content"> <img ...
Sarah's user avatar
  • 21
-1 votes
1 answer
19 views

Positioning a div element near another one with javascript (I do not have much experience with javascript)

I tried to position a div element at the right of the other div when the mouse is hovering it. I have to do this operation with more than one couple of div. I solved the hovering problem, the only ...
MUMAH's user avatar
  • 1
1 vote
1 answer
24 views

how to make messages from different users on opposite sides in chat box

Every message I send is shown one after another but on one side , usually on the left ,I need help on moving messages from different users on the opposite sides , one on the left one on the right and ...
Avenger's user avatar
  • 11
0 votes
1 answer
46 views

I want to insert Text in special position only in Line 5

I have a Text file . In this Text File I want only at Line 5 the word "hello world" geting insertet starting at position 10 and output the file. Anybody has an Idea? thanks very much. Sorry ...
Firtina61's user avatar
0 votes
0 answers
31 views

Why my z-index dont working correctly on my divs?

I would like to ask, why my z-index don´t working? I building a website with section with top teachers. There are 3 cards and I want to set medails on this cards. I would like to have .medal behind ....
Jiří Nováček's user avatar
0 votes
0 answers
19 views

Position absolute div inside overflow x auto div is getting clipped

I have created a div with overflow x auto and a child div which has position absolute. Child div is getting clipped. I tried using z-index but its not working. How to override overflow x auto and make ...
Meghana's user avatar
0 votes
0 answers
33 views

BigQuery CSV Upload - Failed to Create Table

I'm new to BigQuery and trying to upload a CSV. I keep getting various versions of this error: Failed to create table: Error while reading data, error message: CSV table references column position ...
Mindy Geschke's user avatar
0 votes
0 answers
28 views

How to calculate min height related widget for slide_up_panel in flutter?

I'm using slide_up_panel package. I want to give min height for slide_panel which stays under the widget what replaced on the body. How can I achieve this? I want that my panel stays under the ...
Lala Naibova's user avatar
1 vote
1 answer
95 views

Chess pieces position on physical board to a matrix using opencv

Alright, so what I'm trying to do is; using a web camera take a photo and from that photo extract the position of the chess pieces on the board and write them on a matrix, or a list, doesn't matter ...
SmartlessName's user avatar
0 votes
2 answers
82 views

How to change Ko-fi donation widget position?

I am writing a small web app and I would like to add a donation button by using the ko-fi donation widget button. The result is something like this: My goal is to change it's position for example by ...
Federico Gentile's user avatar
0 votes
1 answer
46 views

CSS keyframe animation - position: how to place a circle exactly on top of the cone?

I am working on CSS keyframe animation and trying to move a circle on top of a cone, which will look like an ice-cream. I use the absolute position but unfortunately it does not work for me. I try to ...
Yannie Pang's user avatar
1 vote
2 answers
55 views

Create Sort ID column as if Cascade Sorting two columns of data in excel

I have two columns, Days and Value. Trying to create an excel formula to populate third column that ID's what position that row would be in, if were to cascade sort the two columns. First by Value (...
Ben.Name's user avatar
0 votes
0 answers
18 views

Change Smartsupp Chat position dynamically

I installed a Smartsupp chat on my site, fully functional, added at the bottom right of the page; I then inserted a sticky shopping cart when the static cart is passed, but it is positioned under the ...
EnricaS's user avatar
  • 31
0 votes
0 answers
15 views

I'm making a Match making system in roblox, but for some reason the game manager breaks after the 1st round

So I'm making this match making system in roblox, the way how it goes is 3 players for two teams, if either team scores then the teams will swap roles and begin a new round, in general the game ...
BananaBoater's user avatar
-2 votes
1 answer
25 views

How can i make the image on the right of the text

i would like to have the text on the left, then the image on the right and reduce the volume (height and weidth of img) . enter image description here
ouahabb's user avatar
0 votes
0 answers
17 views

how to make the cards pull up and down depending on the space available, [duplicate]

Here's what needs to be done: That is, the blocks can be different heights, but there should be no empty spaces I tried it with both flexbox and grid, but nothing works. please help. i even asked gpt,...
Иван Пухов's user avatar
1 vote
0 answers
34 views

In python Turtle, set correct turtle position

I will try to explain what I mean. I'm working on a Pong game version. I've placed to paddles next to the borders. One for player1 and one for player2. Inside the game window, created using Screen ...
Matteo Linux's user avatar
-2 votes
1 answer
29 views

How to make a div to the center of a div that is in the center of another div? [duplicate]

I'm looking to make an alternative WhatsApp sticker using HTML and CSS like the code below: #square { width: 161.5px; height: 161.5px; background-color: rgba(17,27,33,0.1); border-radius: ...
Jordy's user avatar
  • 1,782
-1 votes
1 answer
37 views

Positioning Absolute Relative to Dynamic Height

Wanting to position an overlay on top of images that may have different heights. The position that I am hoping to is similar to this: The parent container in this image has these properties: display: ...
Nick B's user avatar
  • 9,227
0 votes
0 answers
13 views

Css relative position does not work when I try to adjust top to it [duplicate]

I tried to position the form a bit more down with position relative, top 50% and left 40% where only left 40% worked and the top did not work and I do not know why and do not know how to fix it. ...
Cedio 's user avatar
0 votes
0 answers
16 views

Determine touch position with JavaScript

For this page, I managed to get the position of my mouse to modify the dimensions of my divs and create this effect. I get the position of my mouse with this code let root = document.documentElement; ...
Theoalran's user avatar
0 votes
0 answers
18 views

Unity: How do I get the boundary positions from a placed quad in AR?

I want to spawn objects on random positions within a placed quad in AR. Basically, it should look like it the objects get spawned from the quad which plays the role of a "ground". I have a ...
buolou's user avatar
  • 33

1
2 3 4 5
184