Hi Groups
To achieve the visual effect of the page
but remove the table and use CSS, I wrote a page like this
I define items in the <dl> element inline, and use DIV to break a
dt-dd group to a block. I also use DIV to split the <ul> element into
to 3 columns.
But this page fails the XHTML validation. XHTML does not allow me to
add DIV between list item.
I changed the code and tried the W3C validator's test. It finally pass
the validation:
But I don't like the <br /> in the <dl>. they just serve the
presentation purpose and are not necessary in the HTML document. I
don't think the <div class="member"> element is in good structure:
those guys are in one group not three ones. The <div
class="member_f loat"> element is even worse: I want to keep the same
order (sorted by last name) both in the HTML source code and the page
presentation with or without CSS.
What is the "elegant" design for this situation?
Thanks
To achieve the visual effect of the page
but remove the table and use CSS, I wrote a page like this
I define items in the <dl> element inline, and use DIV to break a
dt-dd group to a block. I also use DIV to split the <ul> element into
to 3 columns.
But this page fails the XHTML validation. XHTML does not allow me to
add DIV between list item.
I changed the code and tried the W3C validator's test. It finally pass
the validation:
But I don't like the <br /> in the <dl>. they just serve the
presentation purpose and are not necessary in the HTML document. I
don't think the <div class="member"> element is in good structure:
those guys are in one group not three ones. The <div
class="member_f loat"> element is even worse: I want to keep the same
order (sorted by last name) both in the HTML source code and the page
presentation with or without CSS.
What is the "elegant" design for this situation?
Thanks
Comment