You have to change it to

background-image: url(../images/header.jpg);

and potentially add background-position (if required)

Cheers,

Andreas.

Andreas Boehmer
User Experience Designer - Development

Phone: (03) 9417 0468
Mobile: (0411) 097 038
http://www.addictiveMedia.com.au
Consulting | Accessibility | Usability | Development


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jeremy S. (WSG)
Sent: Tuesday, 5 October 2004 7:46 PM
To: [EMAIL PROTECTED]
Subject: [WSG] proper header backgrounds


I'm trying to make my header image be completely controlled by css, so if I
was to have a style switcher, it would be easily changed. I know this is
really easy, but I'm having trouble finding any information from google.

Right now, I've got this.

<div id="header">
    <h1>JezzJournal</h1>
</div>

CSS

#header {
    background: url(../images/header.jpg);
    width: widthofjpg;
    height: widthofjpg;
}

doesn't seem to be working, but I'm sure I'm doing it wrong. Thanks for all
your help! 8-)

--
Jeremy S.
Author of JezzJournal
Co-Founder of Effuse


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to