Re: [WSG] proper header backgrounds
Thanks so muchh Amit! That worked great, with a few modifications for my specific design. Thank you so much! 8-) Jeremy S. Author of JezzJournal Co-Founder of Effuse Amit Karmakar wrote: Jeremy, here goes. my $0.02 div id="banner" h1a href="" accesskey="1"My Header/a/h1 /div #banner {background-color: #ccc; background-image: url(header.jpg); background-repeat: repeat-x; font-family: Verdana, sans-serif; height: 60px; padding: 15px 0 15px 15px; text-align: left; } #banner a {color: #990; text-decoration: none;} #banner h1 {font-size: xx-large;} hope this helps. On Tue, 05 Oct 2004 04:46:26 -0500, Jeremy S. (WSG) [EMAIL PROTECTED] wrote: 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" h1JezzJournal/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 **
[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" h1JezzJournal/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 inline: getfirefox.gif
RE: [WSG] proper header backgrounds
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 h1JezzJournal/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 **