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
3
votes
4 answers

Image looks tiny while centering image on the webview for some devices

I just want to fix the image on webview like the picture as shown below. I did something to achieve that and it works actually on new kind of handsets like HTC One, Samsung S2-S3-S4, etc. But for small screen devices like Galaxy Ace it doesnt work…
Mustafa Güven
  • 15,526
  • 11
  • 63
  • 83
3
votes
2 answers

How to make an Affixed sidebar navigation with fixed width (Bootstrap)

After several searches on the web, I can't find the solution for my needs. So maybe any of you can helpmeto find the good way to do it. Pretty much, I would like to use Bootstrap to make a template structure similar to this one:…
user2752173
  • 470
  • 1
  • 6
  • 10
3
votes
1 answer

coerce single-byte ascii from a text file

I am analyzing a collection of large (>150mb) fixed-width data files. I've been slowly reading them in using read.fwf() in 100 line chunks (each row is 7385 characters), then pushing them into a relational database for further manipulation. The…
Don
  • 857
  • 1
  • 9
  • 19
3
votes
0 answers

Fix width and sticky navigation and top bar in Zurb Foundation 4

I am encountering the issue of not being able to make my left hand side navigation bar to have a fixed width and at the same time make not only the top-bar, but also the side navigation bar sticky. I tried all the google results and all the…
John
  • 309
  • 1
  • 3
  • 9
3
votes
1 answer

How to preserve trailing spaces on perl variables?

Script (originally copied from here) takes a fixed-width text file as input, rearranges the order of columns, and should output a fixed-width text file. But trailing spaces are being truncated from the variables, which means the output isn't…
Stew-au
  • 434
  • 5
  • 13
3
votes
2 answers

How can I enforce wrapping the html content for a fixed width using CSS inside Body Tag?

In my HTML document, I want to enforce fixed layout (250px width). Would you please help me with a CSS snippet that can be used within a body tag so that the html content will be wrapped after a fixed width ? For example,
Emran Hussain
  • 11,551
  • 5
  • 41
  • 48
3
votes
1 answer

Layout messes up when zoomed out

I've made a fixed layout and it works great on all browsers. But when zoomed out at least one wheel scroll (90%) the second navigation (#header-navigation) items break into more lines and that pushes elements below out of their places. I tried…
Andrius
  • 157
  • 6
  • 13
2
votes
2 answers

How to do this: A fluid-width parent element, with a fixed-width and a fluid-width child element?

Before I explain, consider the following... EXAMPLE HTML CODE:
...
...
CSS CODE: #Body { min-width: 865px; width: 93%; max-width: 1785px; } #Panel { width:…
its_me
  • 10,998
  • 25
  • 82
  • 130
2
votes
1 answer

Reading fixed-width data without linefeed

I've got a flatfile, fixed width with neither newline nor linefeed (dump from AS400). How do I load this file into an R data.frame? I've tried different combinations of textConnection and read.fwf, to no avail. The code below crashes Rstudio, so I'm…
M.Dimo
  • 421
  • 2
  • 4
  • 11
2
votes
1 answer

HTML & CSS: Fullwidth (full resolution) div inside a fixed width div

https://i.stack.imgur.com/FZyiq.jpg I've designed this layout and it works fine in my mind, but when i try to make this with CSS things get a little strange. I have a div with 960px of width and this div is the main content wrapper. I want this…
2
votes
2 answers

How does Apple position its slideshow inside a fixed-position box?

See the iPhone page for an example of what I'm talking about. Apple positions its slideshow within a wrapper:
...
Here's the CSS for the wrapper. #wrapper…
Kevin Ji
  • 10,479
  • 4
  • 40
  • 63
2
votes
0 answers

In Cocoa, how can I force fixed-width character spacing on text in a proportional font?

In Cocoa on Mac OS X, I want to create an NSTableView where one column contains Ethernet hardware MAC addresses, and I want the characters of the MAC address in each row to all line up with the characters in the MAC addresses in rows above and…
Spiff
  • 608
  • 4
  • 11
2
votes
2 answers

`read_fwf` and `vroom_fwf` accidentally skipping first lines?

I'm sure I'm doing something silly, but I can't quite figure it out. Both read_fwf and vroom_fwf are producing files that lack one line (the first line, to be precise) when importing fixed-width files. There are two…
Kim
  • 4,080
  • 2
  • 30
  • 51
2
votes
2 answers

Glue PySpark - Fixed Width File Processing and Validation

I have to validate Fixed Width files that I am reading from S3 to Glue. I have the lengths of each column and I have to write a glue job to validate these files. How do I efficiently check the lengths of every row to filter out the records which…
2
votes
1 answer

Adding overflow-y to block element causes width to decrease.

This is what I have, I have left div, and a right div. The left div is a fixed width, and floated left. The right Div is a "display: block" to make it full width, and has a margin on the left to compensate for the left div. Both of the boxes have…
Hyper
  • 312
  • 4
  • 13