Top "Width" questions

The property which determines the size of an object on the X-axis.

Expand div to max width when float:left is set

I have something like that: <div style="width:100px;float:left">menu</div> <div style="…

html width
C# ListView Column Width Auto

How can I set the column width of a c# winforms listview control to auto. Something like width = -1 / -2 ?

c# .net winforms listview width
Full width image with fixed height

I'm trying to create an image looking like the cover image here, using only css and html. I've tried different …

html css image width cover
How to get the <td> in HTML tables to fit content, and let a specific <td> fill in the rest

This is a hypothetical example: I want to have every single column's width to fit its content size, and leave …

html css html-table width
How to make div's percentage width relative to parent div and not viewport

Here is the HTML I am working with. What I would like to happen is for the inner div to …

html css width css-position
How to get the width and height of an android.widget.ImageView?

╔══════════════════════════════════════════════╗ ^ ║ ImageView ╔══════════════╗ ║ | ║ ║ ║ ║ | ║ ║ Actual image ║ ║ | ║ ║ ║ ║ |60px height of ImageView ║ ║ ║ ║ | ║ ║ ║ ║ | ║ ╚══════════════╝ ║ | ╚══════════════════════════════════════════════╝ <------------------------------------------------> 90px width of ImageView I have an image view with …

android image height width
How to make a div with no content have a width?

I am trying to add a width to a div, but I seem to be running into a problem because …

html css width css-float
CSS to make table 100% of max-width

Given the following for an email template: <style> @import url("http://fonts.googleapis.com/css?family=Open Sans"); &…

css html-table width html-email
Is it really impossible to make a div fit its size to its content?

I'd like to clarify whether it's possible or not to make a div fit its size based on the content's …

html size width
How to set width to 100% in WPF

Is there any way how to tell component in WPF to take 100% of available space? Like width: 100%; in CSS I've …

wpf width autosize