View Single Post
Old 01-08-2013, 03:25 AM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,449
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
1. There is no such thing as a font tag - there used to be but it was deleted from HTML in 1997. You should replace it with a span tag and attach CSS instead.

2. You can't use numbers by themselves after a # in the href as the value after the # points to an id in the page and ids must start with a letter.

3. To generate the code in a while loop you'd need to run the loop using PHP. As you have a fixed number of entries you want for each difection a for loop would work better than a while loop. See http://php.net/manual/en/control-structures.for.php
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is online now   Reply With Quote