The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> text overflowing
Kaged
post May 4 2012, 08:55 AM
Post #1





Group: Members
Posts: 2
Joined: 4-May 12
Member No.: 17,050



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?

This post has been edited by Kaged: May 4 2012, 08:56 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 4 2012, 11:56 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 15,367
Joined: 9-August 06
Member No.: 6



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.


--------------------
"Never go to excess, but let moderation be your guide."
- Cicero

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Kaged
post May 4 2012, 09:45 PM
Post #3





Group: Members
Posts: 2
Joined: 4-May 12
Member No.: 17,050



ok. thanks for the advice. but, how do you do that?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 5 2012, 04:35 AM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 15,367
Joined: 9-August 06
Member No.: 6



Don't specify a height and the box will expand to fit the text.


--------------------
"Never go to excess, but let moderation be your guide."
- Cicero

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 2nd September 2014 - 01:40 AM