468,119 Members | 1,683 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,119 developers. It's quick & easy.

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.
Jul 20 '05 #1
2 1441
On Thu, 12 Feb 2004 11:41:56 GMT, Peter Crom <pa****@bart.nl> wrote:
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?


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.infosystems.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.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #2
On Thu, 12 Feb 2004 14:01:50 GMT, Michael Winter
<M.******@blueyonder.co.invalid> wrote:
You might want to alter the selector to be more selective, or include
other elements.


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

Mike

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Xah Lee | last post: by
6 posts views Thread by The Plankmeister | last post: by
4 posts views Thread by Andre Majorel | last post: by
25 posts views Thread by Shannon Jacobs | last post: by
2 posts views Thread by Fredrik Melin | last post: by
9 posts views Thread by David Trimboli | last post: by
5 posts views Thread by David Longnecker | last post: by
nathj
5 posts views Thread by nathj | last post: by
13 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.