Thanks, but getting a smarty error.Greg wrote: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>
iexplorer 7 and cmsmadesimple
Re: iexplorer 7 and cmsmadesimple
Re: iexplorer 7 and cmsmadesimple
Error saying what?...
Re: iexplorer 7 and cmsmadesimple
Fatal error: Smarty error: [in template:4 line 14]: syntax error: unrecognized tag: margin-bottom: -3px; (Smarty_Compiler.class.php, line 436) in /home/www/pariasuites.com/lib/smarty/Smarty.class.php on line 1095
Will check the template.
Will check the template.
Re: iexplorer 7 and cmsmadesimple
Check the Global Content Block for {global_content name='JavaScript for IE page width'} and make one for the IE7 styles you need then call it in the head like the other one...
HTH
HTH
Re: iexplorer 7 and cmsmadesimple
I loaded your template into my CMSMS. Your are correct - it produces a number of smarty errors.
Where did this template come from? It has a number of smarty tags that are incorrect. Also I notice you are not using the CSSMenu in this template so the 'fix' above does not apply.
If you give us an idea of what you want the page to look like, maybe we can help with the template.
Where did this template come from? It has a number of smarty tags that are incorrect. Also I notice you are not using the CSSMenu in this template so the 'fix' above does not apply.
If you give us an idea of what you want the page to look like, maybe we can help with the template.
Greg
Re: iexplorer 7 and cmsmadesimple
I am trying to modify the site that someone else created. The site is pariasuites.com and only when I upgraded to IE7 and viewed the site I noticed that the footer background (blue) as well as the footer text all moved up. I have done a temporary "fix" by changing the background color of the footer to white so that it does not block out the text. You can see the difference in FF with the footer in the correct place.
Re: iexplorer 7 and cmsmadesimple
In the stylesheet where you added
add
Code: Select all
div#footer {
color: #385C72; /*fff;*/
background-color: #fff; /*385C72; BBB Change*/
}
Code: Select all
clear: both;
height: 20px; (adjust to what you want)
width: 100%;
Greg
Re: iexplorer 7 and cmsmadesimple
Just installed IE7 and needed this trick. It's working fine.
Great help guys!!!!
Thanks Dieter
Great help guys!!!!
Thanks Dieter