Forums

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

Home Forums CSS Problem with position: fixed when scale down the screen size!

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #184776
    babilkuyusu
    Participant

    Hi people,

    I’m having a problem with centering an image when I scale down the screen size. This image suppose to be a clickable pageskin ad at the background of the site.

    Here is a sample: http://afiliyemek.com/kuzgun/pageskin.html

    The problem is when the screen size is wider than the width of “pageskin image” everything looks fine, the pageskin image centered as well. But when I’m scaling down the screen size “the pageskin image” sticks to the left and goes under the “main-content”, it collapses.

    So, when I scale down the screen size I want pageskin image to keep it’s position as centered and goes out from the left side of the screen.

    Hope somebody can help me on this issue.

    #184782
    Paulie_D
    Member

    I’d recommend using a background image here…much easier than an inline image and since the image is ‘styling’ and not ‘content’ it should be in the CSS anyway.

    #184791
    babilkuyusu
    Participant

    I can’t find any way to do it with HTML img tag. Anyway, I did it with CSS as you said and it’s ok now.

    Thank you Paulie_D, a lot.

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