• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

css help .. overflow?


Well-known member
how can i made the location field stay on its line and just add ..... if there is more than what fits , is this css "overflow" or something? thanks...



Well-known member
That looks like typical dl element on profile. You'll need to target that dl element somehow. Add something like this
dl { display: table; table-layout: fixed; width: 100%; }
dl dt, dl dd { display: table-cell; float: none; white-space: nowrap; }
dl dd { overflow: hidden; text-overflow: ellipsis; }
In those lines replace "dl" with selector that targets that one specific dl element.