Results 1 to 2 of 2
Jun 8, 2007, 01:56 #1
- Join Date
- Mar 2007
- 0 Post(s)
- 0 Thread(s)
How can i make sure the text doesn't overflow?
My site: http://leoj.info/upload889/framed-still.html
I want to have the text never be bigger than that page. Right now it is in an absolutely positioned div with overflow set to auto. Something like %'s would keep the text always less than the web browsers default view? Like if the make the default text size bigger with zoom or w/e I want my text to get smaller.
Thanks, say something if I wasn't clear.
Jun 8, 2007, 15:45 #2
You can't prevent users from resizing text, nor should you. Some people simply cannot read text when it's small and need to make it bigger.
You can choose from a few compromises:
- use overflow: auto, as you're doing now, and accept scrollbars
- Use a tiled background that can expand with the text. With your design this would be really difficult to pull off.
- Give yourself a few extra pixels. You've designed for an 800x600 screen, but there aren't too many of those about any more, and even fewer in the gaming community I would think. Design for 1024x768 instead.