Display issues in MSIE6.0 (NCleanBlue template)

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
kurashiki_ben
Forum Members
Forum Members
Posts: 86
Joined: Sun Jul 05, 2009 2:37 am

Display issues in MSIE6.0 (NCleanBlue template)

Post by kurashiki_ben »

Hi all,

I am having some display issues in MS IE 6.0
I attach a screen capture: msie-6.0-windows-2000.png (taken from browsershots.org - I don't have IE as I'm on linux/mac)
It looks fine in FF2+, Opera, Safari, IE7+

3 major issues in IE6 that can be seen in the image:
1) The rounded top background image for the right side content is pushed way to the right
2) The left side has some bits missing (white areas)
3) The bottom of the centre content is screwed up (orange "up" image shows left and right and also grey background image is pushed down.

Below is my NCleanBlue template code: 

Code: Select all

</__body>
    <div id="ncleanblue">
      <div id="pagewrapper" class="core-wrap-960 core-center">
{* start accessibility skip links *}
        <ul class="accessibility">
          <li>{anchor anchor='menu_vert' title='Navigation' accesskey='n' text='Navigation'}</li>
          <li>{anchor anchor='main' title='Content' accesskey='s' text='Content'}</li>
        </ul>
{* end accessibility skip links *}
        <hr class="accessibility" />
{* Horizontal ruler that is hidden for visual browsers by CSS *}

{* Start Header, with logo image that links to the default start page *}
        <div id="header" class="util-clearfix">
{* logo image that links to the default start page. Logo image is changed in the style sheet  "Layout: NCleanBlue" *}
          <div id="logo" class="core-float-left">
            {cms_selflink dir="start" text="$sitename ホームへ戻る"}
          </div>
<!--
{* Start Search, the input "Submit" is using an image, CSS: div#search input.search-button *}
    {*      <div id="search" class="core-float-right">
            {search search_method="post"}
          </div> *}
{* End Search *}
-->
<span class="util-clearb"> </span>
          
{* Start Navigation, style sheet  "Layout: NCleanBlue", starting at Menu  ROOT *}
          <h2 class="accessibility util-clearb">Navigation</h2>
{* anything class="accessibility" is hidden for visual browsers by CSS *}
          <div class="page-menu util-clearfix">
          {menu template='cssmenu_ulshadow.tpl'}
          </div>
          <hr class="accessibility util-clearb" />
{* End Navigation *}
        </div>
{* End Header *}

{* Start Content (Navigation and Content columns) *}
        <div id="content" class="util-clearfix"> 

{* Start Bar *}
          <div id="bar" class="util-clearfix">
   {* Start Breadcrumbs *}
<div class="breadcrumbs core-float-left">
        {breadcrumbs starttext='現在のページ ' root='Home' delimiter='»'}
</div>
{* End Breadcrumbs *}
{* Start TextSize *}
{global_content name='textsize'}
{* End TextSize *} 

            <hr class="accessibility util-clearb" />
          </div>
{* End Bar *}

{* Start left side *}
          <div id="left" class="core-float-left">

{* Start Sub Navigation, stylesheet  "Navigation: Simple - Vertical" *}
{global_content name='subnav'}
{* End Sub Navigation *}
            <span class="sbar-bottom"> </span> 
{* Start News *}            
{global_content name='news'}
{* End News *} 
            <span class="sbar-bottom"> </span> 
{* Start help info *}
	{global_content name='tejun'}
{* End order info *}
            <span class="sbar-bottom"> </span> 
{* Start basket *}
{global_content name='kago'}
{* End basket *}
            <span class="sbar-bottom"> </span> 
          </div>

{* End left side *}

{* Start Content Area, right side *}
          <div id="main"  class="core-float-right">

{* main top, holds top image and print image *}
            <div class="main-top">
 {*             <div class="print core-float-right">
                {print showbutton=false}
              </div> 
    *}        </div> 
            
{* main content *}
            <div class="main-main util-clearfix">
              <h1 class="title">{title}</h1>
            {content}
            </div>
            
{* Start main bottom and relational links *}
            <div class="main-bottom">
              <div class="right49 core-float-right">
              {anchor anchor='main' text='^  上へ'}
              </div>
              <div class="left49 core-float-left">
                <span>
                  {cms_selflink dir="previous" label="前のページ: "} 
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "次のページ" *}
                </span>
                <span>
                  {cms_selflink dir="next" label="次のページ: "} 
                </span>
              </div>
{* End relational links *}

              <hr class="accessibility" />
            </div>
{* End main bottom *}

          </div>
{* End Content Area, right side *}

        </div>
{* End Content *}

      </div>
{* end pagewrapper *}
      <span class="util-clearb"> </span>
      
{* Start Footer *}
      <div id="footer-wrapper">
        <div id="footer" class="core-float-left">

{* edit the footer in the Global Content Block called "footer" *}
          <div class="block cms core-float-left">
            {global_content name='footer'}
          </div>
          
          <span class="util-clearb"> </span>
        </div>
      </div>
{* End Footer *}
    </div>
{* End Div *}
  <__body>
The changes I made to the original template are:
1) Hidden the search and print areas
2) Moved the breadcrumbs to the left
3) Added submenu, help and basket area to the left side

Also attached is my main css (NCleanBlue.css). Menu and content styling not included.
Changes to the css
1) changed the width of the central area from 690px to 734px (I also modded the background image to take account of this)
2) Removed background image from header and footer and replaced with background colour.

Does anyone have any ideas how to correct the appearance in IE 6?
Around 25% of users in Japan are on IE6, so I'd like to med it if possible.
Any ideas welcome.
Many thanks.
Ben
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

msie-6.0-windows-2000.png
kurashiki_ben
Forum Members
Forum Members
Posts: 86
Joined: Sun Jul 05, 2009 2:37 am

Re: Display issues in MSIE6.0 (NCleanBlue template)

Post by kurashiki_ben »

correct display in IE7 (taken from browsershots.org)
The text is screwed up as the machine obviously didnt have asian character support, but the display is ok
Attachments
msie-7.0-windows-xp.png
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Display issues in MSIE6.0 (NCleanBlue template)

Post by Dr.CSS »

It doesn't look good in Firefox, most likely it is from having the style sheets out of order, for that template you need them in a particular order...

ncleanblueutils
ncleanbluecore
Layout: NCleanBlue
kurashiki_ben
Forum Members
Forum Members
Posts: 86
Joined: Sun Jul 05, 2009 2:37 am

Re: Display issues in MSIE6.0 (NCleanBlue template)

Post by kurashiki_ben »

Dr.CSS wrote: It doesn't look good in Firefox, most likely it is from having the style sheets out of order, for that template you need them in a particular order...

ncleanblueutils
ncleanbluecore
Layout: NCleanBlue
Thanks for your post Mark.
You were right. The template had the stylesheets in the wrong order.
The top portion of the page looks to be solved by this.

For the "up" link at the bottom, it was being caused by the IE double margin bug.
See http://forum.cmsmadesimple.org/index.ph ... 118.0.html
I changed the div display from block to inline and played with the padding.
It doesn't look as good as it did in any browser, but at least it isn't doubling up in ie6.
Updated CSS:

Code: Select all

.right49 {
	height: auto;
                width: auto;
	display: inline;
	padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 10px;
	background: url(uploads/NCleanBlue/bull.png) no-repeat right top;
}
.right49{display:inline} /*fixes print and top links*/
.right49 a, .right49 a:visited {
	padding: 7px 4px;
	padding-top: 2px;
	padding-bottom: 10px;
	display: inline;
	color: #000;
	height: 55px;
	background: url(uploads/NCleanBlue/bull.png) no-repeat  left top;
}
Now, I have a small issue with a vertical submenu that I took from the ncleanblue edit: ngrey template. (See screenprint)
The Current page is not displaying correctly
css is:

Code: Select all

#menu_vert li {
/* remove any bullets */
	list-style: none;
/* negative bottom margin pulls them together, images look like one border between */
	margin: 0px 0px -1px;
/* bottom padding pushes "a" up enough to show our image */
	padding: 0px 0px 4px 0px;
/* you can set your own image here */
	background: transparent url(uploads/ngrey/liup.gif) no-repeat right bottom;
}
#menu_vert li.currentpage {
	padding: 0px 0px 3px 0px;
}
Dr.CSS wrote: It doesn't look good in Firefox
What version of FF are you running?
Anyting in particular that looks bad?
Many thanks for your help.
ben
Attachments
ie6menu.PNG
Last edited by kurashiki_ben on Fri Jan 15, 2010 10:48 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Display issues in MSIE6.0 (NCleanBlue template)

Post by Dr.CSS »

If you have trouble with that side menu you need to look in the menu CSS that that menu came from it is not part of the NCleanBlue template or it's css...

I'm using Firefox 3.0.15, and it still has problems, the left is showing above the main content, some times right in the middle of the page...
kurashiki_ben
Forum Members
Forum Members
Posts: 86
Joined: Sun Jul 05, 2009 2:37 am

Re: Display issues in MSIE6.0 (NCleanBlue template)

Post by kurashiki_ben »

Dr.CSS wrote: I'm using Firefox 3.0.15, and it still has problems, the left is showing above the main content, some times right in the middle of the page...
Thanks for reporting that. It was also mentioned by somebody running FF3.0.x on a mac, but I can't repicate it in any other browsers.
I think it is being caused by the fact that I split the left side into 3 sections, like this:

Code: Select all

<div class="sbar-top">
<h2 class="sbar-title">Title</h2>
</div>
<div class="sbar-main">
content</div>
            <span class="sbar-bottom"> </span> 
Looking at the css, the background image bg__content.png would have been used for each part of the left side.

Code: Select all

/* ------------ Side Bar (Left) ------------ */
#left {
	width: 206px;
}
.sbar-top {
	width: auto;
	padding: 10px;
	background: url(uploads/NCleanBlue/bg__content.png) no-repeat left top;
}
span.sbar-bottom {
	width: auto;
        margin-bottom: 2px;
	display: block;
	height: auto;
	background: url(uploads/NCleanBlue/bg__content.png) no-repeat left bottom;
}
As that image contains both the background image for the left side and he right side (see attached), I think this could have resulted in the right side being pushed down.

So, I split the image into two files and call the left part for the left side and the right part for the right side:

Code: Select all

/* ------------ Side Bar (Left) ------------ */
#left {
	width: 206px;
}
.sbar-top {
	width: auto;
	padding: 10px;
	background: url(uploads/NCleanBlue/bg__content_left.png) no-repeat left top;
}
span.sbar-bottom {
	width: auto;
        margin-bottom: 2px;
	display: block;
	height: auto;
	background: url(uploads/NCleanBlue/bg__content_left.png) no-repeat left bottom;
}
/* ------------ Main (Right) ------------ */
#main {
	width: 734px;
}
.main-top {
	height: 15px;
	width: auto;
	background: url(uploads/NCleanBlue/bg__content_right.png) no-repeat right top;
}
.main-bottom {
	width: auto;
	height: 41px;
	background: url(uploads/NCleanBlue/bg__content_right.png) no-repeat right bottom;
}
My mac is old and won't left me upgrade past FF2, so I don't know whether this is solved or not.
Would you mind having another look at the site to see if it's fixed?
Many thanks for your great help!

If that's not it then it must be the fact that I changed the widths of the left and right sections.

Code: Select all

If you have trouble with that side menu you need to look in the menu CSS that that menu came from it is not part of the NCleanBlue template or it's css...
It's the Navigation: Simple - Vertical from ngrey.
I've been looking at the css, but haven't identified the issue yet. I'll get back to you.

Regards

Ben
Attachments
bg__content.png
Post Reply

Return to “Layout and Design (CSS & HTML)”