Jump to content

style="display: " issue - I hate IE


Recommended Posts

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?
Link to comment
https://forums.phpfreaks.com/topic/34660-styledisplay-issue-i-hate-ie/
Share on other sites

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.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.