Or wrapping that is. I just had reason to look into this with run away non-wrapping URLs in a twitter feed. Turns out the solution is simple in CSS. Simply apply
word-wrap: break-word;
to the DIV containing the offending line and problem solved. Nice.
Working on a new site, I was wanting a lined, or striped background. It’s a simple thing to do with an image, and you can keep the image small so the impact on load time is negligible, but I wondered could you do the same thing with CSS? more »
Getting CSS to position elements where you want them can be a hair pulling experience. Case in point is when a DIV element refuses to expand vertically. more »
Just quickly, in the world of CSS and visual web site presentation, I wonder how many designers are of an all-or-nothing mindset, meaning you abandon much of all HTML page layout and use only CSS. I have tried countless times to take that approach only to discover you often you end up with a ridiculous amount of CSS due to the lack of uniform browser adoption (no thanks to the biggest offender Microsoft) to achieve what simple HTML has done in all browsers for years now. A really good example is tables, which are straightforward and can be very complex in HTML, and can quickly become a nightmare in CSS. Oh sure, there is a crude table option in CSS, but why go there when it’s not supported in all browsers and HTML is? Thoughts?