Reply to Text-wrap bug in HTML/CSS regardless of browser type?

Your name:

Reply:


Posted by Mantic on 09/01/06 21:32

Hello.

I am having some problems with something that seems quite trivial. On
my web page, I am dynamically pulling content from a database via PHP
and mySQL, generating html code from the php script. So far every
'news' item that I pull displays just fine, except for one entry. That
entry doesn't wrap its text to its parent's width as every other entry
does. It just goes off into nothingland (overriding its parents
boundries). There are no strange HTML tags that would be causing this
that I know of.

We've narrowed the problem down to a specific sentance that breaks how
the text wraps. The strange thing is that this sentance doesn't contain
ANY punctuation or html tags. By simply removing the sentance,
everything works as expected.

My first thoughts was that our code wasn't valid, but it checks out to
be valid with XHTML 1.0 Strict. Our css code is valid too. Next I
thought it was a bug with Firefox, but then it behaves the same way
with Opera 9.0. IE doesn't really display the page properly at all, but
it shows signs of behaving similar.

Here is the url:
http://cymantix.org

The news item labeled "What? Two meals in one week?" is the one at
fault.
If we remove the sentance: "Ed Take a look at the annual Obfuscated
Perl Contest especially the code of David Powell" everything works fine
(even if we replace it with text equal in length, but just of different
content).

Strange.

Now, I'm fairly new to HTML/CSS development, and am hoping that the
solution to this problem is simple. The webpage is freshly under
construction, and is quite bare in terms of functionality (so please,
be gentle).

Thank you in advance for helping,

Mike

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация