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

How to Get Sides of Floating Div Flush with Page?

So I have a div that I need flush with the left and right edges of the page. It also must be responsive to the proceeding layout (so the page can re-size). As far as I know, the most efficient way to do this is with a floating layout. How do I get…
Tommay
  • 1,567
  • 4
  • 15
  • 16
0
votes
2 answers

Android floating view on top of any android application

How to make floating bubble,like in copy bubble app? That floats on top of every android application, and when cliicked shows another view. Like that orange bubble
krists
  • 13
  • 1
  • 2
0
votes
1 answer

primitive type float with unicode characters in java

why below line of code will not give me any compilation error public class Test4 { public static void main(String...a) { float f = \u0038;//Line 1 long L2 = 3L; float fd = (float) 2.2; char c = '\u005E'; byte…
Nirav Prajapati
  • 2,987
  • 27
  • 32
0
votes
1 answer

Android Surfaces Look alike Layout in pre-Lollipop

I am trying to design a layout in Android but I don't even know how to call it. It is somewhat similar to Android Surfaces I would say, but actually the old Google Maps Entry details are designed more like it and i would prefer to target sdks prior…
D4ngle
  • 21
  • 7
0
votes
2 answers

C++ convert a float array to float* (pointer)

I wonder how to convert a float array to a float* I have this situation : float* floatTab = {12f, 0.5f, 3f}; It gives me an error here. but if I write it like this float floatTab[3] = {12f, 0.5f, 3f};it compiles alright.
Driss Bounouar
  • 3,182
  • 2
  • 32
  • 49
0
votes
2 answers

Round Number in Java

How to I round a number in Java? Like, I have this number 3.4666666666663 and i would like to round it to the nearest floating number, which would be 3.5. I don't want to round it to 4
0
votes
1 answer

Image floating tags

Here I have a weebly website, but I'm trying to make my own website and implement some of the features from the weebly website to my own. I was wondering what this feature is called and how I would implement it: As you can see when you hover over…
user4171782
0
votes
1 answer

Open and close floating layer same link?

I have a floating layer that activates through this link: BUTTON This is the floating layer:
Owly
  • 575
  • 2
  • 6
  • 16
0
votes
0 answers

JQUERY - sticky div next to img

I'm spending hours now on this task by now, just CAN'T figure it out. I'm building like "9gag" template.. and I'm stuck on the part "floating" div next to the images. I found good solution in the library : http://viget.com/inspire/jquery-stick-em…
roi m
  • 13
  • 4
0
votes
0 answers

Floating Point INF/INF

So I know that mathematically infinity/infinity = NAN. My question is, how does the computer come to this result? infinity is represented by 7F800000. So from a computers perspective, 7F800000/7F800000 should be 1. Does the computer know that…
0
votes
1 answer

Remove jtoolbars floating indicator

im trying to remove/edit the floating indicator from a jtoolbar while still being able to float the jtoolbar. Unfortunately i cant find the method in the jtoolbarui that creates the border. does anybody know how its called?
Corn
  • 47
  • 7
0
votes
1 answer

how to keep floated item centered within container

OK, I've gotten the prelim version of my page started, but I'm having a problem with two floated div's that are wrap in header tag. Basically, I want the two rectangles to center within the containing div tag. One of the rectangles overlaps the…
JZeig1
  • 403
  • 1
  • 6
  • 13
0
votes
1 answer

li:hover grows in width inside floating wrapper

I've found a confusing thing (only happens with Safari and Chrome). First of all the fiddle: http://jsfiddle.net/k8ypwqbd/
  • Item 1
  • Item 2 Item 2
ul { float: left; color: red; border: 1px solid…
Fabic
  • 498
  • 1
  • 4
  • 17
0
votes
1 answer

Moving UIView with Touches in DetailViewController

I am trying to create a floating keypad in an app created with the SplitViewController. I am using Touches to select the keypad view, move it, and limit its bounds to the edge of the DetailViewController minus some specified boundary. I can easily…
Michael Young
  • 414
  • 1
  • 7
  • 16
0
votes
2 answers

centre a group of floated divs

I'm trying to centre a group of floated divs. HTML
CSS .Parent { float:…
Jordan
  • 237
  • 7
  • 21