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, ...Minimal Extropy and display:tableMinimal Extropy and display:table
Previous
 
Next
New Post
10/1/2009 3:15 PM
 

I've managed to get myself into a bit of trouble with a skin that was based on the Minimal Extropy skin.  This uses the display:table and related constructs in CSS.  It's my understanding that IE7 and IE6 don't support this, and that's precisely where I'm running into trouble - with IE7.

So ... can someone explain to me how this skin can work correctly -- as it does -- with IE7?  That might give me a clue or three about what I'm doing wrong.

Thanks!




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
10/1/2009 4:18 PM
 

You are not doing anything wrong, IE 6/7 is.

The option that  works in every browser option is using a regular table.

An other option would be to render conditional HTML it's a bit of a hack, but it does work fine.
(it renders a table for IE below 8 and divs for the rest)

Add this on top:

<!-- Because IE < 8 does not support display:table-cell-->
<%  If Request.Browser.Browser = "IE" AND Request.Browser.MajorVersion < 8 Then%>
    <table id="s_wrap_main">
        <tr id="s_wrap_sub">
        <td class="template_style">
<%Else %>
        <div id="s_wrap_main">
        <div id="s_wrap_sub">
        <div class="template_style">   
<% End If%>

And this at the bottom of your skin:

<!-- Because IE < 8 does not support display:table-cell-->
<%  If Request.Browser.Browser = "IE" AND Request.Browser.MajorVersion < 8 Then%>
            </td>
        </tr>
    </table>
<%Else %>
        </div>
    </div>
    </div>
<% End If%>


 

 
New Post
10/3/2009 8:11 PM
 

Thanks, Timo.  But, that doesn't explain why Minimal Extropy does work with IE7.  Any insight on that?




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
10/4/2009 7:21 AM
 

Because IE7 does not respect the W3C standards.
This is only be an issue if you add content that is wider then the skin itself, in which case you can use one of the wider skin versions, or change the width of the skin itself
So IMO it's a minor issue, since there is a solution for it.
The solution I posted is bit too much of a hack IMO to add to the default skin.

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Minimal Extropy and display:tableMinimal Extropy and display:table


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