Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Wrong DOCTYPE for DNN ?Wrong DOCTYPE for DNN ?
Previous
 
Next
New Post
12/2/2007 3:17 AM
 

I noticed that untill 4.6.x  DNN still use DOCTYPE like "

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">"
this is not a proper or ever right DOCTYPE we should use and will cause some problems when we design the skin.
Anybody kown why DNN development team do not upgrade this DOCTYPE to a standard type like this:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
for DOCTYPE  choosing, please reference to www.alistapart.com/stories/doctype
 
New Post
12/2/2007 1:29 PM
 

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

This is what we should be using.

 
New Post
1/25/2008 9:29 AM
 

I could be wrong, but I think the DocType they are using by defaults will through the browser, in most cases into quirks mode.  (right?)

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

You can do this by adding a file called myskin.doctype.xml  (the myskin has to be the same name as the skin.ascx file)

Inside the file you place this code.

 

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

 

I hope this helps. 

Mykk

 
New Post
1/25/2008 10:14 AM
 

I just came in here to ask a question to veteran DNN skinners regarding DOCTYPES and saw this thread first thing.

What is generally the best/most compatible DOCTYPE to use for skinning DNN? I'm working with 4.7 right now.

Thanks,
John

 
New Post
1/25/2008 11:52 PM
 

I am curious myself what is the best DOCTYPE to use.  I am using DOCTYPE XHTML 1.0 Transitional.  The skin is looking as I wanted, but the search module for the blog is not displaying right.  The search textbox is getting cut of on the right.

I am curious what DOCTYPE is recommended.  I worry that if I use XHTML 1.0 Transitional, I will run into problems with certain modules.

Good question, and I hope there will be an answer.

Morty

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Wrong DOCTYPE for DNN ?Wrong DOCTYPE for DNN ?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out