Learn HTML and CSS. The "beauty" you are looking for is in the appearance of
the HTML in the client browser. ASP.Net Controls render HTML to the
client-side page. It is not possible to be successful with ASP.Net unless
you know something about HTML and CSS, which are the tools it uses to create
web pages on the client.
A DetailsView Control renders a div with a table inside it on the client
side. An HTML div element is a block-level element, which means that in
normal flow it will flow below any element before it, and any element after
it will flow below it in the page. Block-level HTML elements can be made to
flow inline in any of several ways. You can put them inside a table, in
different columns in the same row. You can position them absolutely using
CSS. You can use the CSS "float" style to float them to the right or left of
prior or following elements. Or you can use CSS relative positioning to move
them around.
How you style them and position them is a matter of what your UI
requirements are, knowing HTML and CSS, and what elements combine with what
styles to achieve different appearances, and to a small extent, personal
choice. But again, as you can see, you have to understand HTML and CSS
first.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net