Closed room421 closed 10 years ago
Yeah it looks like it's a long string that isn't allowed to break. I'm wondering if some javascript could be run to check the character count and insert a space after one of the / so it could break on two lines if needed.
ex: risd.edu/students/ student_affairs
Not the cleanest thing, but would work better than this.
Lisa -- is this possible?
I'm pretty sure that this can be done with CSS. Let me try it on dev.
The CSS wrapped the text but it was arbitrary as it would wrap in the middle of a word and it wasn't pretty. I created an example using jQuery but it required more code than using XSL. The replace looks for http:// and replaces that with nothing and also looks for "/" and replaces it with it with "/ ". This code is in place on both production and development.
dafuq? This URL won't actually be allowed here (it should be "Student Affairs on www.risd.edu" under related links), but anyhow.