overflow
and text-overflow
). My css ended up as
.note_title { /* ... */ overflow: hidden; text-overflow: ellipsis; }
The icon font was also super easy to set up. I just added the font-awesome folder to my css/ and added a
<link>
tag. Then I can do something like <i class="fa fa-pencil"></i>
which renders as the pencil icon on the header.Tomorrow I will get the delete button to actually delete notes.
Hmmm... You mentioned this in class on Friday, and I want to go off now and spend some time researching both overflow and text-overflow, until I get some idea what they are all about. Alas, it is getting late, so I'll have to put that off until later. Please remind me if I forget ;-)
ReplyDelete