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
2 answers

Bootstrap 4 Flexbox with Fixed and Flexible Width Columns

Using Bootstrap 4 and Flexbox, how would you accomplish a 2 column layout with a fixed-width left column and a flexible right column? I don't see anything in the docs about how to achieve this... I could do it easily enough using vanilla CSS, but I…
user1960364
  • 1,951
  • 6
  • 28
  • 47
2
votes
1 answer

Python Read fixed width files without any data type interpretation using Pandas

I'm trying to set up a Python script that will be able to read in many fixed width data files and then convert them to csv. To do this I'm using pandas like this: pandas.read_fwf('source.txt', colspecs=column_position_length).\ …
2
votes
1 answer

Why doesn't a fixed-width element take up the space beside a floated element?

In this CodePen, the
Nitin Savant
  • 931
  • 1
  • 8
  • 19
2
votes
1 answer

Fixed Width List Items Extend Full Length of Page

I have a navigation menu that takes up to 250px in width of the page's left side and 100% in height. I added a 1. Fixed Top Title List Item at the top of the navigation menu, as well as a 2. Fixed Footer List Item at the very bottom of the…
ChosenJuan
  • 891
  • 3
  • 26
  • 56
2
votes
2 answers

Position: fixed and width 100% in ios

I have an element that is fixed to the top of the page, and scrolls with you when you scroll horizontally. But in ios width of menu are not a 100% width of viewport. Width of menu is a 900px. What's a problem? I can set width with JS, but it not…
user3563581
  • 67
  • 1
  • 7
2
votes
1 answer

Iframe width and Height values

I have copy the code directly from the Site about my iframe which placed directly to my code.However when created a class iframe seems it doesn't read the values from the Class created on CSS but it bring its own size from the code that was bring…
markoz007
  • 59
  • 1
  • 1
  • 9
2
votes
1 answer

How to keep the width of the bars the same no matter the number of bars we compare in the figure?

I want to keep the width of the bars the same no matter the number of bars compared is high or low. I am using Matplotlib stacked bar chart. the width of the bars is relative to the number of the bars. Here is my sample code. How can I make the…
Atlas
  • 73
  • 3
  • 7
2
votes
1 answer

Get Font Width within VB.net Without Measuring a Control?

I need to display a table in rich text within a form window. It is only a two column table, so tabbing works fine to line everything up (since RichTextBox does not support RTF tables). However, sometimes the tab stops are incorrect because of…
Andrew J. Freyer
  • 591
  • 2
  • 12
  • 38
2
votes
1 answer

What are available monospaced fonts in C#?

According to this article https://en.wikipedia.org/wiki/Monospaced_font I tried to use Courier, Courier New, Lucida Console, Monaco, and Consolas. Why I find only "Courier New" and "Consolas" are actually monospaced and hence support fixed width of…
spspli
  • 3,128
  • 11
  • 48
  • 75
2
votes
1 answer

How do parse fixed-position file with multiple sections in Spark using Scala

I'm new to stackoverflow (regular reader, but I want to participate now). I'm also new to Scala and Spark and functional programming. Looking forward to contributing and learning on all fronts. my question: I am working with a variable record length…
rburg
  • 283
  • 3
  • 7
2
votes
2 answers

Fixed width integer types (e.g. uint32) in Python

Certain mathematical operations, especially on data read from hardware drivers, can depend on fixed width of the data type. Example: bitwise shift. What is the Pythonic way of creating integer variables with fixed width (e.g. uint32, int16 etc.)…
Andrzej Pronobis
  • 33,828
  • 17
  • 76
  • 92
2
votes
1 answer

Why is my table not respecting my fixed COL width?

I have this table: http://jsfiddle.net/fere_tzau/7pwn48zf/ . What I want to resolve is : keep a table-layout: fixed property but add a fixed value to the first col . If I add a fixed value to the this will have some sort of…
zanu
  • 21
  • 5
2
votes
1 answer

Trying to convert xml to xslt with one default and skipping elements

I looked through the examples here on how to do this, but it doesn't seem to be working for me. I am using Stylus Studio 2011 to write and test my results and my requirement is to transform and xml file into a fixed width. Here is the source: >…
TOMB523
  • 35
  • 5
2
votes
3 answers

CSS: How to make custom file upload button take full width (button works)

I am new to CSS and hope someone here can help me with this. I am trying to apply a simple custom style to a file upload button (as part of an HTML form) to make it look similar to other buttons on my page and to get a similar look cross-browser.…
keewee279
  • 1,656
  • 5
  • 28
  • 60
2
votes
2 answers

Child element expanding parent's width despite negative margin and overflow.

I'm trying to make a centered page with a fixed width containing a single element expanding above these borders (as Design element). In wide viewports it works as expected, but when the window gets smaller than the width of that element it will cut…
hugo584
  • 21
  • 2