Solved

Problem to page

Posted on 2016-11-29
4
92 Views
Last Modified: 2016-12-01
Hi,
I do not know in the following,

http://my-friend.co/Main/Default.aspx

I cannot see the details within <div class="container">. I expect to see the details on the web page.
0
Comment
Question by:HuaMinChen
  • 2
4 Comments
 
LVL 28

Expert Comment

by:Pawan Kumar
ID: 41906828
What is your question?
0
 
LVL 22

Accepted Solution

by:
Kim Walker earned 500 total points
ID: 41906829
Try adding a negative z-index to your wrapper div.
    <div class="content" id="wrapper" style="position:absolute;z-index:-500" >
        <img id="img1" class="background" src="../pict/ID-10028343.jpg" style="height:780px;width:1220px;border-width:0px;" />
    </div>

Open in new window

Personally, I'd prefer to do away with the wrapper div and assign the image as the background-image to the container div.
    <div class="container" style="background:url('../pict/ID-10028343.jpg') no-repeat left top;">

Open in new window

0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 41906977
I do the change below
http://my-friend.co/Main/Default.aspx

but the picture file is too small and can I have proper length and width below, to the picture?
<div class="container" style="background:url('../pict/ID-10028343.jpg') no-repeat left top;">

Open in new window

0
 
LVL 22

Expert Comment

by:Kim Walker
ID: 41909766
Did you find the answer to your last question? I see you've added background-size properties.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question