Previous Message
Next Message

[css-d] Image defined by CSS

Sent by Kevin Breit on 16 May 2003 05:05


Hey,
	I am trying to make a titlebar that has one graphic in it, nothing
much.  It spans the entire width of the page and is contained in a
<div>.  What I'd like is to have a blank <div> such as:
<div id="site_title">
</div>
and then have the graphic displayed as the background image defined as:
#site_title: { background: white url("images/title.png");
	       background-repeat: none;
	       background-align: left;
This way I can "theme" the titlebar image using alternative stylesheets.

I have the pasted code in my page.  Unfortunately, the background image
doesn't display.

Thanks

Kevin Breit

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: