alternative for <dl compact>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Crom

    #1

    alternative for <dl compact>

    Hi everyone,

    I have lists, encoded as <dl compact>...</dl> which runs perfectly under IE
    6.0 (for the time being) but not in NN 7.0,
    as it was obedient enough to the standards that call this feature
    'deprecated'.

    It is suggested to solve the problem with css
    But how?

    is it done by setting the properties for the dt and dd element?
    and what properties are involved?

    I would like to know, because it's a beautiful feature that may live not
    much longer...

    Thanks in advance,

    Peter Crom.


  • Michael Winter

    #2
    [OT] Re: alternative for &lt;dl compact&gt;

    On Thu, 12 Feb 2004 11:41:56 GMT, Peter Crom <pacrom@bart.nl > wrote:
    [color=blue]
    > I have lists, encoded as <dl compact>...</dl> which runs perfectly under
    > IE 6.0 (for the time being) but not in NN 7.0, as it was obedient enough
    > to the standards that call this feature 'deprecated'.
    >
    > It is suggested to solve the problem with css
    > But how?[/color]

    Before I begin, this is completely off-topic in this group. I'll answer
    the question (briefly), but if you need any clarifications, you should
    post a question to comp.infosystem s.www.authoring.stylesheets.

    The CSS property, display, has a value, compact. The rule you'll want is
    something like:

    dl {
    display: compact;
    }

    You might want to alter the selector to be more selective, or include
    other elements.

    This is the section in the CSS 2 specification relating to "compact boxes":

    http://www.w3.org/TR/CSS2/visuren.html#compact

    Mike


    W3C's CSS 2 Specification:

    http://www.w3.org/TR/CSS2

    --
    Michael Winter
    M.Winter@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)

    Comment

    • Michael Winter

      #3
      Re: [OT] Re: alternative for &lt;dl compact&gt;

      On Thu, 12 Feb 2004 14:01:50 GMT, Michael Winter
      <M.Winter@bluey onder.co.invali d> wrote:
      [color=blue]
      > You might want to alter the selector to be more selective, or include
      > other elements.[/color]

      That should be a more restrictive selector, not a more selective selector.

      Mike

      --
      Michael Winter
      M.Winter@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)

      Comment

      Working...