Hey,
A client of mine needs help and, sadly, I am not a css guru. Long story short, this page:
If you add a product to the cart, breaks the page format in IE8. Works in other browsers. The thing that is confusing is that there is no css code added after a form submit that I see. It’s odd. Here is the link to the CSS file:
Here is the div that surrounds the cart contents:
<div id="mainContentContain">
(as you can see in the source code of the main link)
For reference, when a form is submitted, this code handles it:
if ($_POST['submit']) {
foreach($_POST as $varName => $value) {
if ($varName != "submit") {
$msg .= $varName . ' - ' . $value . '<br>';
if ($value > 0) {
//echo '<!-- varName: ' . $varName . '<br> -->'. "\
";
$b->additem($varName,$value);
}
}
}
//echo $msg;
}
That calls a function ‘additem’ which calls a php file that handles cart functions. Thing is, the cart functions don’t add css tags/etc so it’s baffling that it would cause issues.
Does IE 8 have issues with form submissions to the SELF, meaning, sending a form to the same page? Could it be a cache issue?
For the record, I looked through firebug to see if any css issues might exist. I doubt they are useful but I will post them just in case you are curious:
Warning: Error in parsing value for ‘text-decoration’. Declaration dropped.
Source File: http://www.foocus.com/css/focusIndexStyleNew4.css
Line: 123
Warning: Error in parsing value for ‘height’. Declaration dropped.
Source File: http://www.foocus.com/css/focusIndexStyleNew4.css
Line: 422
Warning: Expected declaration but found ‘*’. Skipped to next declaration.
Source File: http://www.foocus.com/css/focusIndexStyleNew4.css
Line: 423
Thanks for your time.