ts2000abc Posted April 16, 2009 Share Posted April 16, 2009 when i have a long string $example = ”something something something something”; Mozilla and Opera browser are showing this string as one long line. IE and Chrome are chopping this string to rows. something something something something How can i get Mozilla and Opera to do the same thing? Do i need to convert the string somehow etc.? Quote Link to comment Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted April 16, 2009 Share Posted April 16, 2009 This isn't a php question. It's HTML/CSS one. Try posting the full HTML output and not your php script, including any CSS file in the html section. Try validate the page (html) with W3C : http://validator.w3.org/ And the CSS with : http://jigsaw.w3.org/css-validator/ It may help you find where the error come from. Quote Link to comment Share on other sites More sharing options...
ILMV Posted April 16, 2009 Share Posted April 16, 2009 Can you post a screenshot of the browser screen and source code window when this issue is occuring... seems like a strange one. Quote Link to comment Share on other sites More sharing options...
ts2000abc Posted April 16, 2009 Author Share Posted April 16, 2009 This isn't a php question. It's HTML/CSS one. hhmmm... Yep; but i was just wondering if there is some way to convert stings to format that all browsers would handle them same way... (something like wordwrap) anyway... found css fix for this. http://petesbloggerama.blogspot.com/2007/02/firefox-ie-word-wrap-word-break-tables.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.