I'd suggest getting your page to validate, first. You shouldn't be debugging it while it's not actually HTML.