This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > March 2005 > images background not showing
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
images background not showing
|
|
|
| Sorry for being a possible persistent pain, but this issue is absolutely
driving me up the bleeping wall.
I started a new site in DW. Set up my directories and put the appropriate
files in them. Very simple and plain just to figure out the problem.
My HTML:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link href="/css/bg.css" rel="stylesheet" type="text/css">
</head>
<body>
</body>
</html>
My CSS:
body {
background-image: url(/images/background_image_large_light.gif);
background-repeat: repeat;
font-style: italic;
border: medium double #0066FF;
}
Again, in DW I can see the background, but when I preview there is
absolutely nothing to see, reguardless of whether I put it in the body, a
layer or whatever.
Please, what the heck am I missing! Ugh, Ugh!!!
| |
| James Shook 2005-03-31, 6:26 pm |
| You are using site root-relative links. These will work when previewing
and when the page is viewed from a server, but not when you are looking
at the page locally outside DW. Use document-relative links instead
(unless you care about Netscape 4.)
--
James M. Shook
http://www.jshook.com
| |
| Travis 2005-03-31, 6:26 pm |
| I looked at your site from the URL in your other thread
(http://ca.geocities.com/aldenr@rogers.com/trial.html) have you changed
the
href="css\newfromnewsgroup.css"
to
href="css/newfromnewsgroup.css"
Travis
***************************************
http://www.w3schools.com - Online Web Tutorials
http://www.projectseven.com - Dreamweaver Extensions & CSS Tutorials
http://www.webblobber.com - Free Templates, Javascript, Fonts & More.
***************************************
Hag wrote:
> Sorry for being a possible persistent pain, but this issue is absolutely
> driving me up the bleeping wall.
> I started a new site in DW. Set up my directories and put the appropriate
> files in them. Very simple and plain just to figure out the problem.
>
>
> My HTML:
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <title>Untitled Document</title>
> <link href="/css/bg.css" rel="stylesheet" type="text/css">
> </head>
>
> <body>
> </body>
> </html>
>
>
> My CSS:
>
> body {
> background-image: url(/images/background_image_large_light.gif);
> background-repeat: repeat;
> font-style: italic;
> border: medium double #0066FF;
> }
>
> Again, in DW I can see the background, but when I preview there is
> absolutely nothing to see, reguardless of whether I put it in the body, a
> layer or whatever.
> Please, what the heck am I missing! Ugh, Ugh!!!
>
>
| |
|
|
| Murray *TMM* 2005-03-31, 6:26 pm |
| Turn your preference on to use temp files when previewing. Then you'll see
root relative links.
EDIT | Preferences > Preview in Browser.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Hag" <feedback@williamsdirect.net> wrote in message
news:d2guh6$lga$1@forums.macromedia.com...
> Sorry for being a possible persistent pain, but this issue is absolutely
> driving me up the bleeping wall.
> I started a new site in DW. Set up my directories and put the appropriate
> files in them. Very simple and plain just to figure out the problem.
>
>
> My HTML:
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <title>Untitled Document</title>
> <link href="/css/bg.css" rel="stylesheet" type="text/css">
> </head>
>
> <body>
> </body>
> </html>
>
>
> My CSS:
>
> body {
> background-image: url(/images/background_image_large_light.gif);
> background-repeat: repeat;
> font-style: italic;
> border: medium double #0066FF;
> }
>
> Again, in DW I can see the background, but when I preview there is
> absolutely nothing to see, reguardless of whether I put it in the body, a
> layer or whatever.
> Please, what the heck am I missing! Ugh, Ugh!!!
>
| |
|
| Ok. Now I am confused. I could have sworn that I had also tried using
document-relative links: not so much because I was smart and knew what I was
doing, but more out of desperation.
Anyway, I took your suggestion, thanks, and did it again and tadaa! the page
works! Go figure. So now the site,
http://ca.geocities.com/aldenr@rogers.com/index.html looks like it is
supposed to (ok, it is still a big work in progress).
Thanks, and now I can get out of everyone's hair with this topic.
Alden
"James Shook" <jshook@dont_mail.com> wrote in message
news:d2gv67$lsi$1@forums.macromedia.com...
> You are using site root-relative links. These will work when previewing
> and when the page is viewed from a server, but not when you are looking at
> the page locally outside DW. Use document-relative links instead (unless
> you care about Netscape 4.)
>
> --
> James M. Shook
> http://www.jshook.com
| |
| Travis 2005-03-31, 6:31 pm |
| Now that you have your page working you should consider trimming it
down. It is quite heavy and estimated load time is 129 seconds on a 56K
modem.
Travis
***************************************
http://www.w3schools.com - Online Web Tutorials
http://www.projectseven.com - Dreamweaver Extensions & CSS Tutorials
http://www.webblobber.com - Free Templates, Javascript, Fonts & More.
***************************************
Hag wrote:
> Sorry for being a possible persistent pain, but this issue is absolutely
> driving me up the bleeping wall.
> I started a new site in DW. Set up my directories and put the appropriate
> files in them. Very simple and plain just to figure out the problem.
>
>
> My HTML:
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <title>Untitled Document</title>
> <link href="/css/bg.css" rel="stylesheet" type="text/css">
> </head>
>
> <body>
> </body>
> </html>
>
>
> My CSS:
>
> body {
> background-image: url(/images/background_image_large_light.gif);
> background-repeat: repeat;
> font-style: italic;
> border: medium double #0066FF;
> }
>
> Again, in DW I can see the background, but when I preview there is
> absolutely nothing to see, reguardless of whether I put it in the body, a
> layer or whatever.
> Please, what the heck am I missing! Ugh, Ugh!!!
>
>
| |
|
| I shall do some trimming. The background itself is almost half a meg. BTW,
how do you check the load time?
Thanks
Alden
"Travis" <spam@no.spam> wrote in message
news:d2h8qi$8gh$1@forums.macromedia.com...[color=darkred]
> Now that you have your page working you should consider trimming it down.
> It is quite heavy and estimated load time is 129 seconds on a 56K modem.
>
> Travis
>
>
> ***************************************
> http://www.w3schools.com - Online Web Tutorials
> http://www.projectseven.com - Dreamweaver Extensions & CSS Tutorials
> http://www.webblobber.com - Free Templates, Javascript, Fonts & More.
> ***************************************
>
> Hag wrote:
| |
| Travis 2005-03-31, 6:41 pm |
| Go here, http://www.websiteoptimization.com/
Travis
***************************************
http://www.w3schools.com - Online Web Tutorials
http://www.projectseven.com - Dreamweaver Extensions & CSS Tutorials
http://www.webblobber.com - Free Templates, Javascript, Fonts & More.
***************************************
Hag wrote:
> I shall do some trimming. The background itself is almost half a meg. BTW,
> how do you check the load time?
>
> Thanks
>
> Alden
>
> "Travis" <spam@no.spam> wrote in message
> news:d2h8qi$8gh$1@forums.macromedia.com...
>
>
>
>
| |
| Murray *TMM* 2005-03-31, 6:41 pm |
| With my fingers. A 56k dialup can process about 4K/sec.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Hag" <feedback@williamsdirect.net> wrote in message
news:d2hb5e$c16$1@forums.macromedia.com...
>I shall do some trimming. The background itself is almost half a meg. BTW,
>how do you check the load time?
>
> Thanks
>
> Alden
>
> "Travis" <spam@no.spam> wrote in message
> news:d2h8qi$8gh$1@forums.macromedia.com...
>
>
| |
|
| LOL...might need toes also (possibly along with something else) to complete
the calculation!
thanks
"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:d2hdaq$fa5$1@forums.macromedia.com...
> With my fingers. A 56k dialup can process about 4K/sec.
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
> "Hag" <feedback@williamsdirect.net> wrote in message
> news:d2hb5e$c16$1@forums.macromedia.com...
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|