
Originally Posted by
ralph.m
PHP shouldn't change it. Your URLs look off:
href="Menu5/">Menu5</a>
That and slash doesn't belong there.
Is that bad is it? Even when linking to 'Menu5/index.html'? Wouldn't 'Menu5/' lead to the same address?
The <a> tags appear to have nothing to do with it - you can remove them completely and have the same problem.
And sorry if I wasn't clear - it isn't php that's the issue, it's the white space & formatting thats the problem. I always thought white space didn't matter in html.
So for example:
Formatting the html like this everything works fine:
HTML Code:
<div id="wrapper">
<div id="backnav">
<ul>
<li>Menu1</li>
<li>Menu2</li>
<li>Menu3</li>
<li>Menu4</li>
<li>Menu5</li>
</ul>
</div>
</div>
But if you take exactly the same HTML and format it like this the justification breaks for some reason:
HTML Code:
<div id="wrapper"><div id="backnav"><ul><li>Menu1</li><li>Menu2</li><li>Menu3</li><li>Menu4</li><li>Menu5</li></ul></div></div>
I have no idea why this happens.
Bookmarks