MyBB Community Forums

Full Version: IE 7 css styling
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a little problem with IE7. Chrome and Firefox is working correctly, but IE7 is making me some problems with spacing. I think the best solution would be to create a own stylesheet for IE7 users.

My question: How can I add the stylesheet to all related forum directories?

thanks!

Edit: I know now, that I could use the <!--[if IE 7]>
Special instructions for IE 7 here
<![endif]-->

However, I still don't know which html or php files I have to add this code. Is the global.php the right file?
Do I have to add the code in every php file?
you can add specific stylesheet for IE7 through headerinclude template and it attaches to all files.

however you need not focus on IE7 (see replies here)
(2013-05-13, 05:39 PM)Serdil Wrote: [ -> ]Edit: I know now, that I could use the <!--[if IE 7]>
Special instructions for IE 7 here
<![endif]-->

That isn't a PHP statement. Its an HTML statement (possibly).
Add to your headerinclude template in the Ungrouped Templates category in your admin cp for your activated theme templates.
It'll apply (the IE rules) to every page on your forum.
Easy peasy Smile
The quick way I know how to do it is by using '*' before any property.

But why on earth would you want to target IE 7 users? I stopped caring about them.