Any way to force XHTML insertions when the doctype is html?

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

Any way to force XHTML insertions when the doctype is html?

Postby syrupcore » Thu Dec 15, 2005 12:18 am

Hi,

I'm working on an existing site for a client. They have all of their doctypes set to HTML 4.01 Transitional. I can't change it but I'd like to be as xhtml compliant as I can as I'm adding code.

Is there any way to get webuilder to ignore the doctype and use xhtml tags where ever possible? Mostly for hr and br closing tags. the convenience of shift+enter is great.

The fact that webuilder even knows what sort of tags to insert based on the doctype totally blows my mind!

Thanks,
Will
User avatar
syrupcore
Top Contributor
 
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa

Postby syrupcore » Thu Dec 15, 2005 12:22 am

15 seconds later I find it. :roll:

Just in case some one searches for the same:

Options>Preferences>Language Options>HTML> uncheck 'Use Doctype to switch specification whereever possible'


Can anyone imagine why this might cause me troubles while working in an HTML 4.01 Transitional document? If so, please share!

Thanks,
Will
User avatar
syrupcore
Top Contributor
 
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa

Postby Karlis » Sat Dec 17, 2005 2:27 pm

I am not sure but DOCTYPE does matter sometimes, especially if we use styles...
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
 
Posts: 3601
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 51 guests

cron