By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,624 Members | 2,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,624 IT Pros & Developers. It's quick & easy.

IMages are not appearing in IE but in Mozilla these are coming properly

P: 58
Hi All,

I am trying to have some images(images of button) on my web page. This image replicate an image of a button having text as Add. I ahve codded it in JSP, i can see this image as expected in mozilla but not appearing in IE. When i see the view source of the code i get something given below:

<div style="position:relative;left:5px; float: left: width: 5%" id="addBookshelfSrcs">
<span id="addBttnEnabled" style="FLOAT: left; TEXT-ALIGN: left; padding-left: 10px; padding-bottom: 8px;"><a href="javascript:addSourcesTobookshelf('masterList ');"><img src="/rosettaWeb/images/ButAdd.gif" name="imagesearch" height="???clientadmin.custompapsubtab.bookshelf.i mage.addbttnenbl.height???" width="???clientadmin.custompapsubtab.bookshelf.im age.addbttnenbl.width???" border="0" style="display: none;" id="enabledAddImg" title="clientadmin.custompapsubtab.bookshelf.image .addbttn" alt="clientadmin.custompapsubtab.bookshelf.image.a ddbttn"></a>
<img src="/rosettaWeb/images/ButAddDis.gif" height="???clientadmin.custompapsubtab.bookshelf.i mage.addbttndsbl.height???" width="???clientadmin.custompapsubtab.bookshelf.im age.addbttndsbl.width???" border="0" id="disabledAddImg" title="???clientadmin.custompapsubtab.bookshelf.im age.addbttndsbl.title???" alt="???clientadmin.custompapsubtab.bookshelf.imag e.addbttndsbl.alt???">
</span>

</div>

Here, i am having a div, inside which i am having a span which is having coding to show the image of the button. Initially when the page is loaded the dissabled image of the button should be displayed but when we do something on the page the enabled image of the page should be displayed. But its not appearing at all in IE. When i use the dom explorer, i can see the div outlining there but no image.
Please help me.
Jan 5 '08 #1
Share this Question
Share on Google+
2 Replies


P: 32
This code
Expand|Select|Wrap|Line Numbers
  1. ???clientadmin.custompapsubtab.bookshelf.image.add bttndsbl.height???
Looks like server code that has not parsed and returned a value.

I just tested this in FF and IE, and firefox quite happily ignores the invalid values, but IE chokes.

I'd suggest fixing the server side code. This will solve your IE issues.
Jan 7 '08 #2

P: 58
This code
Expand|Select|Wrap|Line Numbers
  1. ???clientadmin.custompapsubtab.bookshelf.image.add bttndsbl.height???
Looks like server code that has not parsed and returned a value.

I just tested this in FF and IE, and firefox quite happily ignores the invalid values, but IE chokes.

I'd suggest fixing the server side code. This will solve your IE issues.

Hey Thanks Buddy for your reply,

Actually i discussed this issue with my seniors and they told me that untill u have these images in your translation db these wont appear in IE(translation db is resource property for us). But, u can have these images in mozilla even if u have entries for these in your local resource bundle.

Thanks 1s again
Jan 7 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.