Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Content going over the border, how to stop it?
Old 09-13-2007, 11:36 AM Content going over the border, how to stop it?
feraira's Avatar
BeTheBand!

Posts: 339
Trades: 0
I have a problem on my website where the content of the box overflows into the other side of the website. How can I stop this?

link: http://hotcasket.com/tutorial.php?tutID=1
feraira is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-13-2007, 12:12 PM Re: Content going over the border, how to stop it?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
It's a default property of the <pre> tag. The good news is there's a solution. The bad news is that it isn't officially standards-compliant. But in this case, I'd trade off (and have) because it works.

Code:
pre {
 white-space: pre-wrap;      
 white-space: -moz-pre-wrap; 
 white-space: -pre-wrap;     
 white-space: -o-pre-wrap;   
  word-wrap:  break-word;
That'll fix you up good and proper.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-13-2007, 07:47 PM Re: Content going over the border, how to stop it?
feraira's Avatar
BeTheBand!

Posts: 339
Trades: 0
Indeed it does; thank you very much!
feraira is offline
Reply With Quote
View Public Profile
 
Old 09-13-2007, 08:12 PM Re: Content going over the border, how to stop it?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
No problem, buddy. Thanks for asking a question outside of the norm. Those are the good ones.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Content going over the border, how to stop it?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13400 seconds with 12 queries