Jump to content

hellem

Neophyte
  • Posts

    1
  • Joined

  • Last visited

hellem's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. всем привет нид хэлп задача: есть див он фиксированной ширины в нем текст нужно что бы выводилось первые две строки, что не влезает - обрубалось и стояло троеточие вконце у меня получилось сделать только что бы выводилась только первая строка, и вконце троеточие делал на цсс можешь подсказать как сделать на цсс и реально ли? или стоит делать на яве? код html: <div class="event_place"> <?php print $node->field_place[0]['view'];?> </div> код css: .event_body{ display:block; text-align:justify; white-space: normal; overflow: hidden; text-overflow: ellipsis; height:2em; }
×
×
  • 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