ArizonaJohn Posted June 29, 2009 Share Posted June 29, 2009 Hello, In the code below, $row['site'] is an URL. In Chrome and IE8, it displays fine. In Firefox 3.0.11, it only displays everything up until the second forward slash. So "en.wikipedia.org/wiki/Miami" is only displayed as "en.wikipedia.org/wiki". I believe this is because of the CSS that I am using, but I can't quite figure out how to fix it. Any ideas? Thanks in advance, John Here is the code: print "<table class=\"navbar\">\n"; print "<tr>"; print "<td class='sitename'>".'<a href="http://'.$row['site'].'" class="links2">'.$row['site'].'</a>'."</td>"; Here is the CSS: table.navbar { margin-left:44px; margin-top:0px; text-align: left; font-family: Arial, Helvetica, sans-serif ; font-weight: normal; font-size: 12px; color: #000000; width: 700px; background-color: #A7E6FE; border: 1px #FFFFFF; border-collapse: collapse; border-spacing: 4px; padding: 4px; text-decoration: none; } table.navbar td { border: 2px solid #fff; text-align: left; height: 16px; } table.navbar td a{ padding: 3px; display: block; } .sitename { width: 535px; overflow:hidden; } a.links2:link { color: #000000; text-decoration: none; text-align:left; margin-top:6px; margin-bottom:2px; margin-left:2px; padding:0px; font-family:Arial, Helvetica, sans-serif; font-size: 12px; width: 10px; height: 12px; vertical-align:middle; } Link to comment https://forums.phpfreaks.com/topic/164170-css-styling-seems-to-hamper-url-display-in-firefox/ Share on other sites More sharing options...
Hybride Posted June 30, 2009 Share Posted June 30, 2009 Try removing .sitename { width: 535px; overflow:hidden; } the overflow:hidden. Link to comment https://forums.phpfreaks.com/topic/164170-css-styling-seems-to-hamper-url-display-in-firefox/#findComment-866050 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.