How to make div the default height if the content is too long automatically lengthened

Source: Internet
Author: User
Tags comments
how to make div the default height if the content is too long automatically lengtheneda345500193 | Browse 4,966 times question not open answer | Report recommended at 2016-02-29 19:25:20 Best Answer
min-height:200px; * * When div content does not exceed 200px height, div height is 200px*/
Height:auto; * * When the div content exceeds 200px height, div automatically increase * *
min-width:100px; * * When div content does not exceed 100px width, div width is 100px*/
This answer by the computer network classification talent Guo Qiang recommended report | Comments (1) 12 4 release Comments Fineline | 2013-5-9 11:43 agree with the landlord, is to answer

DulinaA2

Acceptance rate:12%  from: Sesame Group   Excel:  website use   image processing software   TCM   Psychiatry Department &NBSP;HTML/CSS Other answers Do not write height can be automatic lengthened, if not. Description floated up. You can add <div style= "Clear:both" at the end of the </div>. ></div> can solve this problem;. Do not understand please continue to cross-examine, please accept me thank you pufei889    |  released in 2012-06-04 report |   Comments (7)   20  5 Publish Comments Ice58313dota | 2016-11-22 00:24 zanyige back shaft crossing | 2015-4-4 07:39 reply pufei889: I did not say that I have heard the change question can be changed. Reply pufei889 | 2015-3-23 23:38 back shaft crossing: Dude, the landlord modified the question good. I didn't ask you that before. Reply JACKIECSJ | 2015-3-23 10:05 This is the essence of praise one. Back to the shaft of the Mark | 2015-2-25 20:17 fart, you did not see the landlord's needs. Reply to

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.