positioning

Getting a relative positioned DIV to take up the remainder of it's parent's vertical space

I'm working on a web application that has a couple widgets positioned all the way on the right using a container DIV with absolute positioning. The first (top) widget is small but with a dynamic/undefined height. The second (bottom) widget contains scrollable content and must stretch to fill the remaining space of its parent DIV. I'm ...

positioning in css?

sorry im a newbie in css, so please dnt be angry at me, i really wanted postion something like this: taking in mind that the number will grow, so the text has to stay in the middle. if you get what i mean! :)) ...

Positioning Background Images and Firefox

Hi there, I've been working on coding a personal website from scratch in my free time, and have gotten the layout mostly looking like I wanted. But for the life of me, I cannot figure out why Firefox does not align the 'dropdown menu items' ('about', 'blog', etc.) BELOW the background image into the dark grey area like it does in Safari...

Prevent figures/listings from being inserted into specific parts of a LaTeX document

I have a part A in a document with some text and listings/figures in between. The figures and listings are positioned using htb. Following this part A, there is the bibliography. However a couple of figures do not fit and are therefore are offset to another page, which is fine. But: I do want to limit the offset space to part A and not ...

css/jquery sizing and absolute positioning problem in IE and Chrome when view->zoom != 100%

Hi all, I have a strange problem with absolute positioning and sizing elements to fit around a div. I have some div that's set in position and size on an existing page (it's given to me). I want to adorn it from the left and bottom with two divs, so that they'd "hug" it and create an "L" shape. I need to do this dynamically, as the div ...

Android Emulator substituting GPS position

Hello i have app which ask every 5second for GPS position but it allways returns same position. I have tried substitite position in DDMS or by telnet (geo fix ... ...) But allway it return initial postion. Whats wrong? public class App09_GPS_RepeatedAsking extends Activity { TextView tv1; /** Called when the activity is first created. *...

css layout positioning

Hi, I have a div box (absolutely positioned), which is expandable and below that I have another div box non-expandabe (relatively positioned). Now when that absolutely expandable div expands, the one below that dosen't shifts down. Is this not possible ? Had my code been not too long, I would have placed it here... Can anyone help me...

CSS positioning issues.

Hi! I'm trying to, of course, build something in HTML. However, I am running into some serious issues with positioning! I'm trying to get elements in the website to be centered, but I cannot do that without sacrificing (somehow) controls such as z-index, and width on those elements -- In some cases, vice versa. Theoretically, I should...

Firefox extension: Positioning panels

I'm making a Firefox extension and I want to position a XUL panel element exactly above a search box when a person types text in the search box-- almost like autocomplete. How do I do that? Thanks! Edit: I've been looking at using auto complete and using my own nxIAutoComplete implementation but I'm a bit too new to extension developm...

How did cappuccino (objective-j) / Atlas take relative and absolute positioning out of the picture?

I've been checking out Cappuccino and Atlas lately, and they seem to have abstracted relative and absolute positioning away into something that just "works". I was wondering for those familiar with the project - how did they do this? I've always thought that relative and absolute positioning is kind of an obscure way of thinking about p...

How do I get a GWT menu popup to stay within the browser window?

My GWT app uses a DockLayoutPanel for primary layout and the page itself does not scroll. I have a PopupPanel with a MenuBar and sometimes when a MenuItem is selected the sub menu bar goes off the bottom of the screen abruptly forcing a new scroll bar into the browser and messing up the layout. How do I get the menu popup to behave nice...

Getting absolute position of an element relative to browser

I have a div set to the css class float with float being: .float { display:block; position:fixed; top: 20px; left: 0px; z-index: 1999999999; } * html .float {position:absolute;} This class causes the element to stay in a fixed position on the page (the *html part is to make it work in IE). I am using javascript to shift the position...

Why does changing the frame of a UIScrollView change the frames of its subviews?

This is perplexing to me. I want to change the frame of a UIScrollView upon orientation change: if (orientation == UIDeviceOrientationLandscapeLeft || orientation == UIDeviceOrientationLandscapeRight){ self.myScrollView.frame = CGRectMake(40, 40, 984, 200); for (UIView* view in [self.myScrollView subviews]){ ...

HTML - Position an image in a new line

I have a series of parragraphs. Each one ends with a ilustratión which clarifies the subject being xplained in the parragraph. I want the ilustration to be on a new line and not display along with the text and I have found the following solutions, with it's own problems: Put the ilustration in a different <p> than the text related to t...

jQuery (maybe) horizontally fix element, but vertically scroll it

I know I've seen this done somewhere, but I can't find it anywhere. Basically, I have a side scroller (here: http://www.allisonnavon.com) that I'm putting together. The main problem is if the browser window is just a bit too short on height, the site will scroll vertically and cover up the title that is supposed to be fixed. I guess t...

Is it possible to change image position and width with php GD?

I have a gif file with many icons and buttons on it.. What I want to do is include that gif file using php gd somefunction("file.gif") then, resize the new image to 30px by 30px.. and then be able to position (using x and y coordinates) the actual gif file, so that only a certain area of the image shows on the new file.. just like the ...

css background image positioning

Hi guys, I need help with positioning two images on a web page. I want both the images to be fixed on the page, so one will be fixed to the top-left of the page and the other will be fixed to the bottom-right. But i also want the background to be black so if there is lots of text or content then both the images will lengthen. Below is a...

Flex desktop application: How to position elements relative to the window size

I am creating a desktop application with Flex for the first time. I am having problems with the position and size of the elements in the screen. For instance Elements with 100% width do not resize when the window is resized or maximized Elements positioned relative to the bottom of the window do not move when resizing or maximizing the...

Pinning jQuery Draggable Offset Position On Browser Resize & Zoom

I am working with jquery on dragging icons around on a webpage from threedubmedia.com's drag js script. This works by assigning the class="drag" to the images. The jquery looks like this: jQuery(function($){ $('.drag').drag(function( ev, dd ){ $( this ).css({ top: dd.offsetY, left: dd.offsetX }); }); The css l...

Image overlay help - it all stacks over one image!

I have a set of four images, and my functionality goal is so that when you hover the mouse over the image thumbnail, it applies an overlay with some information that you can click. To give you an idea, take a look at this image: I've got the basics down, but currently the overlays are just stacking in the top left image. Not sure how...