Clean layouts and spacing
Aug 11
Here is a fun challenge for those of you who have to deal with specific sized divs that contains dynamic text. What do you do with a div that you cannot or do not want to resize dynamically. Today, I have two solutions for you.
The first and simplest technique would be to use CSS to hide overflow content.
Lets take a simple piece of code.
2<div style="border:1px solid #000000;width:100px;">
3This_is_an_unbroken_line_of_text!!!!!!!!
4</div>
Team Ravenglass