The url below won't work once this is placed "online". background-image: url(C:\hcogw10-01-09testing\images\hcogwsmall.bmp);
Using "C:\hcogw10-01-09testing\images\hcogwsmall.bmp" assumes that anyone viewing it has that image on their computer, at that location. Try: background-image: url(images/hcogwsmall.bmp); Marjorie Lamour (HCGW) wrote: > Thanks Ric. I adjusted the div code to read as: > > #container > { > background-image: url(C:\hcogw10-01-09testing\images\hcogwsmall.bmp); > background-repeat:no-repeat; > width:100%; > margin: 5px auto; > background-color: #fff; > color: #333; > font-family: Verdana, Arial, Helvetica, sans-serif; > } > > -----Original Message----- > From: css-d-boun...@lists.css-discuss.org > [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Christian Kirchhoff > Sent: Thursday, October 01, 2009 8:50 AM > To: css-d@lists.css-discuss.org > Subject: Re: [css-d] Logo Placement in Upper Left Corner > > Marjorie Lamour (HCGW) schrieb: > >> Hi, >> >> >> >> I am having trouble positioning the logo in the upper left corner of the >> page in the css file. >> >> My code in the css file is: >> >> >> >> #logo >> >> { >> >> background-image: url(c:/hcogw10-01-09/images/hcogw.jpg); >> >> background-repeat:no-repeat; >> >> background-position: top left; >> >> width: 100%; >> >> margin: 0 0 0 10px; >> >> padding: 37px 0px 0px 0px; >> >> } >> >> >> >> Can you please provide suggestions on how to place the logo image in the >> css file instead of the html? >> >> >> >> Thanks >> >> Marjorie >> >> Saint Mary's Health System Disclaimer: >> >> The E-mail or documents attached to it,may contain confidential information >> belonging to the sender that is legally privileged. This information is >> intended only for the use of the individual or entity named above. The >> authorized recipient of this information is prohibited from disclosing this >> information to any other party and is required to destroy the information >> after its stated need has been fulfilled. If you are not the intended >> recipient of this information, you are hereby notified that any disclosure, >> copying, or distribution of these documents is strictly prohibited. If you >> have received this information in error, please notify the sender >> immediately to arrange for return of these documents. >> ______________________________________________________________________ >> css-discuss [cs...@lists.css-discuss.org] >> http://www.css-discuss.org/mailman/listinfo/css-d >> List wiki/FAQ -- http://css-discuss.incutio.com/ >> List policies -- http://css-discuss.org/policies.html >> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ >> >> > Without knowing the actual HTML code this is hard to analyize. Could you > provide some HTML code? And could you specify "having trouble" more > precisely. The url to the logo image is a local absolute path, so I > presume you develop locally and ther eis no URL you could give us. > > Please keep in mind that before you go online you have to change such > paths, otherwise the images won't be found. > > Best regards, > > Christian Kirchhoff > *Editura Gesellschaft für Verlagsdienstleistungen mbH* > Tempelhofer Damm 2 · 12101 Berlin > www.editura.de > AG Berlin-Charlottenburg · HR B 81823 · USt.Id. DE217180548 > Geschäftsführer: Ralf Szymanski > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/