frontpage xhtml standards compliance

C

corinaw

I have a website in xhtml format. How do I get frontpage to correctly code
for xhtml code differences such as <br /> vs <br> (meta , img, etc )

Frontpage's configuration --page options>code formatting>omit end tag is
selected AND grayed out for br , so I can't simply uncheck this box.

My doc type is below- Is it me, or frontpage?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

thank you
 
S

Stefan B Rusynko

Unfortunately FP does not have a Schema for XHTML that will automatically code all pages to XHTML
"stds"
But FP2003 will reformat a finished page to XML
- in Code View right click and select Apply XML formatting




|I have a website in xhtml format. How do I get frontpage to correctly code
| for xhtml code differences such as <br /> vs <br> (meta , img, etc )
|
| Frontpage's configuration --page options>code formatting>omit end tag is
| selected AND grayed out for br , so I can't simply uncheck this box.
|
| My doc type is below- Is it me, or frontpage?
|
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml">
|
| thank you
 
M

Murray

That seems to work OK, but it does not insert an XHTML doctype, nor does it
modify the <html> tag to XHTML standards. I suppose you can do this
manually....
 
S

Stefan B Rusynko

Yes - Just create a code snippet that you can reuse




| That seems to work OK, but it does not insert an XHTML doctype, nor does it
| modify the <html> tag to XHTML standards. I suppose you can do this
| manually....
|
| --
| Murray
| ============
|
| | > Unfortunately FP does not have a Schema for XHTML that will automatically
| > code all pages to XHTML
| > "stds"
| > But FP2003 will reformat a finished page to XML
| > - in Code View right click and select Apply XML formatting
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > | > |I have a website in xhtml format. How do I get frontpage to correctly
| > code
| > | for xhtml code differences such as <br /> vs <br> (meta , img, etc )
| > |
| > | Frontpage's configuration --page options>code formatting>omit end tag is
| > | selected AND grayed out for br , so I can't simply uncheck this box.
| > |
| > | My doc type is below- Is it me, or frontpage?
| > |
| > | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| > | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| > | <html xmlns="http://www.w3.org/1999/xhtml">
| > |
| > | thank you
| >
| >
|
|
 
C

corinaw

What is a code snippet?. Is this something like a macro to find and replace
all <br> to <br />

Thanks
 
M

Murray

It's a bit of markup that can be easily inserted in any page. This would be
for the XHTML doctype....

The conversion of <br> to <br /> is well handled by the Apply XML formatting
method mentioned earlier.

--
Murray
============

corinaw said:
What is a code snippet?. Is this something like a macro to find and
replace
all <br> to <br />

Thanks

Stefan B Rusynko said:
Yes - Just create a code snippet that you can reuse




| That seems to work OK, but it does not insert an XHTML doctype, nor
does it
| modify the <html> tag to XHTML standards. I suppose you can do this
| manually....
|
| --
| Murray
| ============
|
| | > Unfortunately FP does not have a Schema for XHTML that will
automatically
| > code all pages to XHTML
| > "stds"
| > But FP2003 will reformat a finished page to XML
| > - in Code View right click and select Apply XML formatting
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > | > |I have a website in xhtml format. How do I get frontpage to
correctly
| > code
| > | for xhtml code differences such as <br /> vs <br> (meta , img,
etc )
| > |
| > | Frontpage's configuration --page options>code formatting>omit end
tag is
| > | selected AND grayed out for br , so I can't simply uncheck this
box.
| > |
| > | My doc type is below- Is it me, or frontpage?
| > |
| > | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| > | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| > | <html xmlns="http://www.w3.org/1999/xhtml">
| > |
| > | thank you
| >
| >
|
|
 
S

Stefan B Rusynko

See Tools Page Options Code Snippets
or http://msdn.microsoft.com/library/d..._fp2003_ta/html/odc_fpCustomizingSnippets.asp




| What is a code snippet?. Is this something like a macro to find and replace
| all <br> to <br />
|
| Thanks
|
| "Stefan B Rusynko" wrote:
|
| > Yes - Just create a code snippet that you can reuse
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > | That seems to work OK, but it does not insert an XHTML doctype, nor does it
| > | modify the <html> tag to XHTML standards. I suppose you can do this
| > | manually....
| > |
| > | --
| > | Murray
| > | ============
| > |
| > | | > | > Unfortunately FP does not have a Schema for XHTML that will automatically
| > | > code all pages to XHTML
| > | > "stds"
| > | > But FP2003 will reformat a finished page to XML
| > | > - in Code View right click and select Apply XML formatting
| > | >
| > | > --
| > | >
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > To find the best Newsgroup for FrontPage support see:
| > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > _____________________________________________
| > | >
| > | >
| > | > | > | > |I have a website in xhtml format. How do I get frontpage to correctly
| > | > code
| > | > | for xhtml code differences such as <br /> vs <br> (meta , img, etc )
| > | > |
| > | > | Frontpage's configuration --page options>code formatting>omit end tag is
| > | > | selected AND grayed out for br , so I can't simply uncheck this box.
| > | > |
| > | > | My doc type is below- Is it me, or frontpage?
| > | > |
| > | > | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| > | > | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| > | > | <html xmlns="http://www.w3.org/1999/xhtml">
| > | > |
| > | > | thank you
| > | >
| > | >
| > |
| > |
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top