Hello All,
I'm skinning my first DNN site - exciting! Anyway, I'm using DotNetNuke Version: 05.04.02. My current doctype is this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Is this the doctype I should be using? I looked for other threads, but a lot has changed since 2007, most posts are too old.
What doctype is recommend?
The reason I thought I might need to change it is because my site will center in Firefox, but not in IE. In IE it aligns left. I can't figure out how to fix this. My CSS looks like this for main wrapper:
.skinwrapper{
border-top:16px solid #eaece2;
border-right:0px;
border-left:0px;
border-bottom:0px;
padding:0px;
min-width: 840px;
max-width: 1076px;
margin: 0px auto;
color:#3c3d3a;
}
.skinwrapper {
width:expression(document.body.clientWidth < 840? "840px" : document.body.clientWidth > 1076? "1076px" : "auto" );
text-align:center;
}
The DotNetNuke application version you are running
Please shoot me some advice.
Thanks in advance!