Can the length of the URL affect the layout?

FFshawnm

New Member
This is really a weird problem. So we have an existing navigation that goes like this:\[code\]<div class="tab"> <a href="http://stackoverflow.com/questions/4385058/URL1/file.php" target="_top">HOME</a> <a href="http://stackoverflow.com/questions/4385058/URL2/file.php" class="active" target="_top">NAV2</a> <a href="http://stackoverflow.com/questions/4385058/URL3/file.php" target="_top">NAV3</a> <a href="http://stackoverflow.com/questions/4385058/URL4/file.php" target="_top">NAV4</a> <a href="http://stackoverflow.com/questions/4385058/URL5/file.php" target="_top">NAV5</a></div>\[/code\]Thing is once we change the URLs to something longer (cause the web address of the live site is longer than the test site), the layout of the header goes awry (the items should be in one horizontal line but when we make the URLs longer, some of the text goes to the next line). Why is that so? I mean it's not the text on the URL, it's the URL itself which shouldn't affect how things are displayed.Has anybody encountered this weird problem? Happens on all browsers.
 
Top