firefox
-
hi, can someone help me, I just check my website from firefox and the images are very big!! in internet explorer the images are good with my height and width size for the images. But with firefox, images are showing in their default size. how can i solve this problem :( The website is: www.ivanandsimone.com/query/home.aspx
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
-
hi, can someone help me, I just check my website from firefox and the images are very big!! in internet explorer the images are good with my height and width size for the images. But with firefox, images are showing in their default size. how can i solve this problem :( The website is: www.ivanandsimone.com/query/home.aspx
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
For firefox, you'll need to set the height and probably width attributes for the IMG element. Setting the height for a table and not for the image isn't likely to be honored by many browsers when the image is larger than the table cell.
-
For firefox, you'll need to set the height and probably width attributes for the IMG element. Setting the height for a table and not for the image isn't likely to be honored by many browsers when the image is larger than the table cell.
-
thanks, but how to set the attributes please?? Thanks alot..
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

-

-
I have it like this:
asp:imagebutton id="imgItem1" runat="server" Height="75px" Width="93px" ImageAlign="Middle" asp:imagebutton
But its not workingAdrian De Battista: .Net Programmer, Java Programmer and Web Designer.
Not sure why you're using ImageButton when Image should work fine on it's own. However, look at the code for your page: http://www.ivanandsimone.com/query/Item.aspx[^]. It seems to be sizing the image as it should. Compare what's different in your code and that should solve your problem.
-
Not sure why you're using ImageButton when Image should work fine on it's own. However, look at the code for your page: http://www.ivanandsimone.com/query/Item.aspx[^]. It seems to be sizing the image as it should. Compare what's different in your code and that should solve your problem.
hi, i am using imagebutton because i want the user to click on it and it leads him to another website with the picture's contents as you can see from www.ivanandsimone.com/Query/Home.aspx..
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
-
hi, can someone help me, I just check my website from firefox and the images are very big!! in internet explorer the images are good with my height and width size for the images. But with firefox, images are showing in their default size. how can i solve this problem :( The website is: www.ivanandsimone.com/query/home.aspx
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
When a page looks different in Firefox and Internet Explorer, it's almost always Firefox that renders the page correctly. The input fields that you use to display the images are inline objects, so setting width and height does not apply to them. Internet Explorer incorrectly applies the size to the fields anyway. Opera and Netscape handles it correctly, though, just as Firefox. You have to turn the fields into block objects using
display:block
if you want to be able to set the size. Do yourself a favour and test the page in Firefox while you are building it. Then there is a very good chance that it will also look the same in all the other browsers, except Internet Explorer or course. You will often need to do some tweaking to make it work in Internet Explorer also, but it's much easier than to tweak a page that only works in Internet Explorer into working in all the other browsers also.--- Year happy = new Year(2007);