Previous Message
Next Message

Div height question

Sent by Keith Burgin on 27 March 2005 20:08


Frank Mamone wrote:
> Hi,
> 
> I am using a div as a header with a background image. I notice that
> unless there is content in the div, the the height remains at 0.
> 
> I would  like to have the height the size of the bg image.
> 
> How do you suggest doing this?


Find the height of the background image.  If it is, say, 120px, then set 
  height: 120px; on your header.


Good luck,


Keith Burgin

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

Message thread: