Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. firefox

firefox

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavadatabasecom
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ADY007
    wrote on last edited by
    #1

    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.

    M G 2 Replies Last reply
    0
    • A ADY007

      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.

      M Offline
      M Offline
      Mark J Miller
      wrote on last edited by
      #2

      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.

      A 1 Reply Last reply
      0
      • M Mark J Miller

        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.

        A Offline
        A Offline
        ADY007
        wrote on last edited by
        #3

        thanks, but how to set the attributes please?? Thanks alot..

        Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

        M 1 Reply Last reply
        0
        • A ADY007

          thanks, but how to set the attributes please?? Thanks alot..

          Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

          M Offline
          M Offline
          Mark J Miller
          wrote on last edited by
          #4

          ![](url of image)

          A 1 Reply Last reply
          0
          • M Mark J Miller

            ![](url of image)

            A Offline
            A Offline
            ADY007
            wrote on last edited by
            #5

            I have it like this: asp:imagebutton id="imgItem1" runat="server" Height="75px" Width="93px" ImageAlign="Middle" asp:imagebutton But its not working

            Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

            M 1 Reply Last reply
            0
            • A ADY007

              I have it like this: asp:imagebutton id="imgItem1" runat="server" Height="75px" Width="93px" ImageAlign="Middle" asp:imagebutton But its not working

              Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

              M Offline
              M Offline
              Mark J Miller
              wrote on last edited by
              #6

              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.

              A 1 Reply Last reply
              0
              • M Mark J Miller

                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.

                A Offline
                A Offline
                ADY007
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • A ADY007

                  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.

                  G Offline
                  G Offline
                  Guffa
                  wrote on last edited by
                  #8

                  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);

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups