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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedDTD Standards Mode for IEDTD Standards Mode for IE
Previous
 
Next
New Post
11/23/2010 1:36 PM
 
Hi,

Not sure if this is the correct forum to post this in, But it seemed to make the most sense to me.

I have a JQuery dialog popup "alert" that I am using to show confirms, Alerts etc on the page while being able to customize them how I want. With the default DTD in DNN I have no problems in Chrome, Firefox etc.
(the DTD on the page is: )

The problem is, with Internet Explorer (My current Version is 8.0, though I did try 9 Beta and it didn't work on there either) The Dialog box will appear at the very bottom of the page, and the page will automatically scroll down to there. I did some research on this, and found that Part of the reason is because of Standards Mode. When I did a change of the default.aspx page to put in a reccomended DTD
( ) then retried the alert in IE the popup showed up in the center of the page like it is meant to.

The only problem with this is that it messes up my skin, everything gets centered and my text shrinks to about an 8pt font. Doing some research on this, I found the following post on the DNN forums:
http://web3.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/79688/scope/posts/Default.

I tried the fixes suggested, the p {text-align:left; } didnt do anything, but the table{text-align:left} did fix everything so it was then aligned correctly. This created another problem, in that all my text in labels, gridviews etc were all very small, I tried fixing this by doing some modifications to the font-size, weight, style in the table CSS block, but it made everything look the same. For example, my labels text is 16pt and Bolded White. while my Gridview have a slightly smaller text size, are not bolded and use a black font.

with
table{
text-align:left;
font-size: 16pt;
font-style: normal;
font-weight: bold;
}

Everything is bolded black Text at 16 font. I thought that CSS files were hierarchical in nature so that if I did table{text-align:left} in the default.css then it would only affect the text alignment, but all the other styles for the controls would be the same.

Does anyone know of any solutions to this issue, so that I can have Standards Mode enforced, but not mess up my skin styles or how I might be able to just fix the alignment?

Sorry for the long winded post, just wanted to make sure I got everything in there that I had tried.

Thanks,

Chris
 
New Post
11/30/2010 11:38 AM
 

I cant edit my original post for some reason, but I just noticed the DOCTYPE was not showing up correctly. The one put in by DNN is :

(the DTD on the page is: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" )

the one that gets my popups to show up in the correct place is:

( !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" )
 
New Post
12/22/2010 10:13 AM
 
Bumping to see if anyone might know how to solve this. Thanks, Chris
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedDTD Standards Mode for IEDTD Standards Mode for IE


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