Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Doctype vs skin problem
Previous Previous
 
Next Next
New Post 4/22/2008 10:33 PM
Resolved
User is offline Xeevis
9 posts
10th Ranked


Doctype vs skin problem 

Hello,

I have a problem whenever i specify doctype (no matter how i do it, or on which skin i apply it) so if i input DTD into <skin>.doctype.xml and attach it to a skin, things become centered >  (i tried 3 different DTDs and all with same result XHTML 1.0 strict, transitional, 1.1)

 So what i want to know, am I doing something wrong or is this known issue? I tried fresh 4.08.02 install and added doctype.xml to default blue skin, and again missaligned. text-align do nothing. And everything else except all these labels and textboxes appear normal ... Looks really strange and i really need this working . To me it looks like things are being aligned somehow, what is no longer supported in standard specs? Thanks in advance.

 
New Post 4/23/2008 7:37 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: Doctype vs skin problem 

Does your xml look like this?

 

- <XML>
<![CDATA[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]>
**filtered** type="text/javascript">f(clean);

  </XML>

 

 
New Post 4/23/2008 9:04 AM
User is offline Xeevis
9 posts
10th Ranked


Re: Doctype vs skin problem 

Actually I used this:

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

</SkinDocType>
**filtered** type="text/javascript">f(clean);

But both produce same result, I tried IE 7.0, FireFox 2.0.0.14 with same output ... whenever i specify DocType, things become missaligned.

 

 

 
New Post 4/23/2008 9:55 AM
User is offline Cuong Dang
285 posts
engagesoftware.com
9th Ranked


Re: Doctype vs skin problem 

I have 2 questions:

  1. Did you name the doctype file the same with your DNN skin's name?
  2. Did you check to see if your page is rendered in Standard Compliance mode?

Cuong Dang
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom module development.
 
New Post 4/23/2008 10:14 PM
User is offline Xeevis
9 posts
10th Ranked


Re: Doctype vs skin problem 

Ok i think i have to show you, because this is really crazy.

1. I downloaded fresh 04.08.02 > extracted > uploaded > edited web.config for connection to database ...

2. Installed with custom install, changing settings only for host, admin, portal name

3. Created test account

4. I copied default skin "Horizontal Menu - Fixed Width.ascx" and renamed it to "Horizontal Menu - Doctype.ascx" then i added "Horizontal Menu - Doctype.doctype.xml" with DTD specified in above post to it ... then i created 2 pages ... Quirks and Standard ... Quirks is ordinary page with default skin, where i just added user account module for comparison. For Standard page i set skin ""Horizontal Menu - Doctype" and also added user account module ... everything looks right ... when changing between those 2 pages there are minor graphic differences, due to changed render mode, but alignments are OK ... Now if I enter profile (from loginlinks) from Quirks page, everything is normal ... But when i change to Standard page and enter exactly same profile from loginlinks, now its missaligned. |Everything inside credentials, password, profiles ... So now tell me is problem then?   If you dont believe me, check www.komczek.cz/Default.aspx and login with Acc = "test", Pass = "testtest" ... and try for yourself ... There is only one explanation, standard rendering mode is not supported by non-paged modules, because only in these are problems, i mean those like all admin, host links, editing modules etc. Because as you can see profile module on standard compliant page is aligned well.

 1 Reports
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Doctype vs skin problem
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com
Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP