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
2 answers

conversion from double to float in c++

I am new to programming. Here is part of my assignment, which requires using pass-by-reference. After I compile it and type in the values for win, draw and loss respectively,it returns me nothing. I don't know whether it is due to the problem in…
userA ng
  • 53
  • 2
0
votes
1 answer

Floating Label not working on jquery mobile 1.4.4

I am trying to make a floating label float when you click the input. I am using CSS and jquery(This is in a jquery mobile 1.4.4 platform). My code only seems to work on an input with a data-role of "none," and it won't work on a normal input. How…
0
votes
1 answer

Make float IMAGE beside DIV?

I want the image to float on the left of the green box (see dashed area.) How can I achieve that with the markup used here?: http://codepen.io/anon/pen/NGNbbB I expected the following CSS to do the job. But this dies not work: #content article…
Benedikt
  • 954
  • 3
  • 14
  • 25
0
votes
1 answer

Openstack - how to assign floating IP pool to specific tenant

In OpenStack (regardless of particular release/version), can you assign a specific floating IP pool to specific tenants? i.e. Pool 1 gets used by Tenant 1 and Pool 2 gets used by Tenant 2? I need a way to distinguish clients from on a network layer.
ivo
  • 587
  • 8
  • 21
0
votes
2 answers

How to make two floated (one to right, one to left) div's not to "jump" if the container div is resized too small?

The question sounds complex but here is HTML that illustrates it:
floated-right
bodacydo
  • 75,521
  • 93
  • 229
  • 319
0
votes
1 answer

how to wrap div around uneven content

I have a google mapping application in which an absolutely positioned container div contains two floating div's of varying height which is over the map. I'm having trouble wrapping the container div around the two floating inner divs and…
TechGuy
  • 11
  • 3
0
votes
3 answers

Handling Decimals on Embedded C

I have my code below and I want to ask what's the best way in solving numbers (division, multiplication, logarithm, exponents) up to 4 decimals places? I'm using PIC16F1789 as my device. float sensorValue; float sensorAverage; void main(){ …
elvinguitar
  • 149
  • 3
  • 6
  • 15
0
votes
4 answers

Floating li elements with sublist

I got small problem: li {width: 50%; float: left;} ul.sub li {width: 100%;}
  • Test 1
  • Test 2
    • Test2.1
    • Test2.2
    • Test2.3
0
votes
3 answers

calculating power of long double using loop gives wrong answer in c

int i; long double y=1,z=10; for(i=1;i<=100;i++) { y=y*z; } printf("%Lf\n",y); segment of code in c gives output-> 10000000000000000000617922327239436892408592529019667420405379256132946170093880852611802198127411200.000000 Also when i try to…
0
votes
2 answers

Outlook opens ICS file with the timezone dropdown

I have been trying to get an ICS file with a floating timezone setup. Research suggests that floating timezones are not recommended, but my client has specifically asked that a user downloading the ICS file in the UK and one in the US will both see…
roxvox
  • 1
0
votes
1 answer

How to Stop to the article div on the right side from crashing into the left divs when decreasing the browser size?

Pls help me to stop the right div from crashing into the left divs. you can see on this website: http://chelseachendesigns.com/About.html minimize the scrn from the right side and here comes the crashing....
cseaaa
  • 25
  • 4
0
votes
2 answers

function to get the power of a number

looking for a way to get from an floating point number the power of 10 to which it is noted 6.45e-8 - would be 8 3.21e-4 would be 4 0.013 would be 2 or minus in all is ther e a function which would do the following instead of multiplying with…
heinheo
  • 557
  • 1
  • 4
  • 15
0
votes
1 answer

Floating in row
&

I would like to add list of images (using figure and figcaption) in rows which should be responsive. figcaption should have the same with as the figure. I was trying this, but it works only when all figcaption have the same height; if not, the…
noiragneau
  • 50
  • 1
  • 10
0
votes
2 answers

Why the text or images are not placed behind a floating element?

Why the text or images are not placed behind a floating element? On this link:http://codepen.io/anon/pen/LVWmvp, you can see the example. The "blue" div is placed behind the "transp" div. But the thing is that the text (or an image) is not placed…
0
votes
2 answers

Calculating floating points as binary

The question is : x and y are two floating point numbers in 32-bit IEEE floating-point format (8-bit exponent with bias 127) whose binary representation is as follows: x: 1 10000001 00010100000000000000000 y: 0 10000010…
NotSure
  • 651
  • 2
  • 7
  • 24