Tara, You need to specify the height and width of the #masthead, and possibly put display: block.
The div is not quite smart enough to know the size of the image unless you specify it. Hope this helps. Thank you! Neill Harmer [EMAIL PROTECTED] www.back40design.com Back40 Design, Inc. p. 405/478-4080 f. 405/478-0419 "Innovation distinguishes between being a leader and a follower." -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tara Hadley Sent: Thursday, April 20, 2006 10:49 AM To: [email protected] Subject: [css-d] placing a header image thru CSS? Hello again, I got some help from this list once before, in order to position a header image through CSS (rather than have it on every single page... this image is updated once a month!). Here's the code that someone was so kind to give to me to try: #masthead { background-image:url(../images/craftwebheader_bytara.jpg); background-repeat: no-repeat; background-position: center; } So I did this, but here's my unfortunate result (it's obviously not live, so you'll have to look at my screenshot of it): http://i78.photobucket.com/albums/j86/thadley/web_problem.gif As you can see, the problem is that the masthead does not have enough "width" to accomodate the graphic. What CSS would I use to correct this? Thank you. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
