Groups | Blog | Home
all groups > dotnet faqs > january 2006 >

dotnet faqs : VS irony...


darrel
1/12/2006 3:27:20 PM
VS rightfully points out that this is invalid:

<dt>hello
<dd>how are you></dd>

As you can't nest a DD inside a DT.

Yet VS feels that it is necessary to automatically delete all of my </dt>
tags for me when I try to fix this.

UGH.

-Darrel

Scott M.
1/12/2006 5:54:24 PM
Wow! Haven't seen definition tables ( <dt> ) used in years. CSS?


[quoted text, click to view]

darrel
1/13/2006 9:36:19 AM
[quoted text, click to view]

DT = definition term, part of a DL (definition list). I use them for
navigation these days.

-Darrel

Scott M.
1/13/2006 10:46:39 PM
Yeah, it's been so long since I've seen them, I forgot the name!

Why not use CSS instead?


[quoted text, click to view]

darrel
1/19/2006 2:34:29 PM

[quoted text, click to view]

CSS just styles your HTML. I still need to markup the navigation in html.
DTs are nice as they can be used to clearly label the navigation areas. DLs
are fairly semantic, structurally sound, and can easily be manipulated with
the CSS.

-Darrel


Scott M.
1/19/2006 9:51:20 PM
The use of the <SPAN> tag along with CSS for positioning and the ID
attribute along with DHTML for navigation would accomplish the same thing.
<DT> and <DL> have been deprecated for some time now.

:)


[quoted text, click to view]

john smith
1/20/2006 11:59:08 AM
[quoted text, click to view]

I like to use a div (positionned with CSS) with lists (ul and ol for
different levels, with li in them) in it (which are styled with CSS).
Works very well, and I find using lists for this quite semantic too.
Haven't had any issues with manged markup with VS either... But AFAIK,
even though not commonly used, dl and dt aren't deprecated in xhtml
darrel
1/23/2006 5:37:17 PM
[quoted text, click to view]

No, it wouldn't. Visually it might be the same, but semantically, they
couldn't be further apart. SPANs mean absolutely nothing semantically. A DL
gives much more semantic meaning to a list of links.

[quoted text, click to view]

Are we talking about the same thing? Definition Lists are not deprecated and
are an ideal solution for creating semantic menus.

-Darrel

AddThis Social Bookmark Button