Posted by David Dorward on 09/19/07 14:28
On Sep 19, 2:58 pm, Daniel Smedegaard Buus <danielb...@gmail.com>
wrote:
> <a href="/?cat=1" title="View all articles filed under Works" <?
> php if (cur_page() == 'works') { echo("class=\"current\""); } ?>>
> <div class="link">
That's a syntax error. <a> elements may not contain <div> elements.
Try running your code through a validator (such as the one at
http://validator.w3.org/ ). "Weird behavior" is to be expected when
you present software with unexpected input.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
[Back to original message]
|