ArizonaJohn Posted June 29, 2009 Share Posted June 29, 2009 Hello, My site prints out URLs in a table. In Chrome and IE8, the URLs look great. In Firefox 3.0.11, the URLs only display up until the second forward slash. So for example, "nytimes.com/pages/world/americas/index.html" is just "nytimes.com/pages" in Firefox. Any ideas why? The code is below. Thanks in advance, John print "<td class='sitename'>".'<a href="http://'.$row['site'].'" class="links2">'.$row['site'].'</a>'."</td>"; Link to comment https://forums.phpfreaks.com/topic/164149-url-displays-fine-in-chrome-ie8-but-not-in-firefox-3011/ Share on other sites More sharing options...
RussellReal Posted June 29, 2009 Share Posted June 29, 2009 link? Link to comment https://forums.phpfreaks.com/topic/164149-url-displays-fine-in-chrome-ie8-but-not-in-firefox-3011/#findComment-865937 Share on other sites More sharing options...
ArizonaJohn Posted June 29, 2009 Author Share Posted June 29, 2009 Is there a way to modify CSS to make URLs display correctly in Firefox? Link to comment https://forums.phpfreaks.com/topic/164149-url-displays-fine-in-chrome-ie8-but-not-in-firefox-3011/#findComment-865954 Share on other sites More sharing options...
PFMaBiSmAd Posted June 29, 2009 Share Posted June 29, 2009 The posted code/data works for me in FF3.0.11. Have you done a "view source" in your browser? If all the data is there, it is likely that you have errors in the HTML/CSS surrounding that link that is causing the problem. Have you validated the page at w3.org HTML and CSS validators? Link to comment https://forums.phpfreaks.com/topic/164149-url-displays-fine-in-chrome-ie8-but-not-in-firefox-3011/#findComment-865961 Share on other sites More sharing options...
ArizonaJohn Posted June 29, 2009 Author Share Posted June 29, 2009 In FF, when I go to View Source, it says: <td class='sitename'><a href="http://en.wikipedia.org/wiki/Miami" class="links2">en.wikipedia.org/wiki/Miami</a></td> But it only displays "en.wikipedia.org/wiki" Link to comment https://forums.phpfreaks.com/topic/164149-url-displays-fine-in-chrome-ie8-but-not-in-firefox-3011/#findComment-865969 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.