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, ...Differences with IE 8 displaying a tableDifferences with IE 8 displaying a table
Previous
 
Next
New Post
7/24/2009 9:52 AM
 

Hi,

My first attempt at skinning, and IE is giving me grief.

I've put the logo in a three column table so I have the logo on the left, a repeating spacer in the middle, and an image to the right. The middle cell needs to be variable based on the width of the browser/monitor.

The skin is based on the default skin for DNN5.1

I've added the following to the skins.css file:

.call_1300{padding:0;margin:0; background:url(images/Call1300737907.gif) no-repeat;height:100px;width:200px; background-position:"right"}
.banner_spacer{padding:0;margin:0; background:url(images/BannerSpacer.gif)repeat-x;height:100px; }
.logo_width{padding:0;margin:0; width:429px; }

and the following to the index.ascx file:

                    <div class="logo_left">
                        <div class="logo_right">
                            <div class="logo_pad">
                                <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td class="logo_width" <dnn:LOGO runat="server" id="dnnLOGO"  /></td>
                                        <td class="banner_spacer"></td>
                                        <td class="call_1300"></td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
 

This all works fine in Firefox.

However in IE8 (on Vista) the spacer image doesn't show at all, and the right side image is not all the way to the right.

Any ideas on how or I can fix this, or achieve the same result some other way. This all looks really simple, except it doesn't work...

 

 

 
New Post
7/24/2009 8:14 PM
 

AFAIR, there has been an issue logged with spacer gif. Are you in copatible or IE8 native mode?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/24/2009 8:18 PM
 

First mistake, thought I'd already upgraded to IE8... duh... was IE7.

I put on IE8 and with the developer tools discovered that IE8 liked a space before the repeat-x. Second duh!!!!

However IE7 still causes grief.

When it renders the table, it totally ignores the width attirbutes and just seems to make it up as it goes along, so the middle column doesn't display at all.

I then found a post that specified the table-layout attribute.... so it now works...

Add the bannertable class


.call_1300{padding:0; margin:0; background:url(images/Call1300737907.gif) no-repeat; height:100px; width:200px; background-position:"right"}
.banner_spacer{padding:0; margin:0; background:url(images/BannerSpacer.gif) repeat-x; height:100px; }
.logo_width{padding:0; margin:0; width:429px; }
.bannertable { table-layout:fixed; }

 

 

                    <div class="logo_left">
                        <div class="logo_right">
                            <div class="logo_pad">
                                <table class="bannertable"  width="100%" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td class="logo_width" <dnn:LOGO runat="server" id="dnnLOGO"  /></td>
                                        <td class="banner_spacer"> </td>
                                        <td class="call_1300"></td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>

 

Hope this is helpful to someone else...

 

JJ

 

 

 
New Post
7/24/2009 8:24 PM
 

thanks!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Differences with IE 8 displaying a tableDifferences with IE 8 displaying a 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