Tag: CSS

CSS

CSS Pro Tips

An anti-pattern is a set of practices or habits (in the context of computer programming) that although are common and repeated are ultimately unhelpful or detrimental. Why anti-patterns form is…

Text overflowing

Some experimentation with the text-overflow property. <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”    “http://www.w3.org/TR/html4/strict.dtd”><html>  <body><div style=”border: 1px solid red; max-width: 400px; overflow:hidden; text-overflow: ellipsis;”><nobr>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac…