- This topic is empty.
-
AuthorPosts
-
May 17, 2012 at 3:18 am #38100JuckYMember
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?
May 17, 2012 at 7:46 am #102960Paulie_DMemberThe 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.
May 17, 2012 at 10:28 pm #103005JuckYMemberThank 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?May 18, 2012 at 6:03 am #103021Paulie_DMemberSo 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?
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)- The forum ‘CSS’ is closed to new topics and replies.