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
0
votes
1 answer

Problems with the last element floating

¿How i can solved this? http://jsfiddle.net/Monobe/Yq7GK/
...
...
...
...
The…
0
votes
1 answer

Fixed point to Floating point

I have the following code, I have just copied some data from external RAM to the MCU into a buffer called "data" double p32 = 4.294967296e+009; /// equals to 2^32 in decimal notation int32_t longhigh; uint32_t longlow; offset…
user1876942
  • 1,411
  • 2
  • 20
  • 32
0
votes
1 answer

why do i get 2.168831 while executing printf("%f",3/2)?

#include #include int main() { printf("%f",3/2); printf(" %d",3/2); printf(" %d",3<<2); return 0; } Here is my code, i was expecting to get 1.50000 1 12 but i received 2.168831 1 12 as my output.
user2899741
0
votes
2 answers

Apply CSS on floating panel - Sencha touch

I am having one "selectfield" component in my container. I am opening floating panel for options. I want to apply some specific CSS on that floating panel. I have referred sencha touch doc . I have got one option (i.e. floatingCls). I have…
Curious_k.shree
  • 990
  • 2
  • 18
  • 37
0
votes
1 answer

Floating footer prpblem

guys, I'm building this responsive website where i have footer at the bottom floating. On my index.page (http://testi3.aada.fi/) my code works fine, but something is wrong with my content page () even i use same code for the floating footer.. can…
Mika
  • 23
  • 1
  • 7
0
votes
2 answers

How to print a float on stdout without printf()?

I'm on environment that has no printf() or any equivalent, so I'm writing it myself. But I have no idea how to perform such a conversion of float types. I tried to seen how gcc does it, but it's really hard to understand.
The Mask
  • 17,007
  • 37
  • 111
  • 185
0
votes
4 answers

Float numbers python 3+

print ('%0.2f'+ % userUSD + '= %0.2f' + %Euro + 'Euro') I'm using python 3.3 and while making a very simple currency converter I've stumbled upon this syntax error. Could you guys tell me how could I fix this and write the right way to print the…
PRS
  • 23
  • 1
0
votes
2 answers

Dynamically generated “floating divs” with even width but not even heights, align issue

I will be very appreciative if anyone has a lead how to solve this: Problem description: we have Dynamically generated “floating divs” with even witdh but not even heights.(content based) . the “Parent container” will have diffrent width …
user1154641
  • 5
  • 1
  • 1
  • 7
0
votes
1 answer

how translate getApplication from java to monodroid?

i got a java project about floating view from web. i try to translate it to monodroid, but i fail, because on function ,i don't know how to write in monodroid . java code is in http://www.xsmile.net/file/FloatViewDemo.rar namespace MonoFloatView { …
0
votes
1 answer

perl checking if a number is not int not working

Hello I have a matrix which contains floats and int numbers I want to print it to a file in a way if it's not integer print the value rounded to 1 number after float. Below is my code use Scalar::Util::Numeric qw(isint); for ( $i = 0 ; $i <…
Mariya
  • 847
  • 1
  • 9
  • 25
0
votes
1 answer

Fancybox loads php page, NOT on a floating window though

my purpose is to load in a floating window a php page that redirects my user to Twitter to sign in and then invites his followers through that same window. Hopefully fancybox can handle this. With the code below the php is loaded and getting…
Kokas
  • 131
  • 1
  • 11
0
votes
3 answers

C# WPF DataGrid outside Window

I am building an application that requires a DataGrid that can be hidden. I have tried wrapping it in an Expander but it isn't exactly ideal. Ideally what I would like is the ability to have the DataGrid "floating" outside the main window without…
Simeon Wislang
  • 461
  • 2
  • 9
  • 21
0
votes
3 answers

Controlling the precision of floating point number in matlab

I am dividing a number, say x=2; y=1/3; z=x*y; I expect z to be 0.66666666666667 i.e. 14 numbers after decimal point and the same for y. Now when I do that I get 0.6667 only. How to expand the answer into exact 14 digit precision?
MSD
  • 109
  • 1
  • 2
  • 12
0
votes
1 answer

CSS - issue in Safari

In a smaller browser window the css moves in Safari It appears to look fine in other browsers except Safari Take a look at http://tinyurl.com/mvkkcfg? In Chrome the Firefox - Then compare in Safari I just need the OR image to stay in the same spot…
User Envy
  • 53
  • 1
  • 10
0
votes
2 answers

Fixed DIV container to stop floating by reaching the footer part of the page

I have a javascript for floating #container along the page height after #header is passed. Now I want it to stop its fixed floating by reaching #footer div (or its parent div, as this have padding). #footer's height is more than 800px, so the…
gasparean
  • 23
  • 1
  • 2
  • 6