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

CSS Floating not working

I want to build a div like this: There is a div, which is the container (700x400 px). In the container, there are 3 more divs. The first one is the div called 'photo_id'. This div should stick to the left whereas the div 'content' should stick to…
fjw
  • 97
  • 1
  • 2
  • 9
0
votes
1 answer

Positioning text withing div - seems to randomly add padding

So excuse my being very new and inexperienced in this, the answer is probably obvious. For some reason the text in the "main-content" div in my layout (which will be the body) looks like its adding padding or something on the left, but I don't have…
0
votes
1 answer

Trouble with Floated Elements and bottom border

In my main element I have ten images wrapped in anchor tags, all of which are contained in a figure element within the main. I've added my border like so: main img { width:100px; height:100px; float:left; display: block; …
paul degrand
  • 345
  • 1
  • 3
  • 7
0
votes
4 answers

TypeError: 'float' object not callable

Why does the following generate the TypeError: 'float' object not callable? sum([-450.0,950.0])
user2763361
  • 3,789
  • 11
  • 45
  • 81
0
votes
1 answer

Dojox floating pane style attributes

I have a declarative floating pane. onClick of a button i need to show up the floating pane. i have floating pane's width, height, left and top in declarative code, as well as while opening the pane also am setting all style attributes dynamically…
0
votes
3 answers

CSS floating and positioning

I have 2 boxes that should show up next to eachother. I want one to have a vertical fixed position. So when I scroll up or down the box stays at the same height. But I don't want it to be horizontal fixed, because I want the 2 boxes together…
Frank
  • 83
  • 2
  • 10
0
votes
1 answer

Align Image to the righ

I've been working on this HTML code for a while now and I really need to wrap it up today. The images under the main text needs to be to the right of the main text, The description sentences I have under that image need to stay there. Please…
SecretWalrus
  • 99
  • 1
  • 1
  • 10
0
votes
2 answers

float a

and

I already read all the questions and answers that look like my problem, but i still can't seem to figure out why my piece of code is not working. I would really be grateful if someone could help me out. What I'm trying to do is to get a ul element…
0
votes
1 answer

Floating images under each other while having diffrent heights

The divs have the same width. I've tried to clear all images, without the wanted results.
The…
Jeroen de Beer
  • 340
  • 4
  • 15
0
votes
1 answer

Three horizontal child div background color issue

I have 3 horizontal floating divs with different background colors inside a parent div. I'm trying to find the best way to have the 3 divs background color fill in the parent div without setting the height exact height of the 3 child divs(if thats…
0
votes
1 answer

How to make Volume Slider for mac application

I write application for Mac OS. So it will be audio player. Now i try to make volume slider from AVPLayer but i have some problem. So i tried this code: in h file: IBOutlet NSLider *volumeSlider; IBOutlet NSButton *button; AVPlayer…
Genevios
  • 1,115
  • 1
  • 16
  • 29
0
votes
2 answers

Why won't my divs align?

Ok, I've tried everything. I've floated divs before successfully, and have researched continuously. Would someone please take a look at my code and tell me what wrong? Thank you very much. I've tried varying the div width, played around with…
0
votes
2 answers

Floating divs of variable length should not be wrapped

I know this is a standard question, but I am trying to get a very special behaviour. I got the following example code: CSS: .left{ background-color: red; min-width: 300px; width: 40%; float: left; } .middle{ …
Ron
  • 133
  • 1
  • 1
  • 8
0
votes
6 answers

How do I float this div column to the right?

I'm a first year web designer and I'm currently working on an assignment where it requires to float two contents side by side. Every time I float the right content to the right side I: 1) lose my whole wrapper 2) the content does not float beside…
0
votes
0 answers

How to make an application that floats on the desktop in Windows 8?

I would like to develop an application for Windows 8 that floats on the desktop. It is just a simple tool bar containing a could sliders and send their values to some calculation software. I would like the tool bar to float on top of everything like…
Drew Leonce
  • 241
  • 3
  • 7