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

How to hide the vertical floating bar for responsive themes on Blogger?

On my blog, I am using a floating social media bar. It is working fine but on mobile and tablets, it is covering the page content. I want to hide this bar for responsive themes. This is what I tried but it did not work: @media (max-width: 850px) { …
-1
votes
1 answer

xCode Round float

i have number: 3.08 and i use this: NSLog(@"%1.1f", self.test.value); but console output 3.1 not 3.0 i need output 3.0 pls help...
user3546854
  • 349
  • 1
  • 4
  • 12
-1
votes
2 answers

float number range in php. -0 is float?

when I'm converting string '-0'in float it returns float type -0 example $x = '-0'; $y = (float)$x; result => float -0 why -0 is float number ?
Anri
  • 1,706
  • 2
  • 17
  • 36
-1
votes
3 answers

`

So i have not seen this problem before, so im not quite sure what to ask but.. I have a menu with is inside a container, i want it to float right, it does but just not all the way, i cant figure what is stopping it. so i need a little help here? My…
Legarndary
  • 957
  • 2
  • 16
  • 37
-1
votes
1 answer

Jquery Floating Header Alignment Issue

I'm using the floating header script from http://mkoryak.github.io/floatThead/ which seems to work apart from when used with a table who's width is wider than the screen. Then when you scroll down the columns and header are no longer aligned. I'm…
Rocket
  • 1,065
  • 2
  • 21
  • 44
-1
votes
4 answers

Convert float to float and truncate after two decimal places Objective-C

I have a float var1 = cashInHandAmount = 4.73000002 I simply want as: var2 = 4.73. I have tried like this: NSString *floatString = [NSString stringWithFormat:@"%.02f",cashInHandAmount];//it prints 4.73 [self.editcash setMaxValue:[floatString…
maddy
  • 4,001
  • 8
  • 42
  • 65
-1
votes
1 answer

Floating menu, jumps while scrolling

Floating menu on top jumps a bit while begin to scroll. How to keep it fixed to top all the time ? On some pages when only dark grey footer is below the screen (or if browser window is resized) while trying to scroll whole page jump/blinks. my…
Bla
  • 43
  • 7
-1
votes
3 answers

css sudden loss of second opposite floated element?

I have this very simple code with one container element and two internal elements h1 and h2 both floated in opposite directions. However when I apply that second element is missing eventhough I set bellow the empty paragraph tag with the property…
user3267426
-1
votes
1 answer

get div height which has floated div inside

I have a div with ID "containter" which contain 3 div with floated left property. When I use these floated div, the "container" div don't get height based on insided Div. What is the solution? Thank.
Hamid Yaftian
  • 145
  • 1
  • 9
-1
votes
1 answer

how to keep the activity UI view when typing to edittext in android.

I have one activity with a few edit text. Every time I focus on one edittext. I will continue to next, next until I finish all the edit text typing in the page. I want to have the keyboard floating so that I can choose which edittext to type. Please…
-1
votes
1 answer

Error when using function in MATLAB

I'm using a function in MATLAB for the first time. The function body is working properly., but when it is called from a program it giving an error. The function is: function f = adjust(value) if value < 0 s = -1; value = -value; else s =…
MSD
  • 109
  • 1
  • 2
  • 12
-1
votes
2 answers

How could i show only one digit after floating point

$f = sprintf ("%.1f",$per); echo "You hit".$f." By this code i can show only one digit after floating point.But when my result is 100%,then it shows 100.0%. I want to show 100%. how could i do this????
Mak Reza
  • 107
  • 1
  • 1
  • 8
-1
votes
1 answer

floating to right div not showing chosen width

I have an div that is floating to the right with a width of 740px set up in css. Displaying in the browser I don't see a 740px width, what is going wrong? Placing a H1 text inside doesn't make the div 740px wide; it only shows the width of the text.…
MiiChiel
  • 201
  • 1
  • 4
  • 14
-1
votes
1 answer

TypeError: 'long' object is not iterable Python

I am trying to reclassify a PixelValue in a 32 bit floating raster and get the following error: bw_liss-3_spring_mosaick_gk3_ndvi_mask.tif Traceback (most recent call last): File …
user2235844
-1
votes
3 answers

Trouble with css floating

I have a little problem with floating. I need to display my links side by side with 20px margin, but it does not work. CSS ul li{ float:left; display: inline-block; position:relative; padding:0 20px; } .link { font-family:…
Lukas
  • 25
  • 1
  • 6