About 130,000 results
Open links in new tab
  1. How to make a table column be a minimum width - Stack Overflow

    I'm trying to make 8 of the 10 columns of a table to only take up exactly the minimum width that they need to, based on the text, respecting the padding and column headers. In the example …

  2. html - Min width in window resizing - Stack Overflow

    9 Well, you pretty much gave yourself the answer. In your CSS give the containing element a min-width. If you have to support IE6 you can use the min-width-trick: #container { min …

  3. Why doesn't the <input> element respect min-width?

    That default size in greater than the min-width, so the both the browser and the css are happy to let that default width take place and increase the width of the container. By setting a max-width …

  4. html - setting minimum width of div - Stack Overflow

    May 18, 2011 · I am not setting the width of the div that the objects are within as I want it to be able to expand to include whatever items are within it. But I do want the div to have a minimum …

  5. css - Set min-width in HTML table's <td> - Stack Overflow

    In CSS 2.1, the effect of 'min-width' and 'max-width' on tables, inline tables, table cells, table columns, and column groups is undefined. This hasn't changed in CSS3.

  6. How to enforce a min-width for a page (css) - Stack Overflow

    Dec 4, 2015 · Rather than restructure it all, when virtually nobody will ever access this on a mobile, I'd rather just put a min-width on the page and accept when the occasional mobile user …

  7. css - Media Queries: How to target desktop, tablet, and mobile?

    At standard zoom 1em === 16px, multiply pixels by 1em/16px to get em s. For example, 320px === 20em. In response to the comment, min-width is standard in "mobile-first" design, wherein …

  8. css - How do I set this div to be the minimum possible width to …

    Jun 3, 2013 · Remove the min-width from the .container and add display:inline-block; also if you want to center the .container then wrap the .container with a div and apply text-align:center to it.

  9. Setting a minimum width to fit on responsive website

    Use the latter meta viewport value and simply set the min-width CSS property for the body or your container element to be the 480px value you require and set the width to 100%. The min-width …

  10. css - How to specify a flex item to be of certain minimum width ...

    Mar 16, 2015 · The CSS flex-basis property specifies the flex basis which is the initial main size of a flex item. The property determines the size of the content-box unless specified otherwise …