Page is a not externally linkable
- Code, Content, and Presentation
-- WYSIWYG and Text Code Editors
---- FrontPage Tips


pageoneresults - 7:13 pm on Jan 18, 2006 (gmt 0)


Taking Lists one step further and using Definition Lists.

Unfortunately there is not a WYSIWYG button for the <dl> list element. This is accessible through the FrontPage Style Menu only.

You can use the same test sequence above, but this time start your list by selecting the Defined Term from your FP Style Menu. Doing so will insert the following elements...

<dl>
<dt></dt>
</dl>

Now, we're missing one additional element for the above list. To bring that into the picture, we first need to have a Defined Term (the <dt> element). For this session we'll use Testing 1, 2 and 3 again.

As soon as you enter Testing 1 (in WYSIWYG mode) and press Enter, FrontPage automatically creates the next list element in sequence which in this case is the <dd> element or the Definition. So now, after pressing Enter, you have this...

<dl>
<dt>Testing 1</dt>
<dd>This is the definition of the defined term above (Testing 1).</dd>
</dl>

Press Enter after that </dd> element and you'll get a new <dt> element automatically. FrontPage is assuming that you are breezing through your entries and using your Enter key as you should while in WYSIWYG mode. So now, after entering your Testing 1 and definition, you enter your Testing 2 and definition and end up with this...

<dl>
<dt>Testing 1</dt>
<dd>This is the definition of the defined term above (Testing 1).</dd>
<dt>Testing 2</dt>
<dd>This is the definition of the defined term above (Testing 2)</dd>
</dl>

It's all about Tending Your Nests.


Thread source:: http://www.webmasterworld.com/html_editors/1331.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com