SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast freelancekaleem's Avatar
    Join Date
    Dec 2010
    Location
    Pakistan
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    css height problem in IE

    Hi, I am facing serious height problem in css. height is working perfectly in other browsers but not in IE.

    I use this css code:

    .dg-image-gallery-thumbnail{
    width:110px;
    height:125px;
    padding-right:2px;
    padding-left:2px;
    }

    plz help me.

  2. #2
    SitePoint Wizard webcosmo's Avatar
    Join Date
    Oct 2007
    Location
    Boston, MA
    Posts
    1,433
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    which version of IE you using.
    in some cases using overflow:hidden works. try that.

  3. #3
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    You should also tell us what is it not doing in IE.
    Ryan B | My Blog | Twitter

  4. #4
    SitePoint Enthusiast freelancekaleem's Avatar
    Join Date
    Dec 2010
    Location
    Pakistan
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Iam using IE8. i also try that but it didn't work

  5. #5
    SitePoint Zealot zbing's Avatar
    Join Date
    Jun 2002
    Location
    Lisbon, Portugal
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am facing serious problem understanding what your problem is.

    Are you applying that class to a block element such as a div?
    zbing

  6. #6
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,801
    Mentioned
    158 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by zbing View Post
    I am facing serious problem understanding what your problem is.


    I use this css code:

    .dg-image-gallery-thumbnail{
    width:110px;
    height:125px;
    padding-right:2px;
    padding-left:2px;
    }
    Our experts are all jumping around waiting to help you but you'll need to give us a little more information to go on than that.

    There is nothing wrong with the rule above and I can guarantee that if it was applied to a block element it would work fine on its own.

    However we need the context that it is being used in and the html that goes with it and any styles that may be cascading into it also. A link would be better if available.

    Only then will you get your serious help


Tags for this Thread

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
  •