This one's a doozie!

7 posts by 4 authors in: Forums > CMS Builder
Last Post: May 30, 2013   (RSS)

By Mikey - May 25, 2013

I can't say this would work or not, but this may be a temporary solution...

The idea is an if statement that checks to see if the browser is IE8 and if so... use the code that only works in IE8, else use the other code that works in all other browsers.

I googled "php if ie8" and came up with the following link. Of course, you'd need to write it to perform the task you need... http://stackoverflow.com/questions/10597515/is-there-a-way-to-use-if-ie-8-within-php

By Toledoh - May 25, 2013

Good idea Zick.  I'll set up something to bypass that whole display for IE8 - as that image is the important portfolio image - so I can have it fixed.

Cheers,

Tim (toledoh.com.au)

By Toledoh - May 25, 2013

Hey Zick.

I placed a <!--[if !IE 8]> -->...<!-- <![endif]--> around the whole section that doesn't work on IE8, then placed a new section wrapped in <!--[if IE 8]>... <!-- <![endif]-->
This allows me to get the site live at least.

Would still be good to figure out how to display that offending php for IE8 though if anyone has any thoughts.

Cheers,

Tim (toledoh.com.au)

By gregThomas - May 27, 2013

Hi Tim,

It might being caused by this line:

<a href='services.php?<?php echo urlencode($service).'-'.$key; ?>'><span class='sm<?php echo $service; ?>'></a></span>

I think you need to have the closing a tag after the closing span tag like this:

<a href='services.php?<?php echo urlencode($service).'-'.$key; ?>'><span class='sm<?php echo $service; ?>'></span></a>

Cheers

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By Toledoh - May 27, 2013

Thanks Greg - I've removed that </span> (don't know whee it came from) - but doesn't fix it...

Cheers,

Tim (toledoh.com.au)

By Steve99 - May 30, 2013

Hi,

I took a quick look at the code at it looks like there are multiple html markup issues that are causing the undesired results.

Without digging deeper, it looks like part of it has to do with the markup used inside of your data-description attribute. Also, part of that markup has the closing span tag outside of the closing "a" tag when it should be inside.

Hope this helps.

- Steve