HighDots Forums  

DWCS4 - Preview in Browser Problem

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss DWCS4 - Preview in Browser Problem in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Linda King
 
Posts: n/a

Default DWCS4 - Preview in Browser Problem - 03-20-2009 , 10:37 AM






DWCS4 - Preview in Browser has a problem displacing background images. Is this
a bug or is it just me?

The page I'm working on validates, and works right when uploaded. When I test
it in GoLive it previews perfect in the browser.

If anyone wants to see the page uploaded, I can send a link but will need to
provide a login. I'll make my email available in case checking the code is
needed.


Reply With Quote
  #2  
Old   
Linda King
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-21-2009 , 12:07 PM






Clarification for those who might not have understood the problem: These are backgrounds that are assigned using CSS. Am I the only one with this problem?

Reply With Quote
  #3  
Old   
adarb
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-24-2009 , 11:26 PM



I'm having the same problem.

Looks fine on my website, but can't preview it.

Reply With Quote
  #4  
Old   
Linda King
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-25-2009 , 09:11 AM



After seeing your posts this morning, I launched DWCS4 and tested the site I've
been working on.

I don't know why, but for some reason it's now working right. All background
images show up in the test browser.


Reply With Quote
  #5  
Old   
adarb
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-25-2009 , 10:41 PM



When I press <F12>, here's the URL I get:
D:\My Documents\My Webs\ESP-ITIL\templates\TMPd49ybh3dzk.htm

Here's the URL for the uploaded page:
http://www.esp-itil.com/templates/index.html

The page background is "gradient fill" using an background image
background-repeat = repeat-x

Here's the url for the gradient image:
http://www.esp-itil.com/images/gradient.jpg


Reply With Quote
  #6  
Old   
Mark A. Boyd
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-25-2009 , 11:00 PM



adarb posted in macromedia.dreamweaver

Quote:
Here's the URL for the uploaded page:
http://www.esp-itil.com/templates/index.html
That helps.

Quote:
Here's the url for the gradient image:
http://www.esp-itil.com/images/gradient.jpg
And the path given in the CSS is ../images/gradient.jpg

In DW Preferences->Preview in Browser, turn on "Preview using temporary
files" (or something close to that).


Side notes:
You should specify a DOCTYPE for the file. Judging by the mixture of
old and new code, I might suggest HTML 4.01 Transitional.
File->Convert->HTML 4.01 Transitional

Do you really want this?
<META HTTP-EQUIV="Expires" CONTENT="Mon, 01 Jan 2001 00:00:00 GMT" />

With JavaScript turned off, copyright.txt does not load.


--
Mark A. Boyd
Keep-On-Learnin'


Reply With Quote
  #7  
Old   
adarb
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-25-2009 , 11:58 PM



[q]Originally posted by: Newsgroup User
adarb posted in macromedia.dreamweaver

Quote:
Here's the URL for the uploaded page:
http://www.esp-itil.com/templates/index.html
That helps.

Quote:
Here's the url for the gradient image:
http://www.esp-itil.com/images/gradient.jpg
And the path given in the CSS is ../images/gradient.jpg

In DW Preferences->Preview in Browser, turn on "Preview using temporary
files" (or something close to that).


Side notes:
You should specify a DOCTYPE for the file. Judging by the mixture of
old and new code, I might suggest HTML 4.01 Transitional.
File->Convert->HTML 4.01 Transitional

Do you really want this?
<META HTTP-EQUIV="Expires" CONTENT="Mon, 01 Jan 2001 00:00:00 GMT" />

With JavaScript turned off, copyright.txt does not load.


--
Mark A. Boyd
Keep-On-Learnin'
[/q]

Mark,

Thanks for your input. You're spot on about it being a "dog's breakfast".
I'm learning how to do it as I go and a lot of the crap you see is from my
early efforts. In between running a business, I'm trying also to improve my
"skills", so I do appreciate your comments.

The post after yours seems to have solved my problem, but I will follow up on
your comments.

I take your point about [copyright], but if js were turned off, wouldn't ALL
js stop working, not just that one item. I put that in that way to ease the
burden of changing it annually. I've no doubt there's a better way, but that
seemed to work and I stopped looking. Quest will resume.

Thanks again.



Reply With Quote
  #8  
Old   
Mark A. Boyd
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-26-2009 , 04:57 AM



adarb posted in macromedia.dreamweaver

Quote:
Thanks for your input. You're spot on about it being a "dog's
breakfast".
Not my words

Quote:
The post after yours seems to have solved my problem, but I will
follow up on your comments.
Cool.

Quote:
I take your point about [copyright], but if js were turned off,
wouldn't ALL js stop working, not just that one item.
Yes, all JS will stop working. Search engines do not execute JS
anyway.

Quote:
I put that in that way to ease the burden of changing it annually.
I've no doubt there's a better way, but that seemed to work and I
stopped looking. Quest will resume.
Look into SSI or PHP includes. F1 has good information about it.


--
Mark A. Boyd
Keep-On-Learnin'


Reply With Quote
  #9  
Old   
adarb
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-26-2009 , 07:42 AM



[q]Originally posted by: Newsgroup User
adarb posted in macromedia.dreamweaver

Quote:
Thanks for your input. You're spot on about it being a "dog's
breakfast".
Not my words

Quote:
The post after yours seems to have solved my problem, but I will
follow up on your comments.
Cool.

Quote:
I take your point about [copyright], but if js were turned off,
wouldn't ALL js stop working, not just that one item.
Yes, all JS will stop working. Search engines do not execute JS
anyway.

Quote:
I put that in that way to ease the burden of changing it annually.
I've no doubt there's a better way, but that seemed to work and I
stopped looking. Quest will resume.
Look into SSI or PHP includes. F1 has good information about it.


--
Mark A. Boyd
Keep-On-Learnin'
[/q]
Hi Mark,

True, you didn't say that, but it's still accurate. )
"mixture of old and new code" = "dog's breakfast"

Sadly, my ISP doesn't allow SSIs and I'm having enough "fun" trying to master
HTML, never mind PHP. )

Thanks for the (PHP) F1 tip, will have a look, but unlikely to do more.

Thanks again for you advice, it's been useful. Converted everything to 4.01T
and think I've fixed all the hassles it's created. Still got some tidying up
to do.



Reply With Quote
  #10  
Old   
Linda King
 
Posts: n/a

Default Re: DWCS4 - Preview in Browser Problem - 03-26-2009 , 09:32 AM



Quote:
Yes, all JS will stop working. Search engines do not execute JS
anyway.

Quote:
I put that in that way to ease the burden of changing it annually.
I've no doubt there's a better way, but that seemed to work and I
stopped looking. Quest will resume.

Look into SSI or PHP includes. F1 has good information about it.
Tell me it isn't so! Do we really have to learn SSI or PHP to make our web
sites work right?

Where's the straight jacket? I'm turning myself into the local Funny Farm.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.