Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to hide text that is longer than its parent div

/* Do this in the parent div */
div {
  overflow: hidden;
}
 
PREVIOUS NEXT
Tagged: #hide #text #longer #parent #div
ADD COMMENT
Topic
Name
7+8 =