PDA

View Full Version : auto generate scrolling text controls


demonVapor
10-24-2008, 03:51 AM
I'm an artist so not sure if this is possible.

I'm working on an HTML site, no flash. The client wanted a very graphical interface, and on the main page the bounds of the area where text would go is very curved so it would be impossible to make a stretch space if a user increased the font size.

Is there a way to create an auto-detect-scroll kind of text area with no border? By auto-detect-scroll I mean the scroll would not be there to start, only if the text would scale beyond the bounds I defined, such as a table or some kind of text box. So if a user came to the site and scaled up the text in the browser (like a command+(+) in safari), instead of stretching out the table it would show a scroll bar for the text and leave the UI how I built it.

I could of course save the text as an image but I'd rather not so that search engines could pick it up.

Thanks

D

jasonJ
10-25-2008, 03:42 PM
By auto-detect-scroll I mean the scroll would not be there to start
This is done via "overflow:auto" css property...

only if the text would scale beyond the bounds I defined
... and "max-width" or "max-height".