Все вопросы: [overflow]

74 вопросов

0
голосов
1ответов
1673 просмотров

creating a menu with CSS and overflow: auto

The main structure of the page is like this: <html> <body> <div id="Menu"> <h1>Menu</h1> <ul id="MenuList><!-- some LI elements --></ul> <h1>Submenu 1</h1> <ul id="Submenu1L...

18
голосов
1ответов
9484 просмотров

Allow SVG graphics to overflow outside the containing svg element

I'm using the Raphaël—JavaScript Library to create some pie chart graphics, but I want to set the overflow of the containing SVG element to visible, to allow the graphics inside to display outside of their container. The way you would with normal dom elements (overflow: visible;) does not seem to...

0
голосов
1ответов
988 просмотров

How to know when an ItemsControl has overflowed its ScrollViewer?

How would one swap a template by using a Trigger when the items within an ItemsControl overflow its container? In my current implementation I would like to show a more brief form of template based on whether the current state of the ItemsControl are such that the content would cause a ScrollViwe...

3
голосов
9ответов
1124 просмотров

Very Tricky CSS Scrolling Question

I am not sure how to achieve a certain effect in CSS. I have the following HTML: <div id="container" name="container"> <div id="scroll" name="scroll"></div> </div> The scroller loads with one image inside the scroller which has a width: 715px; [ [1] ] W...

3
голосов
1ответов
21966 просмотров

Handling overflow in tables

If I have a table like this very very simple example: table { table-layout:fixed; width:300px; } .td1 { width:100px; } .td2 { width:200px; } and in one of my .td2 contains an image that is, lets say, 300px in width. I would like to show scroll bars to allow users to scroll to ...

1
голосов
2ответов
101 просмотров

Why is the size of my HeapOverflow program 5MB?

So I was asking myself what would happen if I tried to do a heap overflow on Windows XP, and I was surprise to see that, once the program "ate" all the RAM (this happens instantly, by the way), the size of the process in the task manager goes down to 5MB and doesn't move afterwards. The computer ...

4
голосов
5ответов
3495 просмотров

How to detect an overflow in C++?

I just wonder if there is some convenient way to detect if overflow happens to any variable of any default data type used in a C++ program during runtime? By convenient, I mean no need to write code to follow each variable if it is in the range of its data type every time its value changes. Or if...

5
голосов
2ответов
12946 просмотров

Overflow in ASP Classic

I was wondering if someone could help me, as I have gone blind to what I believe is a simple cause to a simple error. I have this code: doRound1(x1) denom1 = 5 y1 = denom1 - x1 mod denom1 if y1 <> denom1 then x1= x1+y1 end if doRound1=x1 End function 'theCalc = 20488888...

-1
голосов
5ответов
955 просмотров

C : erroneous output for "(long long int) = (long long int) * (double)"?

long long int A = 3289168178315264; long long int B = 1470960727228416; double D = sqrt(5); long long int out = A + B*D; printf("%lld",out); This gives result : -2147483648 I am not able to figure out why (it should be a positive result). Can somebody help?

1
голосов
2ответов
371 просмотров

Opera Scrolls Page to Invisible Elements

I'm working on a simple game engine in Javascript (crazy, I know.) Screenshot from Opera: http://img406.imageshack.us/img406/5818/gamek.jpg Although it looks like a tile engine, it's actually object-based; each row or column of grey blocks is a single , positioned relative to the viewing area (bo...

3
голосов
1ответов
8510 просмотров

How to prevent SlideToggle function queue?

Case: Jquery code manage a sliding EM tag (with slideToggle function) for its appearing on hover. Problem: The slideToggle sometimes queue the hover state. I referred to this article: http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup I tried to insert stop() functi...

11
голосов
6ответов
41842 просмотров

css - Displaying images with horizontal scroll bar

I'm trying to display a number of images horizontally inside of a fixed-width div. I would like to use a horizontal scroll bar to display the images which do not fit inside the div. However, the images are displaying vertically, rather than horizontally. Is there a way to force them to display...

2
голосов
1ответов
192 просмотров

Is there a programmable way to dertermine if a <div> is overflow</div>

&lt;div id="container"&gt; some content &lt;/div&gt; Say the container div is resizable, while resizing how do I know if it's already overflowed( inner content width

1
голосов
4ответов
742 просмотров

writing image to directory fail

Some overflow runtime error happens when my C++ program is trying to write some .png images into a directory. The directory where the images are written into is given as a command line argument. The program is compiled with gcc -ggdb3 -O3. It is strange that the error disappears if I change th...

27
голосов
2ответов
53608 просмотров

CSS - Only Horizontal Overflow?

Is it possible to achieve only horizontal overflow in CSS 2.1? overflow: auto; Will cause a block element to have both horizontal and vertical scrollbars. I want a block element (let's say &lt;div&gt;) which will display only horizontal scrollbars. How do I do that?

1
голосов
1ответов
2989 просмотров

CSS dropdown-menu positioning inside a wrapper with hidden overflow

I know, a vague title but it's hard to describe what I want in one sentence. My problem is as follows, I have a template with several dropdown menus activated by jQuery. The dropdown lists appear as second level navigational items within a the first-level list, as follows: &lt;ul class="tools"&...

9
голосов
2ответов
33810 просмотров

overflow:hidden not working for li elements inside ul

I'm trying to create a carousel from ul object where the li elements are blocks and ul is the carousel container. I've tried two approaches but neather seems to work, the overflow property is not functioning as I want it to. Approach 1: &lt;ul style="overflow:hidden; width:200px; height:120...

12
голосов
6ответов
38013 просмотров

<div> overflow:auto does not show scrollbar until resize</div>

I have a element on my form that looks like this: &lt;div style="overflow-y:auto;overflow-x:hidden;height:100%;width:100%"&gt; In IE7 when the page first renders, there are no scrollbars. However, if I resize the page (even just 1 pixel) the scroll bars appear properly. Is there something I...

0
голосов
1ответов
3882 просмотров

jQuery Accordion: divs with scrollbars not sliding nicely

I am using the following code to get an accordion happening: $(".accordion h2").eq(2).addClass("active"); $(".accordion-content").eq(2).show(); $(".accordion h2").click(function(){ $(this).next(".accordion-content").slideToggle("slow") .siblings("div:visible").slideUp("slow"); $(this...

3
голосов
3ответов
1026 просмотров

Jquery UI - Getting one element out of a display:hidden element when dragging

I have a group of elements sitting on a 'conveyor' element within another element that is set overflow:hidden using css. How do I, when dragging, get the element 'out' of the holder element that has overflow set to hidden? When I drag the "item" classed image, it only drags within the holder, whe...

8
голосов
1ответов
4179 просмотров

Silverlight: Canvas overflows

I have created a Canvas, and within it I placed a StackPanel. The StackPanel is horizontal, and it accepts a list of thumbnailed images. The Canvas has a fixed size. When I put more thumbnails than the Canvas width can hold, the StackPanel is supposed to overflow from the Canvas, so I can move it...

0
голосов
1ответов
3197 просмотров

Workarounds when a string is too long for a .join. OverflowError occurs

I'm working through some python problems on pythonchallenge.com to teach myself python and I've hit a roadblock, since the string I am to be using is too large for python to handle. I receive this error: my-macbook:python owner1$ python singleoccurrence.py Traceback (most recent call last): F...

1
голосов
1ответов
367 просмотров

Opera CSS Issue: Strange black backround in Opera 9.63 and 10 beta when using a combination of overflow and background-color

I've created a script to create scrollable tables with fixed headers but it is having a strange styling issue in Opera where the background color of the containing div turns black above the scroll bar if I try to set the background color to anything. This script was tested and works fine in IE6/...

2
голосов
2ответов
3000 просмотров

How to "clear" overflow:visible elements?

I have one div element at the top of my page that is set to overflow:visible. Immediately beneath it, I have the page content. I do not want the top div to expand, because of aesthetic reasons, but I would like the content below to treat the overflow from above as it would a block element...by "...

135
голосов
14ответов
272745 просмотров

Can I prevent text in a div block from overflowing?

Can I prevent text in a div block from overflowing?

0
голосов
1ответов
294 просмотров

Overflow css attribute browser interpretation differences

I was just skinning a website and found that overflow:visible renders two completely different things from Firefox to IE. Firefox just displays everything outside of the container... like this: -------------------------------- | div style="overflow:visible" | --------------------------------...

0
голосов
2ответов
1196 просмотров

Keeping divs floating next to each other when overflow

I hope to explain my problem simple in order to get good feedback :) Imagine this scenario: One DIV wrapper within two floating DIVs, next to each other, with fixed width. All of them with overflow hidden. But when decreasing the width of the wrapper (or increasing the children's) the last DIV ...

3
голосов
1ответов
3488 просмотров

Как бороться с тихим переполнением целочисленного значения mysql sum ()?

У меня есть таблица со столбцом int(11) и сотнями миллионов строк. Когда я запускаю такой запрос, как SELECT SUM(myIntColumn) as foo FROM myTable; возвращаемое значение не имеет смысла - оно меньше единственного наибольшего максимального значения. Мои значения для этого столбца максимальн...

0
голосов
1ответов
2336 просмотров

Проблема с ThickBox в firefox (переполнение: не работает)

Мне нужна помощь с толстым ящиком. Я использую его на своем веб-сайте, но функция переполнения: скрыта, не работает в firefox, только в IE. Кто-нибудь может мне помочь? спасибо ... html и css нет проблем, моя проблема - толстый ящик, потому что он работает в IE 6 или 7, но не в mozilla (все в...

2
голосов
2ответов
280 просмотров

Странная проблема с IE7

Страница расположена здесь . В IE7 все работает отлично, пока вы не выберете один из «фильтров» (например, «Другой»). После этого всплывающий пузырь (span.info) больше не находится наверху, когда он анимируется над изображением. Нет переполнения: скрыто на li или что-то в этом роде, и при...