Forums

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

Home Forums CSS Image Placement Issues

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

    I”m looking to move an image of a saw in between two borders so it is looks likes this.

    I believe I have centered the image correctly but it appears I haven’t and I am loathe to use padding if that is not right way, as I want this to be semantic as possible for a responsive design. I also need it to be placed within the two borders with one border stacked in front. Presumably I need use z-index to do that but I haven’t got that far.

    JsFiddle

    #104868
    tobeeornot
    Member

    Actually, I just noticed the suggested changed uses an empty div it which isn’t ideal. Any other suggestions?

    JsFiddle

    #104872
    Paulie_D
    Member

    I confess my inclination would be to do this as a background image.or three.

    #104878
    tobeeornot
    Member

    That’s what I was thinking too but I thought doing i via css would have been preferable. I ‘ll give it a shot . thanks.

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