Forum Moderators: open
I'm working on a template for a CMS and decided to do it in GoLive. Now I'm using the HTML validator from w3c.org but regardless what settings I chose in GoLive it's always considered to be invalid. Neither one of the three HTML 4.1 settings works, nor the 3.2 setting.
Am I doing something wrong, or is GoLive not capable of creating proper HTML?
I'll admit, I've never used the app but like you I was not impressed at all with the bloated code it creates (that's the reason it will not Validate...GL inserts proprietary tags).
GoLive's code-work WILL make an acceptable, viewable page but some of the tags can't/aren't recognized by the W3c validator but browsers have no problem and THEY are the ones that actually "validate" your work: The visitors.
The newer version of GL (I'm assuming Ver.6 does the same) offers a "Site" segment for creating/updating web sites. So, I created a "Site", complete with blank HTML/SHTML/PHP pages. Then copied my NoteTab codeworked pages into the GL app.
No more bloated code but all the "Conveniences" of a Fancy Shmancy application. Works like a charm!
The final validation was done with the w3c validator - and it just worked fine after several iterations.
Only that I have one piece of external, proprietary Javascript code in the page which refuses to validate. But all aspects I can take charge of now nicely validate.
Before you do that though.. select the coding your want for example: html 4.01 strict (THEN) rewrite source code again.
When you export the site you are left with the valid HTML 4.01. Quite simple. GoLive offers a lot of options to control your coding. Read your book :)
Hope that helps!
As for "read the book": it didn't come with one. It came as "CD-only" with a bundle of other software as "giveaway" from our ISP. And - YES - it had a valid serial-number!