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

Jquery Floating Table Header - Border Collapse affect floating header size

I'm using this jQuery to make table headers sticky. (function($) { $.fn.sticky = function() { var tableId = this; var tableWidth = $(tableId).width(); var tableHeight = $(tableId).height(); var thHeight =…
Rocket
  • 1,065
  • 2
  • 21
  • 44
0
votes
2 answers

HTML CSS Layout breaks with parent of floated elements

I am writing my own website and ran into a problem, that has never occured to me before. I use a parent

wich contains 3

s. The first
is float: left; and the second one is float: right;. The third
contains clear: both;. The…
Noel Widmer
  • 4,444
  • 9
  • 45
  • 69
0
votes
2 answers

How can I make the menu to wrap when I resize my browser?

I kept searching on the Internet, but the only thing I get is how to avoid/prevent the div elements on wrapping/floating when resizing the browser. My problem is exactly the opposite: I have an horizontal menu and I'm trying to wrap down the…
Camryn
  • 3
  • 1
  • 5
0
votes
1 answer

split float numbers in half with python

I'm dealing with a csv table converted from a pdf with Adobe acrobat pro. For some reason the software creates recurrent error each 117 rows. It "duplicates & concatenates the numbers" e.g. a row 7307 1 87.1 is transformed into something of this…
Nabla
  • 1,509
  • 3
  • 20
  • 35
0
votes
1 answer

how to make javascript rearrangeable windows?

I want to make a web page with several type of forms,each one on a different area that allows those areas to be rearranged and user will be able to change their position according to their preference.(X form to the left top, Y form to the right…
Rangana Sampath
  • 1,447
  • 3
  • 32
  • 57
0
votes
1 answer

change width of vertical menu item that is floated right

#mainMenu { float: right; margin-top: 70px; padding: 0; list-style: none; // position: relative; } #mainMenu li { box-sizing: border-box; width: 250px; height: 70px; background-color: rgba(0, 168, 107, 1); border:…
nikoss
  • 3,254
  • 2
  • 26
  • 40
0
votes
3 answers

How can i stop my python program from crashing

I wrote a program to calculate the factorial of a number all work perfectly but crashes when for test I enter a float number. My goal is for a floating number to be accepted but not calculated. As the program will accept but return something like…
Miteux
  • 3
  • 1
  • 3
0
votes
4 answers

How to float div's with variable heights at same distance: Solution without Masonry?

How to position floating div's with fixed widths but variable heights at the same vertical distance of each other? Similar questions like this have been asked a lot and almost always is the answer use masonry: http://masonry.desandro.com/ Masonry is…
coder
  • 301
  • 4
  • 18
0
votes
1 answer

Simpliest way to display thumbnail images without spaces

I am trying display images seamlessly in a checkerboard fashion. All images are same size. Can't seem to eliminate spacing between rows. The overall goal is compact code. Here is the original code.
krantz
  • 1
  • 2
0
votes
2 answers

Can't get UItextfield to accept floating point in Swift

I'm trying to get my UItextField to accept floating point but at the moment, it will only accept an integer. How can I get it to accept floating point in Swift? class ViewController: UIViewController, UITextFieldDelegate { @IBOutlet weak var…
Coder
  • 499
  • 3
  • 13
  • 29
0
votes
1 answer

How do I make floating button clickable

Hi I was implementing a floating button with this post: How do I create an Android material design UI widget? and it works ! But I don`t know how to make this button clickable please help ? Thanks :)
AviNonimos
  • 13
  • 3
0
votes
3 answers

comparing floating numbers in unix

I am facing problem in comparing big floating variables in unix Code: error message: syntax error on line 1 teletype I got to know from one of the old posts in the forum this is because "the script is trying to do a calculation with bc by echoing an…
karthik adiga
  • 133
  • 2
  • 12
0
votes
1 answer

How two make an img fill width in multi-column layout?

I'm working on my homepage and I'm trying two get a header with 3 columns. The first column should be a logo, the second a navigation menu and the third a language switcher. The nav and the lang. switcher should be align to the right and have auto…
KebapBoy
  • 85
  • 1
  • 6
0
votes
1 answer

ExtJS 4.2.3 floating image between window header and body

Here is the output I require! Here is how I try to achieve this: win = Ext.create('Ext.window.Window', { height: 650, width: 500, layout: 'fit', border: false, …
AMember
  • 3,037
  • 2
  • 33
  • 64
0
votes
1 answer

How to float Text around a List of Images (CSS)

I have a problem with floating text around a list of images. My Goals: At the begining of the content-div is a list of image tags. The Images have everytime the same size. Each image has it´s fixed position on the page. The text should start at the…
Frank Mohaupt
  • 95
  • 1
  • 7