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
1/26/2008 12:35 AM
 

I do the same, and you SHOULD change your doctype using that method.

You can get more details on doctype at : http://www.w3.org/TR/xhtml1/#docconf

 

josh

 


Josh Martin

 
New Post
4/20/2008 3:30 PM
 

endTagsMorty wrote

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 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

What a great tip, endTagsMorty! I tried that and it works perfectly (I just had to remove the code that VWD puts into a new xml file).

Thanks!

 

 
New Post
4/21/2008 1:19 PM
 

Really the "best" one to use is preference to some degree. I perfer standards mode cause it helps cut down on some of Internet Explorer quirks. The key piece to know though is it needs to be transitional if you try strict things start to blow up quickly. I have yet to run into an issue when using xhtml transitional to force standards mode.

A tip for the search bar being cut off. Put a "wrapper" around your whole skin. Then set the max width to around 98% this should resolve the problem. Mainly caused with IE and its difference in padding / margins. This will create a small barrier needed to ensure nothing gets cropped off.

 

 
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