Jump to content

Search the Community

Showing results for tags '#min-height'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Development
    • HTML Coding
    • JavaScript
    • PHP
    • CMS
    • Database
    • Web Server
    • Web-site Development
    • Internet Marketing, SEO
  • Library
    • Tricks and solutions
    • Books
  • Commercial services
    • Freelance
    • Job
    • Goods and Services
  • Our Forum
    • Flame
    • Contests
    • Feedback and Ideas

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Web site


Telegram


Signal


Viber


Skype


From


Interests

Found 1 result

  1. Всем Здравствуйте! Такая вот проблема: внутри "div" находится "p", который растягивается в зависимости от объема текста, который в него помещается. Но "div" при этом остается фиксированной высоты "min-height". Я так понимаю все дело в свойстве position. Но не знаю, как это обойти. Нужно, чтобы "div" растягивался вместе с тегом "p". Вот скрин вылезающего текста: http://joxi.ru/YmEqpnRI9BNem6 Вот css код для "div": div{ position: relative; display: inline-block; width: 900px; left: 220px; background-color: #c3c3c3; min-height: 241px;}Ну и на всякий случай css код для "p":p{ display: inline-block; width: 500px; position: absolute; top: 50px; left: 160px;}Заранее спасибо за ответ!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy