- From: Frank Boumphrey <bckman@ix.netcom.com>
- Date: Fri, 30 Jan 1998 10:37:58 -0800
- To: "'Style Sheet mailing list'" <www-style@w3.org>, "Andi Hindle" <andih@harlequin.co.uk>
Yeah! *#@#*%, Add the following to your style sheet and you will see what is happening. 4.04 is making a flow object, but not putting the text in it! I tried for an hour but I couldn't make it work!! Frank <style> .listbox{color:red; background-color:yellow; width:100%; padding-top:2em; padding-bottom:1em; border:thin solid; } -----Original Message----- From: Andi Hindle <andih@harlequin.co.uk> To: www-style@w3.org <www-style@w3.org> Date: Friday, January 30, 1998 3:21 AM Subject: [Spam?] Padding Property : Implementation bug in NS4.04 (Win95)? >Hi > >I'm trying to implement the following style to control the spacing in a >definition list: > ><style type="text/css"> ><!-- > >.listbox {padding-top: 1em; > padding-bottom: 2em;} > >--> ></style> > > >Given the following example HTML snippet: > ><dl> ><dt>This is the Definition Term</dt> ><dd class="listbox"> ><strong>First Item: </strong>Here is some information<br> ><strong>Second Item: </strong>Here is some more information ></dd> ><dt>This is next Definition Term</dt> > >.... > > >I think what should happen is roughly: > >This is the Definition Term > > First Item: Here is some information > Second Item: Here is some information > > >This is next Definition Term > > >In other words, I have some space between the first <dt> and the first line >of the subsequent <dd>, and I have twice as much space between the end of >the first <dd> and the next <dt>. > >MSIE 4.0 seems to handle this fine, and so did NS4.01 (which I had until a >couple of days ago). However, NS4.04 (to which I just "upgraded", haha) >seems to do something rather more like this: > > >This is the Definition Term > > > > First Item: Here is some information > Second Item: Here is some information >This is next Definition Term > > > >Now, either I'm making a basic mistake in my stylesheet which MSIE is >glossing over and NS is complaining about. In which case, my apologies; >and could someone tell me what I'm doing wrong, please? ;-) Otherwise, I >have to conclude that the implementation of CSS in NS4.04 is broken, at >least in this regard. Can anyone confirm this (and suggest a possible >solution/workaround!). It took me a while to get this to work under both >NS and MSIE, and now I find that it doesn't work again, which is very very >frustrating! > >Many thanks ;-) > >Cheers > >--&e > > > > >
Received on Friday, 30 January 1998 10:41:04 UTC