VBdotnet2005
asked on
CSS - display image
When I use code below on #2 it works on just my local machine. When I tried to use #1, my logo does not get display?
What should I do? This is my logo location in VS2010
Images folder
logo.gif
# 1
div.hideCustlink
{
background-color:#4d8f75;
width:100%;
height: 56px;
background-position: left;
border: thin solid #4d8f75;
background-image: url('/logo.gif');
background-repeat: no-repeat;
}
#2
div.hideSkiplink
{
background-color:#4d8f75;
width:100%;
height: 56px;
background-position: left;
border: thin solid #4d8f75;
background-image: url('http://localhost:64396/report/Images/logo.gif');
background-repeat: no-repeat;
}
What should I do? This is my logo location in VS2010
Images folder
logo.gif
# 1
div.hideCustlink
{
background-color:#4d8f75;
width:100%;
height: 56px;
background-position: left;
border: thin solid #4d8f75;
background-image: url('/logo.gif');
background-repeat: no-repeat;
}
#2
div.hideSkiplink
{
background-color:#4d8f75;
width:100%;
height: 56px;
background-position: left;
border: thin solid #4d8f75;
background-image: url('http://localhost:64396/report/Images/logo.gif');
background-repeat: no-repeat;
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.