|
|
Force text to wrap?
|
|
|
|
Posting Junkie
Join Date: Jun 2001
Location: Baltimore, MD
Status:
Offline
|
|
I have a website with a fixed width table in it. The table displays various information that it pulls out of a MySQL database including URLs. I need the column width to stay constant or the formatting for the site will be messed up.
This is causing problems when the URLs get long (for example: http://today.reuters.com/news/newsAr...ONY-PDA-DC.XML). In Safari and IE the URL is wrapped to fit into the pre-defined width, but in Firefox the column width is increased to fit the URL causing the page to look horrible.
Is there some way to force Firefox to follow the same behavior as Safari and IE for this?
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status:
Offline
|
|
Have you tried using table-layout: fixed, and/or setting the overflow of the tds to hidden?
|
Just who are Britain? What do they? Who is them? And why?
Formerly Black Book
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Jun 2001
Location: Baltimore, MD
Status:
Offline
|
|
Originally posted by Black Book:
Have you tried using table-layout: fixed, and/or setting the overflow of the tds to hidden?
Neither of those did the trick alone, but both of them together solved the problem. Thanks!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|