Questions tagged [fixed]

Please don't use; the more specific [css-position] or [fixed-point] tags are preferred.

(review to be retagged or , remove otherwise)


1909 questions
0
votes
1 answer

Contained sticky sidebar

I need a sidebar that stays with a fixed position when the user scrools the page. I came across a lot of solutions and all very clunky, to complex, or too long. I need it simple and efficient. I tried and made this: var length = $( '#container'…
b0t_
  • 1
  • 2
0
votes
0 answers

JQUERY - sticky div next to img

I'm spending hours now on this task by now, just CAN'T figure it out. I'm building like "9gag" template.. and I'm stuck on the part "floating" div next to the images. I found good solution in the library : http://viget.com/inspire/jquery-stick-em…
roi m
  • 13
  • 4
0
votes
3 answers

Label outside of UITableViewCell updating for the cell currently on screen

I would like to implement a fullscreen UITableView in my app which would show only one cell at a time with an image. On top of each cell, I would like to have a few labels with fixed positions, so that when the user swipes to the next cell they stay…
narolski
  • 193
  • 1
  • 1
  • 11
0
votes
1 answer

100% width to position fixed elements in fluid layout

I am trying to create a fluid page layout with a fixed header. But I am having issues with making the fixed header fluid. Here is the code: .container { max-width: 68.5em; margin: 0px auto; border: 1px solid #000; height:…
Vikas
  • 13
  • 3
0
votes
1 answer

Scrollable div inside fixed div

I have a div .div-wrapper inside position: fixed div .div-header. Now I want to scroll this div with jQuery. I have almost working solution below, but it is so ugly(with width: 5000%) that I can't stop myself from finding better way to do this. Is…
lukaszzenko
  • 317
  • 4
  • 11
0
votes
1 answer

Windows 8 IE11 bug scroll with div in position fixed

I have a problem with my new website. I have a div used as a "button to the top of the page". When i scroll down with the wheel mouse, the div appears BUT changes its position to the right (and a scrollbar appears). I have this problem only with ie…
Kins
  • 11
  • 1
  • 4
0
votes
1 answer

Single bit gates and fixed position gates for Universality

Is it possible to make an arbitrary logic circuit using only single bit gates (Single input, single output) and some multiple bit gates (n bits in m bits out where n and m are any integers) which must be in a fixed position. Or to ask the question…
Josh Ketts
  • 43
  • 5
0
votes
4 answers

CSS Background Cover - fixed and only half screen?

I am trying to create a layout with a top menu bar area, and then a split 75 / 25 screen with a fixed and covering background. -------------------------------------------------------- | …
R2D2
  • 2,620
  • 4
  • 24
  • 46
0
votes
1 answer

CSS: Anything but Content fixed

I'm trying to make a layout where the banner, the navigation and footer always stay fixed while you can scroll the content. I have seen some kinda similar layouts here but the actual page content is not limited there. What I want now is to center…
Vic
  • 102
  • 1
  • 2
  • 10
0
votes
2 answers

PHP - Resize a row of images to fit a fixed size container without cropping them

I have an issue with a site I'm building which contains a gallery page. The layout they require is to have a variable amount of images per row (maximum 4 or less), and for all these images to fit the entire width of the container element (for this…
tldr_baz
  • 78
  • 6
0
votes
0 answers

MVC 5 bootstrap - Compatible with web browsers

More recently, I started using the MVC pattern 5 I like it but unfortunately I do not have a good experience with Bootstrap. I want my application to look neat. (without super-additive, just clean and tidy). At the same time, I would like to work…
Piotr Knut
  • 350
  • 3
  • 8
0
votes
1 answer

webkit glitch - position fixed when body has a left value set - behaviors vary

I believe that when setting position:fixed on an item (say navbar) and body has position:relative; left:150px;, the item fixed has no idea what it it's supposed to do. From my understanding, position:fixed was fixed based on the window. If that is…
Jacob Raccuia
  • 1,666
  • 1
  • 16
  • 25
0
votes
3 answers

Fixed position footer at 100% width extends past window to right

I need help with trying to get this footer set in a fixed position. I'm learning as I go and trying to make a reasonably liquid layout. It's a work-in-progress but I can't continue until I get the footer in the right place. My problem is it keeps…
srob
  • 7
  • 5
0
votes
1 answer

Background starting at a given percentage

I'm trying to create a div of variable height which would have 2 backgrounds colors: one background covering its whole surface one background starting 30% from the top of the window and which height would be 70% of the window (not the div). This…
Ronan
  • 177
  • 1
  • 12
0
votes
2 answers

Hidden content when position fixed and top>0

Here is my example if you try to scroll down you will only get some content, and you can't view the last lines. How I might fix this? div#scrollable { overflow-y: scroll; height: 100%; position: fixed; top: 100px; } I need: Fixed…
Totty.js
  • 15,563
  • 31
  • 103
  • 175