SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Wizard Wolf_22's Avatar
    Join Date
    Jul 2005
    Posts
    1,714
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Majority fix for % scaled images within IE

    I have percentage scaled images within my xhtml document. I'm using CSS, and when I look at my document within IE, the images are blown up to 100% in the dimensions.

    Is there any CSS "quick fix" for this?

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would need to see some code I reckon.

  3. #3
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Wolf_22
    I have percentage scaled images within my xhtml document.
    How do you mean? I didn't think you could specify percentages for the width and height of an IMG.

  4. #4
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    A little test I did earlier: http://temp.egor-k.com/tests/imagescale/

    No issues in IE as far as I'm aware. Wolf_22, any chance of a link or something?

  5. #5
    SitePoint Wizard Wolf_22's Avatar
    Join Date
    Jul 2005
    Posts
    1,714
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would need to see some code I reckon.
    I think what has happened here is that I haven't gone through the code like I should've. I went over my IE code further last night, and I think I'm starting to see where I went wrong with it all. I apologize for posting this, but thank you people for trying (mainly just had to go through the margins and padding).


    How do you mean? I didn't think you could specify percentages for the width and height of an IMG.
    ...Maybe I'm doing something silly here or something, but as far as I'm aware of, you can. Look at this:
    Code:
    <img src="#" title="Test" height="90%" />
    This is how I'm doing it. Now, I know this looks "newb" to a lot of ya, but I have to admit myself that I didn't know you could do things like this either...



    A little test I did earlier: http://temp.egor-k.com/tests/imagescale/

    No issues in IE as far as I'm aware. Wolf_22, any chance of a link or something?
    Egor, I would but I'm localized with it right now. When I get it up though, I'll try to hook you up with a link. Did you take your "test" down? I tried the link you supplied and it's not working for me.

  6. #6
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    90% of what ? screen, container, door or window ?

    PS Egors link works for me ??


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •