Questions tagged [fixed-width]

Fixed layouts are layouts that start with a specific size, determined by the Web designer. They remain that width, regardless of the size of the browser window viewing the page. Fixed width layouts allow a designer more direct control over how the page will look in most situations. They are often preferred by designers with a print background, as they allow the designer to make minute adjustments to the layout and have them remain consistent across browsers and computers.

source: http://webdesign.about.com/od/layout/g/bldeffixedlyot.htm

Fixed Width Text File Definition: Above all, a fixed width text file is a file that has a specific format which allows for the saving of textual information/data in an organized fashion. Fixed width text files are special cases of text files where the format is specified by column widths, pad character and left/right alignment. Column widths are in units of characters. So if you have data in a text file where the first column always has exactly 10 characters, and the second column has exactly 5, the third has exactly 12 (and so on), then you have a fixed width text file.

Each row (paragraph) contains one record of information; each record can contain multiple pieces of data (fields), each data field (column) has a precise number of characters. The data is padded with spaces (or any character you specify) if it does not completely use all the characters allotted to it. Further, each piece of data can be left or right justified, meaning the padding of characters can occur on either side.

source: http://www.softinterface.com/Convert-XLS%5CFeatures%5CFixed-Width-Text-File-Definition.htm

462 questions
2
votes
1 answer

Google spreadsheets fixed width for embedding in a google site

Really hoping someone can answer this question as it seems pretty straight forward; I have a google site and I'm inserting a google spreadsheet into the layout (header, left-hand nav, one column content area which is where the spreadsheet is going).…
LingDynasty
  • 21
  • 1
  • 4
2
votes
0 answers

Reading Overlapping Columns with R read.fwf

I am trying to read a fixed width text file using the read.fwf function. I am having difficulty though because a couple of my variables overlap. For example I may have the following line in my text file: 1A... Variable one has a width of 1 and so…
decal
  • 987
  • 2
  • 14
  • 39
2
votes
1 answer

Reading fixed width file - spaces are recognized

I am trying to read this fixed width data into SAS: John Garcia 114 Maple Ave. Sylvia Chung 1302 Washington Drive Martha Newton 45 S.E. 14th St. I used this code: libname mysas 'c:\users\LELopez243\mysas'; filename address…
LELopez243
  • 21
  • 1
  • 3
2
votes
2 answers

3 Fluid Divs width 2 Fixed Margins between them?

I have the following setup, but setting the width of the divs to a something around 30% is not working consistently (once the window width goes less than some number the third divs drops below.. Is there a better way of doing this, so that my divs…
Kawd
  • 4,122
  • 10
  • 37
  • 68
2
votes
1 answer

Sticky footer + fixed width + background color

There are many questions in SO regarding footer at bottom but I couldn't find a solution for this case. I have this scenario: (source: cucuza.com) I want the Content div to expand to meet the top edge of the footer. The footer must have sticky…
Guscie
  • 2,278
  • 2
  • 26
  • 33
2
votes
0 answers

KendoUI menu/navigation with fixed width

Is there a way to set fixed width to KendoUI menu elements? (I could not find a solution in the official documentation http://docs.telerik.com/kendo-ui/api/web/menu, but before I start butchering the DOM with cutsom CSS, I wanted to make sure I…
user1916783
  • 187
  • 1
  • 10
2
votes
1 answer

How do I use awk to parse a fixed-width (NACHA) file format?

My company has a problem: we suspect that the NACHA files we are receiving from one of our application service providers that we use to draw money from our clients are incorrect. We have all of the ACH agreements and legal mumbo-jumbo in place, so…
atroon
  • 133
  • 1
  • 7
2
votes
2 answers

fixed width data into postgres

Looking for good way to load FIXED-Width data into postgres tables. I do this is sas and python not postgres. I guess there is not a native method. The files are a few GB. The one way I have seen does not work on my file for some reason (possibly…
user1246428
  • 1,065
  • 3
  • 11
  • 15
2
votes
1 answer

Does width in percentage % help performance in an animation?

If I have a parent div with fixed width and children divs,
. #parent { …
Alvaro
  • 9,247
  • 8
  • 49
  • 76
2
votes
3 answers

Perl formatting (i.e.sprintf) not retained in html display

I have ran into a bit of problem. Originally, I have the following input of the format: 12345 apple 12 orange I saved the first column as $num and second column as $fruit. I want the output to look like this (see below). I would like for…
qdog
  • 269
  • 2
  • 4
  • 9
2
votes
3 answers

Reading stream with 2 different readers

I have a text file that contains a fixed length table that I am trying to parse. However, the beginning of the file is general information about when this table was generated (IE Time, Data, etc). To read this I have attempted to make a FileStream,…
Xantham
  • 1,829
  • 7
  • 24
  • 42
2
votes
6 answers

How can I extract columns from a fixed-width format in Perl?

I'm writing a Perl script to run through and grab various data elements such as: 1253592000 1253678400 86400 6183.000000 1253764800 86400 4486.000000 1253851200 36.000000 86400 …
Greg
  • 2,221
  • 4
  • 19
  • 11
2
votes
3 answers

Javascript (or css?): keep changing numbers from wiggling surrounding text

I've implemented something like this: http://jsfiddle.net/DKs49/

Here are some numbers: 123234. Cool huh?

Then change the number dynamically: setInterval(function () {document.getElementById('1').innerHTML =…

Alltheprettyhorses
  • 113
  • 1
  • 2
  • 9
2
votes
1 answer

Fixed-Width But Fluid-Height Component - Possible?

If you use setPreferredSize() on a component, it fixes both width and height. Therefore, this is no good if I only want a fixed width, and to adapt the height as necessary to accommodate the contents into that constrained width. Consider a piece of…
2
votes
4 answers

Java Swing: Vertical Layout with fixed width and variable height

I'm looking for a layout manager (or set of layout managers) that help me to arrange my components vertically. All components (buttons) should have the same width, bordered by the underlaying dialog client area width. Each of these buttons is able…
Michael Dietrich
  • 451
  • 1
  • 5
  • 17