Questions tagged [variable-width]

Variable-width encodings represent characters using a storage size that varies based on the character in question.

Variable-width encodings represent characters using a storage size that varies based on the character in question.

For example, UTF-8 represents basic ASCII characters (such as "A") using a single byte, whilst the CJK character "も" is represented as a three-byte sequence.

24 questions
0
votes
0 answers

Existing flow layout for variable width uicollectionview

Is there any existing flow layout which can support a collection view which the user can scroll a collection of images in a horizontal direction but have the images have variable width and same height? I have one sort of working but it sometimes…
0
votes
3 answers

Fixed width element with variable width input

Your probably going to say this has been asked before but this is a variation with a bug. So we are all aware of the technique used to answer this question: Fixed width div on left, fill remaining width div on right However this does not work if the…
Mike Oram
  • 765
  • 8
  • 21
0
votes
2 answers

Variable width tabs (auto width)

I am trying to create tabs using CSS instead of images. I want the tabs to automatically adjust to the content within them, however I want them to have a max-width of 200px. I would like for the tab width to adjust to the content automatically so…
user3101431
  • 407
  • 2
  • 8
  • 15
0
votes
0 answers

How do you get text-overflow: ellipsis to work in a multiline cell?

I have a table that has cells of variable widths and heights set by percentage and I want to have the text truncated like it is with text-overflow: ellipsis; but I want the text to fill my cell with multiple lines until it runs out of space. .cell…
0
votes
1 answer

google maps API v3 div won't fill space properly 100% width + height

Here is my site. (I have been working on it all morning but there seems to be some issue with my host at the moment so if you cannot connect it should work later). As you can see the map is too big. I have a sidebar floating on the right of the page…
Muckee
  • 474
  • 1
  • 8
  • 26
0
votes
1 answer

Variable width div (with minium width) in between two fixed width divs

I'm trying to place three divs side by side. The first div has a fixed width and needs to be against the left side of the screen (ie: float:left;). The next div also has a fixed width and needs to be against the right side of the screen (ie:…
Harry Muscle
  • 2,247
  • 4
  • 38
  • 62
0
votes
1 answer

center image that changes size depending on browser size

I have a website that I need to fit to different screen sizes. Most of that is quite straightforward, but I have a slideshow that need to resize with screen size AND have the image centered on the page. The images are wider than the page, so as to…
Henrik
  • 1
  • 1
0
votes
2 answers

DIV @100% Remainder Variable width

I have an expandable menu, which pops out from a thin left hand bar (open men and close menu type) Majority if the time, it will take up around 50px, except when it is open, when its about 250. I want my #content div to be 100% of remainder. So its…
Henry Aspden
  • 382
  • 2
  • 5
  • 15
-2
votes
2 answers

Regex Error: A lookbehind assertion has to be fixed width

My pattern works in JavaScript. (?<=(?:username|Email|URL)(?:\s|:))[^\n]+ However, when I try to use it in PHP, I get this error: A lookbehind assertion has to be fixed width How I can fix it? Demo: https://regex101.com/r/x2W3S5/1
Kadi
  • 37
  • 6
1
2