fixed

Hausman Test, Fixed/random effects in SAS?

Hey guys, I'm trying to do a fixed effecs OLS regression, a random effects OLS Regression and a Hausman test to back up my choice for one of those models. Alas, there does not seem to be a lot of information of what the code looks like when you want to do this. I found for the Hausman test that proc model data=one out=fiml2; en...

How to convert a fixed height/width-fixed layout to elastic?

I used the same software used here http://us.gn.bartal.org/ to create a fixed width/height treemap in HTML + CSS. I would like to make it elastic by having a JavaScript function to convert all pixels absolute positions and sizes to percentages. How would you suggest to proceed? Is there some jQuery/Prototype/Dojo magic that I can explo...

css footer position stick to bottom of browser?

Hi css experts I'm having a problem with my site http://artygirl.co.uk/pixie/about/ I can't seem to get the footer to automatically stick to the bottom of the browser, and show the rest of my background. Is there a solution better than using position:fixed or absolute? I think there are possibly other styles over-riding some tests I ...

How to make header row of a table (with horizontal and vertical scrollers) fixed ?

I've this sample table and I want to make header row of table visible all the time. Header row should scroll with horizontal scrollbar and shouldn't scroll with vertical scrollbar. table: <div style="width:800px; height:150px;overflow:scroll;margin:50px auto;"> <table style="width:1600px" border="1"> <thead style=""> <tr> ...

position:fixed on element in ie7/8 and problems with the scrolling of the content inside it

I got an element fixed in the center of the screen, having specific dimensions (let's say 500x500). The element has content, which is larger then the height of the element and thus causes scroll bar to appear, which is fine. In FF/WebKit everything works nice. However in IE 7/8 ... content of the fixed element doesn't scroll, or scrolls ...

Scrollbar of DIV with position FIXED is partly hidden behind window scrollbar

I have a table of contents in my page (see here) with these CSS styles: div.toc { height:38em; position:fixed; right:0; top:5em; width:21em; z-index:1; } How do I have to change these settings to make sure the DIV isn't partially hidden behind the body/window scroll bar? (Tested with Firefox 3.6 and Opera 10.1...

Why is a fixed size buffers (arrays) must be unsafe?

Let's say I want to have a value type of 7 bytes (or 3 or 777). I can define it like that: public struct Buffer71 { public byte b0; public byte b1; public byte b2; public byte b3; public byte b4; public byte b5; public byte b6; } A simpler way to define it is using a fixed buffer public struct Buffer72 { ...

Horizontally-centering an absolute position to match a relative position

I'm trying to make a div box, containing various elements, fixed at the top of the page once the page has been scrolled so that the box would normally be out of view, but scroll normally until that point (like the behaviour at http://perldoc.perl.org/perl.html). The conditionally-fixed part is pretty simple to implement (set the positio...

C#:How can I fixed a form size in win application and not to let user changes its size?

C#:How can I fix a form size in win application and not to let user changes its size? ...

Making div fixed vertically but glued to the page's border horizontally

Hi! Can you please go to: http://www.binarymark.com/Products/ColorPickerPro/default.aspx and note the page's layout. What I want to do is to stick or "glue" some small div to the right side of the page, that is so that it's just outside of the right frame of the page. However, vertically I want the div to be fixed to a Window, that is ...

Java fixed memory map

Hi, Is there a simple, efficient Map implementation that allows a limit on the memory to be used by the map. My use case is that I want to allocate dynamically most of the memory available at the time of its creation but I don't want OutOFMemoryError at any time in future. Basically, I want to use this map as a cache, but but I wanna a...

How do I initialize a fixed byte array?

I have the following struct: [StructLayout(LayoutKind.Sequential, Pack = 1)] struct cAuthLogonChallenge { byte cmd; byte error; fixed byte name[4]; public cAuthLogonChallenge() { cmd = 0x04; error = 0x00; name = ??? } } name is supposed to be a null-terminated ASCII string, and Visual S...

How to position a div at the bottom of the viewport in standard and in quirks mode ??

Hi, I need to position a div to the bottom of my viewport. I start using position:fixed; bottom:0px; and that work just fine. But the thing that I'm working on gets injected via javascript in different pages. And some of the pages doesn't have a doctype defined, so in IE gets rendered like quircks mode, so the div doesn't get positioned...

IE/FF-compatible HTML table with fixed header and footer, scrollable vertically and horizontally

I need an HTML super-table of a sorts. It's fine if it's based on jQuery or some other JavaScript library. In fact I don't really care what the drawbacks are provided that the following requirements are met. Must support: At least IE8 and the most recent version of Firefox Variable-width columns (no pre-defined widths) A fixed header ...

How to make fixed header in gridView inside asp:panel?

Hi I ran into a strange issue. I am able to put gridview inside asp:panel and scrolling works too. But the moment I down, the header of gridView scrolls above inside the panel and gets hidden. I just want to scroll rows, not the header. How can I do that? Please advise. Following is what I am using. On a side note, I have tried to wra...

Import fixed width file to oracle

Is there an ability to import fixed width file to oracle? Preferably through .net(c#) for catching errors during import and showing them to user. P.S. File has 5 types of rows. For example 1 row has 5 columns, 2-nd has 50 columns. ...

Fixed background x position but not y with CSS?

I have a background image which I want to make fixed to my page when the page is scrolled. I want it where that if I scroll to the right, it remains in place. BUT, I also want to make it such that if I scroll the page in the y direction, the background DOES scroll with the page. An example would be line numbers in any IDE. I scroll the ...

Fixed grid header inside usercontrol in silverlight 4.0

Hi, I'm face to a problem really hard to solve and I found nothing in internet. I have a control used in parts of the application that is a customized grid. My problem is that in a part of the application. They put a scrollViwer to make it scrollable and they asked me to fix the header row to make it always visible. I found solution ...

How to keep image from autorotating?

I've got an UIImageView as a background image for my application, which, like a helicopter in distress, autorotates. The problem is when the orientation autorotates my image gets shifted all over the place and I don't like it. Since it's a simple texture I figure the user would prefer to have it stay in its place, and not autorotate. Wha...

Simulate position:fixed in jQuery

I have a header that is larger than the width of the page so that I can't use position:fixed to set him on top of the page, because I absolutely need to be able to scroll horizontally. I don't think there is a CSS solution for this. I made a sample of code to try to reproduce the effect of position:fixed, but there are undesired jumps. ...