gustirari Posted July 12, 2010 Share Posted July 12, 2010 Hello to everyone, i back to write on this forum because I have another small problem ...I created two different css files, one for firefox (global.css) and one for IE (global_ie.css), since both browsers made me see the site differently.I inserted the following string in the <head> of header.tpl file:<link rel="stylesheet" type="text/css" href="http://www.gustirari.com/themes/Gustirari/css/global_ie.css" /><![endif]--> The string seems correct, but unfortunately doesn't work correctly. Now both Firefox and IE use the file global_ie.css; but I want this to be used only by IE, while Firefox has to use the classic global.css .Unsure what to do, I also thought of adding the correct string for Firefox and then I wrote this after the last string:<link rel=“stylesheet” type=“text/css” href=“http://www.gustirari.com/themes/Gustirari/css/global.css” /><![endif]-->This should address firefox to correctly css (global.css). I 've tried and it works, except in this case, IE is no longer recognized his global_ie.css... but it use global.css like firefox...I tried to insert spaces in the begin and ending tags of those strings... but nothing...What can i do???? Where did I wrong??This problem makes me crazy Thanks to everyoneBye Niko Link to comment Share on other sites More sharing options...
eltitos Posted July 12, 2010 Share Posted July 12, 2010 me i use this line <!--[if !IE]> <!--><link rel=“stylesheet” type=“text/css” href=“http://www.gustirari.com/themes/Gustirari/css/global.css” /><!--Instead of and this one for IE<!--[if IE]><link rel=“stylesheet” type=“text/css” href=“http://www.gustirari.com/themes/Gustirari/css/global_ie.css” />try it, may be it will work Link to comment Share on other sites More sharing options...
gustirari Posted July 12, 2010 Author Share Posted July 12, 2010 ehi eltitos thanks 4 reply ... i tried but it doesn't work Thanks a lot Niko Link to comment Share on other sites More sharing options...
eltitos Posted July 12, 2010 Share Posted July 12, 2010 where did you put these lines in the header.tpl ? Link to comment Share on other sites More sharing options...
gustirari Posted July 12, 2010 Author Share Posted July 12, 2010 between 2 tags <head></head> Link to comment Share on other sites More sharing options...
eltitos Posted July 12, 2010 Share Posted July 12, 2010 Where exactly ?can you post everything between <head> </head> Link to comment Share on other sites More sharing options...
gustirari Posted July 12, 2010 Author Share Posted July 12, 2010 I put your strings after the default string <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />.Almost immediately after the favicon. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now