Thread: CSS
View Single Post
Old 01-03-2005, 06:10 AM   #10
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
Egad, you need a better tutorial. That code is truly ugly... hold on, I'll find you a better one. [img]smile.gif[/img]

EDIT: this one seems alright.

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.
Secondly, your opening line is a div. This is half the reason you need better tutorials [img]tongue.gif[/img] Your first line should be your doctype, the next html, the third head; . <div> can only go in body, and nested in other block level elements.
Thirdly, all tags should be in lower case. In HTML 4.0, this doesn't matter, but in XHTML 1.0 (which you realy should be using), it matters alot. As in, realy alot.
Fourthly, before you go too far, familiarise yourself with the validator. It will help alot.

[ 01-03-2005, 06:45 AM: Message edited by: LennonCook ]
LennonCook is offline