Jump to content

Recommended Posts

Posted

Cum pot limita caracterele si sa apara dupa ..... de ex: " Cine sunt eu? , Cine sun.... " acesta este codul

  Reveal hidden contents

Posted

poti folosi proprietatea CSS text-overflow ce poate avea valorile clip sau ellipsis.

 

Exemplu:

<style type="text/css">
div {
white-space:nowrap;
width:10em;
overflow:hidden;
border:1px solid #000000;
}
</style>
<div style="text-overflow:clip;">Acest text nu incape in element</div>
<div style="text-overflow:ellipsis;">Acest text nu incape in element</div>

 

Pune asta intr-o pagina noua html si vezi diferenta.

http://www.tutorialeweb.net

Tutoriale xHtml, CSS, JavaScript, PHp, MySql, AutoCAD

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.