- From: Chris Josephes <cpj1@visi.com>
- Date: Sun, 7 Sep 1997 10:58:53 -0500 (CDT)
- To: marduk <marduk@gte.net>
- cc: www-style <www-style@w3.org>
On Sat, 6 Sep 1997, marduk wrote: > I have an example where I want to make an element which is not defined as > a block-type element have block-type properties. Really hard to explain > in words, but look at the page > > http://manson.ddns.netspire.com.sg/ > > This is the way I want my page to look. However, currently I am using > tables to do this. I would like to instead use a document <DL> list and > have the light blue boxes be a <DT> and the text below a <DD>. > > However, if I say > > DT { background url(light-blue.gif) } > > or whatever in my style sheet, the background only surrounds the text, not > the entire "block". I presume it's because <DT> is not a block-type > element. Is there another way to do this? So you want the entire "margins" of the DT element to share the blue background, right? DT is already a block element, the prolem is that MSIE 3.0, and I believe NS4.0 don't extend the backgrounds the entire margin length, even though it is my understanding that the full margin width is the width of the BODY, which by default is the width of the browser window. I'm kind of bummed by this myself. > TIA, > -=-marduk-=- --- Christopher Josephes ------------------------- mailto:cpj1@visi.com Vector Internet http://www.visi.com/~cpj1
Received on Sunday, 7 September 1997 11:58:57 UTC