scott212 Posted January 18, 2007 Share Posted January 18, 2007 Hey crew - this has been pissin me off all day. I've got some code with a little php to drop in the values. Here's the offend part:<tr id="error_link" style="display: <? echo $pro_link_row_style; ?>">The php evaluates to either "" or "none". This works fine if written literally into the html, but not with the php. Check the php you say? Frickin IE won't let me view the source on this one particular page to see what it's outputting. Firefox works perfectly and displays the source to be exactly as intended. I don't see how IE could be seeing it any other way. Any Ideas? Please? Quote Link to comment https://forums.phpfreaks.com/topic/34660-styledisplay-issue-i-hate-ie/ Share on other sites More sharing options...
Ninjakreborn Posted January 18, 2007 Share Posted January 18, 2007 each one parse differently, but the source remain the same, ie source is the same as firefox source.I don't understand the full nature of your problem to help any more than that. Quote Link to comment https://forums.phpfreaks.com/topic/34660-styledisplay-issue-i-hate-ie/#findComment-163390 Share on other sites More sharing options...
ToonMariner Posted January 18, 2007 Share Posted January 18, 2007 try having your $pro_link_row_style be either 'none;' or 'table-row;' in your database. Quote Link to comment https://forums.phpfreaks.com/topic/34660-styledisplay-issue-i-hate-ie/#findComment-163398 Share on other sites More sharing options...
scott212 Posted January 18, 2007 Author Share Posted January 18, 2007 with a semicolon after attribute like you've written? Quote Link to comment https://forums.phpfreaks.com/topic/34660-styledisplay-issue-i-hate-ie/#findComment-163406 Share on other sites More sharing options...
ToonMariner Posted January 18, 2007 Share Posted January 18, 2007 it shouldn't matter too much - I just like to see semi-colons after values! Quote Link to comment https://forums.phpfreaks.com/topic/34660-styledisplay-issue-i-hate-ie/#findComment-163593 Share on other sites More sharing options...
scott212 Posted January 19, 2007 Author Share Posted January 19, 2007 finally figured it out. It turns out that it was a php condition that wasn't getting met because I changed the submit button to an image button. In firefox it still sends the original button value PLUS the value.coordinates. In IE it only sends the latter. Quote Link to comment https://forums.phpfreaks.com/topic/34660-styledisplay-issue-i-hate-ie/#findComment-164233 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.