close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DOCTYPE issue

Thread began 11/10/2009 11:59 am by bjgarner241692 | Last modified 11/12/2009 1:07 pm by bjgarner241692 | 1136 views | 3 replies |

bjgarner241692

DOCTYPE issue

I have a site using CSS MenuWriter. Most of the pages are very straightforward and everything works perfectly.

On the main page however, there is a search form utilizing Javascript that is messing me up.

If I include this line:

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

The search form will not work, but if I don't include that line, the CSS Menu does not work.

Obviously, this is not a problem with CSS MenuWriter but I'm wondering if anyone has come across something similar or if there is a different doctype that I can specify that may solve my issue.

15 years I've never concerned myself with this line. It's never even seemed to matter whether it was there or not.

Sign in to reply to this post

Jason ByrnesWebAssist

try using a looser doctype, like 4.01 transitional:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Sign in to reply to this post

neilo

What happens when you try a different page encoding?

Modify > Page Properties > Title/Encoding

The menu writer should work on any of those, - I guess you just need to try different encodings until the search function works OK.

Non techie answer, but that would be my first step.

Edit: Sorry - Ignore mine - Jason beat me to it.

Sign in to reply to this post

bjgarner241692

Thanks. I found a workaround with an iframe but I will play around with this.

Modify > Page Properties > Title/Encoding

I never knew that was there and slogging through samples I found online didn't seem very appealing!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...