NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page XHTML Woes

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
10 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 08-15-2003, 06:39 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Aug 2003
Posts: 41
mark4man is an unknown quantity at this point
 



XHTML Woes


In my reconstructed site (in which I basically took most of the graphic
content from my old site; & rebuilt a new site, from scratch, in DW), I made
the mistake of creating all my pages as XHTML Compliant. When validated,
there were hundreds of mistakes.

Worse yet, the most important page, which contains a PayPal button linking
to a purchase form at PayPal, did not work at all...& the error was related
to (you guessed it), XHTML!!!

Out of frustration (& not being able to find an answer as how to convert
????: NamePros.com http://www.namepros.com/web-design-discussion/15142-xhtml-woes.html
back to regular, average, everyday, ordinary HTML in the discussion groups),
I compared, through DW's Preferences dialog, new HTML 4.01 page templates,
which were coded as follows:

--------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

</body>
</html>
--------------------------------------------------------------------------

with new XHTML page templates, which were coded as follows:

--------------------------------------------------------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<!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">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
</body>
</html>
--------------------------------------------------------------------------

And for the page that didn't work, I changed the DTD's (& all tags prior to
<head>) from the second (XHTML) to the first (HTML)...

...AND NOW THE PAGE WORKS FINE!

So, my questions are:

1) Did I do the right thing?...& can I do the same thing with the rest of my
pages in order to convert back to HTML...

...or...

2) Is converting back more complex than this (realizing that perhaps as DW
created my pages as XHTML compliant, the code for each entire page was
written as XHTML)?

...&...

3) If this is the case, how can I easily & correctly convert the pages back
to HTML?

Thanks,

mark4man
mark4man is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 07:35 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger