HighDots Forums  

Re: Background Images not in Template files?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Background Images not in Template files? in the Macromedia Dreamweaver forum.



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

Default Re: Background Images not in Template files? - 03-31-2009 , 04:21 PM






http://outreachdesigns.com/contact.html

Thanks Murray. Can you give me an honest opinion on my coding?

Reply With Quote
  #2  
Old   
josie1one
 
Posts: n/a

Default Re: Background Images not in Template files? - 03-31-2009 , 05:05 PM






*All* your background images are pointing to your hard drive - one
example...

background-image: url(file:///Macintosh HD/Users/nathangehman/Outreach
Designs/Websites/OutreachNew/Images/NewLogo3.gif);

Did you define your site properly?

--
Jo


"ngehman" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
http://outreachdesigns.com/contact.html

Thanks Murray. Can you give me an honest opinion on my coding?



Reply With Quote
  #3  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Background Images not in Template files? - 03-31-2009 , 05:40 PM



OK -

1. The reason you are not seeing your background images is simple - the
links are pointing to your hard drive -

#Logo {
position:absolute;
width:420px;
height:100px;
z-index:auto;
left: 0px;
top: 0px;
background-image: url(file:///Macintosh HD/Users/nathangehman/Outreach
Designs/Websites/OutreachNew/Images/NewLogo3.gif);
background-repeat: no-repeat;
background-position: center center;
}

DW does this when it thinks either a) the linked file is not within the
local root folder, or b) the current file has not been saved within the root
folder. I'm guessing that there are issues with the way you have defined
your site in DW.

2. Your use of absolute positioning is sure to get you in trouble.

There is no need to use it on a site like this at all. In fact there's no
need to use it on any site except for specialty purposes. Please give this
a read -

http://apptools.com/examples/pagelayout101.php


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ngehman" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
http://outreachdesigns.com/contact.html

Thanks Murray. Can you give me an honest opinion on my coding?


Reply With Quote
  #4  
Old   
ngehman
 
Posts: n/a

Default Re: Background Images not in Template files? - 03-31-2009 , 05:42 PM



Jo,

I think I did. When I defined a site by selecting the folder that I am am going to place my files in, I just locate it on my hard drive. Is this incorrect?

Thanks Jo

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

Default Re: Background Images not in Template files? - 04-01-2009 , 02:25 PM



Murray,

After reading the information provided. I should use Div tags with static positioning and position them with the margin settings correct? Excuse my confusion.

Reply With Quote
  #6  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Background Images not in Template files? - 04-01-2009 , 02:33 PM



Div tags with the default positioning, i.e., no EXPLICIT positioning is a
good way to start, yes. To make things go side-by-side, you will also need
to read about how to use 'float' - one of the more useful and powerful tools
in your toolbox.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ngehman" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Murray,

After reading the information provided. I should use Div tags with static
positioning and position them with the margin settings correct? Excuse my
confusion.


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.