Thread: CSS
View Single Post
Old 01-03-2005, 07:05 AM   #15
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
Quote:
Originally posted by philip:
quote:
Originally posted by LennonCook:

EDIT again, since I read your post properly this time. Firstly, you can get rid of all that Javascript. You don't need it for this. To change between pages is quite simple: <a href="url to new document">the text to be linked</a> . The quotes are mandatory. Your links won't go anywhere since they don't have an href element.
I know how to normally link. But then I have to put the menu in the html file that's being opened as well, right? So that's the proper way to do it? [/QUOTE]There is realy no right and wrong way. It is one way to do it, although maintance on it will be a pain. But using static pages, it is far and away your best option: (i)frames are generally a bad idea (and they're forbidden in Strict and Transitional DOCTYPEs anyway). Neither complex javascript nor frames will degrade well. For a menu, though, p's in a div aren't the best way to go. Use an unordered list instead. Newt Edge has some good code for this.
LennonCook is offline