Forums

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

Home Forums CSS Text-indent in Chrome does the image background indented too

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34627
    capola
    Member

    Hi experts!

    Here you can see the problem in the left down side. The image of the newsletter subscribe box appears 30px to the right just like the text.

    .block-subscribe .block-title .button {
    font-family: Century Gothic, Verdana, Arial, Helvetica, sans-serif;
    height: 18px;
    margin-left: 2px;
    line-height: 18px;
    font-size: 13px;
    color: #EF4900;
    text-indent: 30px;
    background-image: url(http://cavalet.bg/skin/frontend/default/cavalet/images/news2.png);
    background-repeat: no-repeat;
    cursor: pointer;
    float: left;
    display: table-cell;
    }
    #88444
    jamygolden
    Member

    I think it’s a box model thing. Not 100% sure. If you change:

    To this:

    Запишете се

    Everything should be fine.

    #88450
    capola
    Member

    Thanks jamy_za! Visually it’s OK but in this way the entry can’t be submitted…

    #88600
    capola
    Member

    So that’s the way it works –

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