Forums

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

Home Forums CSS Please help me

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

    CSS:


    html,body {
    height:100%
    }
    #first {
    height:100%;
    overflow:hidden;
    }
    img.map {
    width:100%
    }

    HTML:







    Question :
    This full div background.
    I want to create link and fixed position on this background. When I resize window.
    Black div(Link) not in the same position.

    How can I fix black div(link) on original position?

    #102960
    Paulie_D
    Member

    The image is not in the background…it’s inside the div.

    My advice would be to set the image as the background of ‘first’, size the ‘first’ div’ and then position the black div using relative positioning.

    Oh, and move those inline css styles to your stylesheet.

    #103005
    JuckY
    Member

    Thank you very much for reply,
    At first time I used image as background. But my customer have already baground, this picture is inside another div. I must use full page background in ‘first’ div. How can I do?

    #103021
    Paulie_D
    Member

    So you mean that they have a background image on the body or a ‘wrapper’ div?

    Ok, that’s not in your code but you can still put a background on the ‘first div’ which, I presume is insider the wrapper?

    See…http://jsfiddle.net/Paulie_D/ceZ2R/

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