Posted by moran on September 9, 2011 at 1:34am
4 followers
Jump to:
| Project: | Fusion |
| Version: | 6.x-1.12 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | moran |
| Status: | active |
Issue Summary
what about ie9-fixes.css ie9-fixes-rtl.css there is compatibility?
the design doesn't looks good on ie9 and in ie8 & ie7 u had a files css so i edit them but in ie9 there r no file and i can't edit
plz explain me how do i do that
10x
Comments
#1
You can create your own ie9 file if you like, or you can override using the local.css file until our team has a chance to work on this compatibility.
I'm changing this to a feature request; I'm sure we need to figure something out here.
#2
moran,
The current set-up for conditional styles is not incredibly flexible (can't automatically include fixes CSS for new versions of IE), which is something we should probably look into a better solution for (in D7 it's not an issue). For the meantime, I've just been putting my IE 9 styles into ie-fixes.css and overriding them for IE6, 7 & 8 in those respective fixes stylesheets.
Cheers,
Sheena
#3
Can IE9 be detected with
<!--[if IE]>or
<!--[if IE 8]>?
I can't get IE9 to pick up my fixes.
#4
I guess it should. Found an example while reading the description of http://drupal.org/project/conditional_styles
#5
my solution for calling ie9-fixes.css (fusion-6.x-1.12):
vim fusion core template.php
change:
108:
$vars['setting_styles'] = $vars['ie6_styles'] $vars['ie7_styles'] = $vars['ie8_styles'] = $vars['ie9_styles'] = $vars['local_styles'] = '';129:
$style_count = substr_count($vars['setting_styles'] . $vars['ie6_styles'] . $vars['ie7_styles'] . $vars['ie8_styles'] . $vars['ie9_s tyles'] . $vars['local_styles'], '<link');added after ie8 line 121:
$vars['ie9_styles'] .= (file_exists($path . '/css/ie9-fixes.css')) ? $link . '/css/ie9-fixes.css" />' . "\n" : '';write and quit.
goto dir containing tpl files:
paste the following into all page tpl files where you are calling the ie styles:
<!--[if IE 9]><?php print $ie9_styles; ?>
<![endif]-->
write and quit.
maybe next week if i remember, i will make a patch...
all the best.