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 ...
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! :))
...
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...
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 ...
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 ...
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. *...
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...
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...
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...
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...
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...
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...
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]){
...
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...
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...
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 ...
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...
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...
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...
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...