build-website-header
spacer-image
 

Configure Web Page Editors for XHTML and CSS

Most modern web page/web site editors have support for both XHTML and CSS. The default configuration of the editor may need changing to you specific needs. Because I currently use and recommend both FrontPage and NVu  I will show you how to configure both of these for XHTML and CSS.

Configuring NVu for XHTML and CSS

Click Tools>preferences then:

  •  On the General screen there is an option to use "CSS styles instead of HTML elements and attributes". This should be enabled.
  • On the Advanced screen you will see 4 radio selection buttons for enabling: 
    • HTML 4
    • XHTML 1
    • DTD transitional
    • DTD strict
     
  • Enable both XHTML 1 and DTD strict

Configuring FrontPage 2002 for XHTML and CSS

On the Tools menu, click Page Options, and then click the HTML Source tab. Ensure that the following check boxes are selected:

  • Tag names are lowercase
  • Attribute names are lowercase

On the Tools menu, click Page Options, and then click the Compatibility tab. Ensure that the following check boxes are selected:

  • CSS 1.0 (formatting)

I do not enable CSS 2.0 (positioning) as I use table layout.

Configuring FrontPage 2003 for XHTML and CSS

On the Tools menu, click Page Options, and then click the Code Formatting tab. Ensure that the following check boxes are selected:

  • Tag names are lowercase
  • Attribute names are lowercase

Also on the Code Formatting tab, ensure that the Omit end tags check box is deselected because end tags are required.

On the Tools menu, click Page Options, and then click the Authoring tab. Ensure that the following check boxes are selected:

  • CSS 1.0 (formatting)

I do not enable CSS 2.0 (positioning) as I use table layout.