Help - Search - Members - Calendar
Full Version: text overflowing
HTMLHelp Forums > Web Authoring > General Web Design
hey, im new to web design and i have a problem.
in my school we use iMacs when i coded the website. when i try to view it on my PC at home. the website is different, some textbox move abit. but my main problem is that some text go out its div tag. and oh, it also differs from browser to browser.

the site

how do i fix that?
Don't limit the height of boxes that contain text. It's enough to use a larger text size in the browser to break it (note, text size, not page zoom!). You can't know what text size your visitors prefer, what resolution they have, how big browser window - you can't know how big an area the text will occopy. If you limit both width and height of a text box the text has nowhere to go when it needs more room than the box provides, so it overflows.
ok. thanks for the advice. but, how do you do that?
Don't specify a height and the box will expand to fit the text.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.