Questions tagged [stretch]

Stretching images in code.

516 questions
0
votes
3 answers

How to use both fixed and stretchy CSS content

I'm trying to use both fixed-width and stretchy CSS content, similar to what is seen on Google Calendar. I assumed this would be easily achievable using min-width and max-width, however I am having trouble with sub-elements which are simply sticking…
AaronDS
  • 851
  • 2
  • 13
  • 31
0
votes
1 answer

Div stretch out into the corner part of the screen

so here's the situation. I want my specific div to be stretch out to the right of the screen even though the user uses zoom in/out on their browser. You'll see my example here http://jsfiddle.net/4LD7h/ So this is what it looks like when you zoom…
Juvar Abrera
  • 465
  • 3
  • 10
  • 21
0
votes
1 answer

Stretch Horizontal ListBox

I would like to stretch a listbox similar to that :
Pak
  • 2,639
  • 2
  • 21
  • 27
0
votes
5 answers

This layout just seems not to be suited for the usual CSS techniques

Just check this fiddle: http://jsfiddle.net/9EJpu/25/ How can I stretch the blue div 100% horizontally so it docks to the purple right div? If I set width:100% its just doing what a div is used for to "line-break" down the purple div. I also tried…
Pascal
  • 12,265
  • 25
  • 103
  • 195
0
votes
2 answers

Can not stretch the css divs 100 % vertically and horizontally

I am trying to convert my table design to css div design. What does not work: 1.) The black div will have list items therefore I need scrollbars which is shown at the moment. Thats fine. But I do not want to limit the height to 400px. My former…
Elisabeth
  • 20,496
  • 52
  • 200
  • 321
0
votes
0 answers

Button Background image won't shrink in VB.Net

I used the following code in a VB.Net forms application: Dim btnShowHideSize As New Size(30, 30) btnShowHide.Size = btnShowHideSize Dim img As New Bitmap(Resources.change2) Dim img2 As New Bitmap(img, btnShowHideSize) …
Chiwda
  • 1,233
  • 7
  • 30
  • 52
0
votes
1 answer

XNA Texture Stretch Fuzzy

If I stretch a texture to a destination rectangle, and I have a simple 1X2 sprite (windows forms button background) XNA stretches the sprite very fuzzy, I get a gradient instead of the bottom part dark and the top one light. Is there something like…
Basaa
  • 151
  • 2
  • 13
-1
votes
1 answer

WPF stretch image without Stretch="Fill"

I am trying to make responsive WPF app which shows image. One of the program's functionalities is selecting a piece of an image by clicking and draging the mouse. I use Point p = e.GetPosition((IInputElement)sender); to find cursor position, and I…
tm607
  • 13
  • 6
-1
votes
2 answers

How to make vertical and horizontal center without stretching image with css?

If I set width and height using css (width:100%; height:100%), image will be stretched, and It looks ugly. How to Fill images without stretching? What is more, how to make vertical and horizontal center?
Conda
  • 141
  • 1
  • 2
  • 12
-1
votes
1 answer

Stretch image according to the content css

How to stretch image according to it's content horizontally with css. //html code