Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS border IE

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #43783
    nuodas159
    Participant

    Hello,
    I want to ask why in IE shows border like this:http://www.part.lt/img/61d1edec2b4428f69bc2a2a94e85d898923.JPG?
    In FF, Chrome and etc shows normal.

    .avatar {
    min-width: 100px;
    width: 100px;
    max-width: 100px;
    min-height: 100px;
    height: 100px;
    max-height: 100px;
    border: 1px solid #666666;
    display: block;
    }

    #130207
    daffy58
    Participant

    i guess because of width and height you set for class avatar. Have you played around with it? Remove width /height and see how it goes.

    #130208
    Paulie_D
    Member

    Without seeing it live it’s tough to see what might be causing it **but** depending on which version of IE is a problem it might be all those width and height declarations are confusing the browser.

    #130209
    bastunqk
    Participant

    FF and IE use a different box model. So make css for IE and make border there.
    Regards

    #130210
    Paulie_D
    Member

    >FF and IE use a different box model.

    Not sure that is true any more.

    Before we go off making extra CSS let’s see if we can fix it as it is.

    #130211
    bastunqk
    Participant

    > FF and IE use a different box model.
    Not sure that is true any more.
    Before we go off making extra CSS let’s see if we can fix it as it is.>

    Well it depends on IE version of course, but it’s always a good practice to make css for IE.
    Regards.

    #130212
    Paulie_D
    Member

    >it’s always a good practice to make css for IE

    It’s better practice to make IE specific CSS **only if it’s necessary.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.