imagekrazy
asked on
CSS/HTMl
I placed an image from the image folder to my CSS /html web page, and I uploaded the image into the" images" folder and uploaded the css file into the "css folder" and then upload the html.
and no image was shown:
part of my css:
part of my HTML file
any suggestion, this is the first time it happened to me, I might of missed something.
and no image was shown:
part of my css:
#content div#section div p {
line-height: 21px;
margin: 0;
padding: 15px 0 0;
text-align: justify;
text-shadow: 1px 1px 0 #f4dcb6;
width: auto;
background-image: url(images/pinkRibbon1.jpg);
background-repeat: no-repeat;
background-position: center;
}
part of my HTML file
<div id="content">
<div id="section">
<div>
<h1>Dr. Tracy Laufer </h1>
<p>Low back pain and neck pain have become two major health problems of the modern era. Unfortunately, many people suffer from chronic back or neck pain that does not get better despite excellent traditional medical and surgical care. As many as 90 percent of people report at least one episode of back pain during their working lives, and back pain is a major cause of disability in the aging population. In many cases, back pain arises when stress is placed on the muscles and ligaments that support the spine.<br/>
<br></p>
</div>
any suggestion, this is the first time it happened to me, I might of missed something.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
no worries - gotta love that low hanging fruit ! :))
ASKER
Thank you , quick question, how do I adjust that in Dreamer so i don't have to edit it every time ,when i add a image in the css file for example in Dreamweaver ,
it puts this in:
file:///C|/Customers/Spine care/NewFr ontPage201 3/images/b g-body.gif
and i have to edit that to .../images/example.gif
it puts this in:
file:///C|/Customers/Spine
and i have to edit that to .../images/example.gif
not sure. It's been many years since I used Dreamweaver. That's really a separate question.
Answer to the path question in Dreamweaver.
If you set up a "Site" for your project in Dreamweaver and run it through a web server (local or remote) for testing, all urls added using the automated method will have the proper relative urls including however many "../" are needed to resolve the path from the current file.
When you do not have a "Site" setup, the urls will be absolute paths to the files on your hard drive.
If you set up a "Site" for your project in Dreamweaver and run it through a web server (local or remote) for testing, all urls added using the automated method will have the proper relative urls including however many "../" are needed to resolve the path from the current file.
When you do not have a "Site" setup, the urls will be absolute paths to the files on your hard drive.
ASKER
thank you .I will ask that question how to setup the "site "in dreamweaver so i can give points to it.
Cd&