W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2001

Re: Rendering of Indents (<DIR>)

From: Scott Davis <scott.davis@dsto.defence.gov.au>
Date: Tue, 03 Jul 2001 09:33:06 +0930
Message-ID: <3B410BB9.6090002@dsto.defence.gov.au>
To: Dave J Woolley <david.woolley@bts.co.uk>, www-amaya@w3.org

while you're giving a tutorial on style sheets :-) there's one construct 
I haven't been able to achive, despite searching all references I could 

How can I express a style sheet to get a <DL> to be rendered with the  
<DD> content starting on the same line as the <DT> ? This is how 
dictionaries (for example) are usually laid out, but I have been unable 
to achieve it with CSS.

Term 1: Definition 1
Term 2: Definition 2

As I understand it, this is the sort of thing that <DIR> and <MENU> were 
supposed to assist.

Does anyone have a useful CSS reference which is sorted or can be 
searched based on the required effect, rather than the names of the 

  Scott Davis

Dave J Woolley wrote:

>>From:	Geoff Benn [SMTP:geoff.benn@ntlworld.com]
>>Great work :-) I understand this is the email address for Amaya issues? I
>>have a couple of issues with indenting:
>>1. Amaya does not seem to render indents (HTML <DIR>) correctly, ie. it
>>doesn't actually indent.
>	[DJW:]  There is *NO* indent element in HTML.  As far as I know DIR
>	deprecated (because browser developers failed to distinguish from
>	list type structures).
>	If you want indenting you *must* use style sheets.
>	(Incidentally, the element normally abused for 
>	indenting is BLOCKQUOTE.)
>>2. To improve the look/feel I suggest Indent increase & decrease buttons
>>as per Netscape Composer & MS Outlook Express, 
>	[DJW:] 
>	These are mis-features, as they make people think that HTML
>	is a WYSIWYG page description language.  If you really want
>	such a language, I'd reccommend PDF.
>	Indenting in HTML always has to be seen as a two stage process:
>	- provide HTML to indicate the structural nature of the element;
>	- provide style sheets to indicate how you prefer such elements
>	  to appear (don't forget to provide them for all media types, not
>	  just high resolution GUIs with mice).
>>  [DJW:]  
Received on Monday, 2 July 2001 20:10:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:34 UTC