Skip to main content

Questions tagged [position]

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

position
-1 votes
2 answers
28 views

Element attaching to the bottom of container

I'm trying to center a dot inside a div. When I try margin-bottom: 50%;, it pushes the other stuff around. I've also tried setting justify-content and align-items to center. .slider{ width: ...
Sojo Bee's user avatar
0 votes
0 answers
9 views

How to fix slicer position in excel during cell scrolling in any direction

In excel when i scroll cell in any direction that time slicer position also be scroll in cell direction but i want to fix slicer position for any scrolling it remain fix at their position I try to fix ...
Manav Sutariya's user avatar
-1 votes
0 answers
27 views

How to get co-ordinates of a web element for Chrome or safari using JavaScript

There is an element/button on the bottom left of the page and I want to validate that it's being appeared at the correct position always, hence I tried to take the X,Y cordinates to validate and have ...
sleepingpanda's user avatar
-1 votes
1 answer
35 views

Using REM unit to secure its same position on the screen when font-size changes?

I'm trying to understand the behavior of REM units when used for element positioning. While pixels (px) maintain a fixed position regardless of font size, using REM seems to always lock the element's ...
Furkan KARADENİZ's user avatar
0 votes
2 answers
32 views

Is it possible to mix absolute and sticky positioning?

In this example the inner grey div should be behaving like a sticky div - so it sticks to the top of the screen when you scroll down the page - but that ain't happening! What have I got wrong? <...
Richard's user avatar
  • 4,983
0 votes
0 answers
41 views

A h2 title overlaps with the text under it when the h2 title wrap

How it looks when title isn't wrapping(all good) When the screen is thinner and the title wraps As you can see it clashes with the h3 title ("S2") I am quite new to coding, currently ...
Sebastián Martínez's user avatar
0 votes
0 answers
49 views

Setting the position in SwiftUI scrollView using AnchorPoint and coordinates

Reading great tutorials (that use PreferenceKey), I'm able to follow the scrolling in my SwiftUI ScrollView. For example, in a ScrollView with: y content size of 5000 pt scroll view height of 675 pt =...
alex.bour's user avatar
  • 2,904
-1 votes
3 answers
98 views

delete the characters of a filename from a specific position

i have 100 files in a folder with filenames as below Example1: GCA_000696115.1_SoWt_assembly_genomic.fna (0 to 15 characters are GCA_000696115.1) Question1: remove characters after 15th ...
Pandu C's user avatar
  • 41
-1 votes
2 answers
135 views

Possible causes for css sticky positioning in a <thead> to not work

I've created a custom element that mimics c#’s datagridview. I was able to make the <thead> stick at the top like dot net’s listview or datagridview header until just recently I noticed it doesn’...
Abet Giron's user avatar
1 vote
0 answers
44 views

SFML Multiple drawing circles in different positions

i've been building a game in SFML C++, i created the window, created the main character, who is a green circle. Now i'm creating 5 red circles, they are the enemies. My main idea is create the 5 ...
skinnyleonard's user avatar
-1 votes
2 answers
76 views

XSLT: Number position inside apply-templates with condition

I need to print the position number when calling the template, but with have the condition. I.e. "position()" is not suitable. <xsl:template match="property" mode="table-...
GoldenPumaMary's user avatar
3 votes
0 answers
56 views

Coordinates of text label after applying pos and offset parameters

Suppose I have the following plot: plot(x=1, y=1, xlim=c(0,2), ylim=c(0,2)) text(x=1, y=1, lab="X", pos=3, offset=2) How do I find the coordinates of the text label (lab="X") as ...
user3624032's user avatar
1 vote
1 answer
40 views

Alter object’s transform so its parent’s matches its child’s

Going insane over this. I’m trying to figure out a way so that when I grab an object, I can set the rotation & position of that object such that the rotation and position of the original object’s ...
Ryan Hibbs's user avatar
0 votes
1 answer
40 views

I'm on windows, working with SFML in C++, and when I zoom in or out, it doesn't click the cell under the mouse

It's a game-of-life so with a grid of squares. I did that we can draw on the grid by clicking the cell (left click). Also (with a view) you can move from side to side with right click and zoom in and ...
Sacha Trouvé's user avatar
2 votes
1 answer
62 views

position of images with css [closed]

okay, im doing one of my first pages with html and css, and look, you know that operagx and the other browser have the normal size screen and the fullscreen when you press f11, the problem here is ...
Kaua Marques's user avatar

15 30 50 per page
1
2 3 4 5
617