Questions tagged [overflow]

Overflow is a CSS property which governs what happens if content overflows its containing box. Do not use this tag for stack buffer overflow bugs and vulnerabilities; use [buffer-overflow] and/or [stack-smash] instead.

A CSS property which governs what happens if content overflows its containing box. Possible values are

  • visible: Content is not clipped and the overflow is shown outside of the element.
  • hidden: Content is clipped and the overflow is not shown.
  • scroll: Content is clipped but a scroll bar is shown regardless of whether the content overflows or not.
  • auto: Same as scroll except the scroll bar is only shown if the content actually overflows.
  • inherit: Inherits from the parent element property

Do not use this tag for questions about a stack overflow, buffer overflow or stack smashing error or vulnerability. See the appropriate tag(s) instead: , , .

6236 questions
2
votes
1 answer

Chrome scroll issue for inputs with values

This js Bin demonstrates an issue I'm seeing with Chrome. When I focus on the first input and tab through the list, focus will move to inputs that are invisible to the user without scrolling it up as it should. You'll see it when you pass item D in…
GaryBishop
  • 3,204
  • 2
  • 23
  • 19
2
votes
3 answers

How to use Jquery to remove an overflowing element?

Pretty simple problem, but I can't find a solution. This plugin claims to do it, but I can't get it to work on my site at all, not as a called script, not inline, nothing. So, I have two columns of divs, the ones on one side larger than the other. I…
Epleroma
  • 153
  • 6
  • 15
2
votes
3 answers

Why the maximum value of byte plus one, but there is no overflow

class Overflowtest { public static void main(String[] args) { byte maxValue= Byte.MAX_VALUE; System.out.println("maxValue of byte is "+maxValue); System.out.println("add 1 to maxValue of byte is "+maxValue+(byte)2); } } Why there…
Doris
  • 139
  • 1
  • 2
  • 9
2
votes
2 answers

Remove overflow-x and overflow-y using jQuery

I want to remove overflow-x and overflow-y using jQuery. I have tried several methods, but they don't seem to work: Here is my code: body #s4-workspace { left: 0; overflow-x: auto; overflow-y: scroll; position: relative; }
skhurams
  • 2,133
  • 7
  • 45
  • 82
2
votes
1 answer

How to prevent html table widths from enlarging due to huge one word

Suppose I have a table:
hi i like you you are awesome blah blah blah no no no no
then the table will be displayed with 100px width just fine but then if the table becomes:
kamikaze_pilot
  • 14,304
  • 35
  • 111
  • 171
2
votes
2 answers

overflow: auto in IE7 leaves room for the scrollbar when resizing

Because a customer requested it, I've changed a div to position: absolute; top: 5px; bottom: 5px; overflow: auto; min-width: 945px; which basically works fine in all supported browsers (IE7, IE8, Firefox 3+): It makes the div fill out the available…
OregonGhost
  • 23,359
  • 7
  • 71
  • 108
2
votes
2 answers

Avoiding a stack overflow in Python 3

Disclaimer note: I have absolutely no idea about Computer Science and don't have any knowledge about the inner workings of anything that happens behind the scenes. Teaching myself to code using everything there is on the Internet. Python…
N. Cross
  • 227
  • 1
  • 2
  • 7
2
votes
1 answer

How is Apple applying overflow:hidden to elements inside of position:fixed?

Based on my own tests and researching the topic on the internet, elements with position: fixed don't respect a parent element's overflow: hidden property. This includes children of the fixed position element — because they are within the fixed…
maxedison
  • 17,243
  • 14
  • 67
  • 114
2
votes
2 answers

Make inline-blocks stretch container horizontally

I want to make it so if the inline blocks inside a container exceed the width of the container they make it stretch rather than dropping down below. I made a codepen of what I mean: http://codepen.io/anon/pen/pJQWbR
Marty.H
  • 1,194
  • 4
  • 16
  • 29
2
votes
4 answers

segmentation fault using OMP

all! Typing from Italy This little piece of code works if the matrix size is less then 800 and fails with a segmentation fault for higher sizes.... I have tried it with gcc 4.3.2 compiler in linux and macosx and VisualStudio compiler in…
Giuseppe Levi
2
votes
2 answers

Scala - Sum of positive Ints being negative - Overflow Exception?

I just had a hard time finding a bug which was being caused due to a large sum of positive ints being greater than Integer.MAX_VALUE. My question is: why: val a:Int = Integer.MAX_VALUE + 2 -> a = -2147483648 returns a negative number, as opposed as…
David Przybilla
  • 830
  • 6
  • 16
2
votes
1 answer

Position divs over each other within a container then float extra divs

For example I have 3 divs within a container. the container has a fixed height. I want the inner divs which have dynamic height to be positioned over each other, then the remaining divs which do not fit in the container under the other divs to be…
EizEddin
  • 85
  • 6
2
votes
1 answer

CSS / HTML: How to force horizontal scrollbar when table does not fit on screen?

I have a large table in landscape format that requires to have a minimum width for each column (see below) in order for the columns to stay wide enough for proper inputs. Due to this I need to force a horizontal scrollbar to appear when this…
keewee279
  • 1,656
  • 5
  • 28
  • 60
2
votes
2 answers

verilog signed addition and subtraction

I am having trouble understanding how to handle overflow when adding or subtracting signed numbers in verilog. When I did this with unsigned numbers, it was very simple: input [15:0] A; input [15:0] B; input [3:0] S; output reg [15:0]…
kenbonilla
  • 33
  • 1
  • 2
  • 4
2
votes
1 answer

CSS 2 columns, first define the max height of the second one, that will use scroll if needed

I would like to have a two columns layout where the first column can grown as high as necessary and the second column will be 100% the height of the first one, but if the first one is not higher enough to show all the content of the second column,…
Manny
  • 69
  • 2
  • 10
1 2 3
99
100