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, ...DocType error definitionDocType error definition
Previous
 
Next
New Post
4/18/2006 8:19 AM
 
Just went crazy why I still had problem with the infamous box model problem with IE when I was designing my skin for DNN.
And I discovered why with DNN I still have this problem, that was supposed to be fixed in IE 6...
This box model problem has been fixed if the IE is running in "standard mode", but not if running in "quirks" mode...
And what does trigger IE to run in quirks mode instead of standard mode?
Mainly it's the lack of DocType definition, or a wrong doctype definition: a doctype definition is wrong if it is missing the URL of the DTD.
And DNN has that problem:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
instead of a more compliant
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd

Simone

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 
New Post
4/18/2006 9:11 PM
 

You can modify the default.aspx file to reflect your preferred DocType.

It's in the root folder. 

Would that solve your problem?

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
4/19/2006 4:09 AM
 
Sure, that will fix that problem, as I already did after spending 3 days trying to understand that...
but since it's not a big issue fixing the bug on DNN side (just add the dtd url in the doctype definition), I think that it will be a good idea fixing that bug on a future of DNN... but something must be made to ensure that all the actual skin maker knows that bug fix and adjust their skin accordingly.

Simone

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 
New Post
4/19/2006 7:51 AM
 

I'm sure there is a reason. I don't know why and it's not stopped me from developing sites that work for the last couple of years, but I'll send them your best regards!

I would however, consider the impact on the menu - solpart in particular - but that's just my suggestion, but it seems like you've solved it, so that's good news.

Cheers

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
4/19/2006 8:04 AM
 
nina wrote
I'm sure there is a reason. I don't know why and it's not stopped me from developing sites that work for the last couple of years, but I'll send them your best regards!

Yes, of course they worked, as works mine now, but once in a time MS fixes a problem with IE, let's clean up our CSS code from the ugly hacks that we put into that stylesheets just because IE behaved in different way from the standard

nina wrote
I would however, consider the impact on the menu - solpart in particular - but that's just my suggestion, but it seems like you've solved it, so that's good news.

Also, not specifyng the url of the dtd is a formal error, too... Since DNN aims at being the best practice web portal framework, I think it should also be a best practice for HTML and CSS, too, as well as it is now for all the server side programming part.


Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DocType error definitionDocType error definition


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