Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Force text to wrap?

Force text to wrap?
Thread Tools
nonhuman
Posting Junkie
Join Date: Jun 2001
Location: Baltimore, MD
Status: Offline
Reply With Quote
Feb 23, 2005, 02:45 PM
 
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?
     
Chris O'Brien
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status: Offline
Reply With Quote
Feb 23, 2005, 04:35 PM
 
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
     
nonhuman  (op)
Posting Junkie
Join Date: Jun 2001
Location: Baltimore, MD
Status: Offline
Reply With Quote
Feb 23, 2005, 05:26 PM
 
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 Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 10:54 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,