Questions tagged [floating]

This tag is related to GUI elements that either should be or appear to be floating above a panel or background, or in case of certain types of general layout.

This tag is related to GUI elements that either should be or appear to be floating above a panel or background, or in case of certain types of general layout.

800 questions
3
votes
4 answers

CSS - How get rid of empty vertical space with floating

When you use floating, the next floated elements will take up at least the same amount of vertical space or more before breaking the line and going lower in the flow. In the image below there is a lot of unused empty space. How can I get more…
IPV3001
  • 272
  • 3
  • 16
3
votes
0 answers

Floating window wpf

I want to create floating child window in my application. It should be look like floating bin in internet market. Window.ShowDialog is not well because user hasnt access to main window. Window with topmost = true as well bad idea because i want to…
Neir0
  • 12,849
  • 28
  • 83
  • 139
3
votes
3 answers

Weird floating behaviour

I have a floating problem on my Website. I have 6 Div container, 3 for in every row and all floated left. So it should be like: 0-0-0 0-0-0 but instead its like: 0-0-0 ----0 0-0 Here is a link problem: Website #container { float:…
3
votes
1 answer

BrowserProvided AutoComplete Dropdown is sticking(floating) when scrolling the subpage

I have a webpage where the top header is fixed like many web pages and the other body content may sometimes have a scrollbar. I have turned Autocomplete feature of browser to on. I have some textbox to accept user input. On clicking the textbox it…
dev541
  • 53
  • 2
  • 6
3
votes
1 answer

Floating menu with hidden submenu

So What I want to do is have my main menu to float but at the same time be resizable (window width) I also have a hidden sub menu and I want it to follow the rules of the main menu. In addition, the main menu doesn't start at the top of the page but…
3
votes
2 answers

floating 3 divs in a not logic order

I have some trouble with my website. I have a contact from which is based on 4 divs posisioned like this: div 1 is the place where you can fill out your information div 2 is the textarea for your message and a send button div 3 is contact…
Merijndk
  • 1,674
  • 3
  • 18
  • 35
3
votes
4 answers

Getting the fractional part of a double value in integer without losing precision

i want to convert the fractional part of a double value with precision upto 4 digits into integer. but when i do it, i lose precision. Is there any way so that i can get the precise value? #include int main() { double number; double…
Atul Kumar Verma
  • 369
  • 3
  • 8
  • 23
3
votes
1 answer

to use latest GCC(4.8.1) on older Linux Svrs (Redhat EL 5.7)

We do coding & building in one Linux machine, & deploy to our cluster with hundreds of cores. For now both type of machines are Redhat EL 5.7, with the default GCC 4.1.2 installed. Recently we realized the latest GCCs (e.g. 4.8.1) got extensive…
gpliu
  • 229
  • 3
  • 14
3
votes
2 answers

Left-Margin issues with ListItems flowing around a floating block element

I have a floating block element and an unordered list of items flowing around it. The margin of the listItems seems to overlap the floating element. Here is a simplified example:

some text

image with…
Louis Somers
  • 2,560
  • 3
  • 27
  • 57
3
votes
2 answers

Regular expression non-capturing group character length

I'm trying to generate a regular expression with the next pattern. A number, of a maximum of 16 digits, that can have or not a comma inside, never at the beginning, never at the end. I tried this: ^(?:\d+(?:,{1}\d+){1})$ The problem is that I can't…
user2010744
  • 33
  • 1
  • 4
3
votes
1 answer

How To Delay My Floating ShareBar Till User Scrolls Down Page

I've gone through some of the tutorials here but still can't get a fix for my problem thus my posting this. I was wondering if you could show me how to get my floating sharebar @…
3
votes
3 answers

Floating point operations ambiguity

Possible Duplicate: Why is floating point arithmetic in C# imprecise? Why is there a bias in floating point ops? Any specific reason? Output: 160 139 static void Main() { float x = (float) 1.6; int y = (int)(x *…
Amber
  • 290
  • 1
  • 3
  • 10
3
votes
1 answer

Float left and float right in a div container having width:100% IE7

I want to float two divs in a container-div in IE7. The first div in the container should float to left, the second to right. Actually the two divs are floated to left in my css config. Here is my css: .container {float:left; width:100%;…
user1663417
  • 31
  • 1
  • 2
2
votes
0 answers

A Java Scroll Indicator with floating scrollbars which only appears during scrolling

I need a scroll pane with scrollbars only visible during scroll events or when needed to pull. Something that looks like the scroll bars on the nowadays smartphones. I searched a lot but found only realizations in javascript. So I tried it by…
2
votes
1 answer

extjs 3.3: floating panel

I am trying to create a floating panel over other pre-created panels, I tried following simple codes, but failed: var testPanel = new Ext.Panel({ id: 'testP', width: 50, …
Simon
  • 1,463
  • 6
  • 34
  • 46