Page 1 of 2

iexplorer 7 and cmsmadesimple

Posted: Mon Aug 14, 2006 7:20 am
by mjurce
Hello,
sites generated with cmsmadesimple are not displayed correctly on iexplorer 7 (I tested with beta release).
The footer  is generated wrong, has a dimension of whole page.

The site www.cmsmadesimple.org is displayed wrong too.

Bye

Re: iexplorer 7 and cmsmadesimple

Posted: Mon Aug 14, 2006 6:20 pm
by tsw
IE 7 is still beta, we try to support its quirks but cant always find every bug.

1.0betas have been tested with IE7 and iirc it did display properly, Ill have to test these out once again :)

Re: iexplorer 7 and cmsmadesimple

Posted: Fri Sep 22, 2006 8:49 pm
by solstice
I've just noticed that my CMSMS pop-out menus dont work in IE7....is this a general issue or is this just me?
www.keys-attachment.co.uk

Andy

Re: iexplorer 7 and cmsmadesimple

Posted: Fri Sep 22, 2006 9:41 pm
by tsw
hmm, dont have windows machine handy but that would mean that IE7 doesnt understand :hover on li elements and / or that the js that fixes this problem for ie6 isnt working in ie7...

note to self: I really need a windows machine...

Re: iexplorer 7 and cmsmadesimple

Posted: Fri Sep 22, 2006 10:11 pm
by Greg
Change to this in your stylesheet for the CSS Menu

Code: Select all

#primary-nav li { 
    margin-bottom: -3px; 
    position: relative;
    zoom: 1;      
}

Re: iexplorer 7 and cmsmadesimple

Posted: Fri Sep 22, 2006 10:29 pm
by solstice
thanks - will try that tomorrow!

Re: iexplorer 7 and cmsmadesimple

Posted: Sat Sep 23, 2006 8:24 am
by Piratos
Very old thing but without a solution: http://dev.cmsmadesimple.org/tracker/?f ... 6&atid=101

Re: iexplorer 7 and cmsmadesimple

Posted: Sat Sep 23, 2006 9:09 am
by solstice
Have just amended as suggested by Greg, and it works fine in IE7.....thanks Greg, but for a CSS novice can you explain the impact/reason for the 2 changes?
thanks
Andy

Re: iexplorer 7 and cmsmadesimple

Posted: Sat Sep 23, 2006 12:21 pm
by Greg
-3px  -  IE7 adds a margin beneath the sub link on :hover
zoom -  adds layout to element
google 'haslayout IE 7'

Re: iexplorer 7 and cmsmadesimple

Posted: Thu Nov 30, 2006 5:03 pm
by tt5001
Greg wrote: Change to this in your stylesheet for the CSS Menu

Code: Select all

#primary-nav li { 
    margin-bottom: -3px; 
    position: relative;
    zoom: 1;      
}
Exactly where will I place this to work.....I am taking baby steps here with CMS, 1st day!  :-[

Re: iexplorer 7 and cmsmadesimple

Posted: Thu Nov 30, 2006 5:31 pm
by Dr.CSS
In a default install there are 2 CSS menu style sheets, you would put in there...

Navigation: CSSMenu - Horizontal
Navigation: CSSMenu - Vertical

Re: iexplorer 7 and cmsmadesimple

Posted: Fri Dec 01, 2006 3:11 am
by tt5001
mark wrote: In a default install there are 2 CSS menu style sheets, you would put in there...

Navigation: CSSMenu - Horizontal
Navigation: CSSMenu - Vertical
Tried it, but no luck.  Thanks anyway.

Re: iexplorer 7 and cmsmadesimple

Posted: Fri Dec 01, 2006 12:17 pm
by Greg
I put the following code in the header of the template that uses the CSS Menu:

Code: Select all

<!--[if IE 7]>
<style type="text/css">
#primary-nav li {margin-bottom: -3px;}
#primary-nav li:hover {margin-bottom:-3px;}
</style>
<![endif]-->

Re: iexplorer 7 and cmsmadesimple

Posted: Sat Dec 02, 2006 8:31 pm
by tt5001
Greg wrote: I put the following code in the header of the template that uses the CSS Menu:

Code: Select all

<!--[if IE 7]>
<style type="text/css">
#primary-nav li {margin-bottom: -3px;}
#primary-nav li:hover {margin-bottom:-3px;}
</style>
<![endif]-->
This is my template code:






{site_title}

{metadata}
{stylesheet}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

{global_content name='JavaScript for IE page width'}








   
   
      Skip to navigation
      Skip to content
   
   

   


   
   
           {cms_selflink dir="start"}
   
   
   


   
   
        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
   
   
   

   
   

     
     
         Navigation
         {cms_module module='menumanager' collapse='1'}
     
     
     


     
     
         {content}


         


^ Top

         
            {cms_selflink dir="previous"}

            {cms_selflink dir="next"}
         


     
     
 


   
   


   
   
      {global_content name='footer'}
   
   









and I place it where in the header?

Re: iexplorer 7 and cmsmadesimple

Posted: Sun Dec 03, 2006 1:58 am
by Greg

Code: Select all

<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<!-- Type the title of your site here -->
<title>{site_title}</title>

{metadata}
{stylesheet}
<!--[if IE 7]>
<style type="text/css">
#primary-nav li {margin-bottom: -3px;}
#primary-nav li:hover {margin-bottom:-3px;}
</style>
<![endif]-->
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

{global_content name='JavaScript for IE page width'}

</head>