A definition list dl would be the best way to represent such data.
Can even be styled in the tabular layout in your example.
Scott McDaniel has an interesting article at
http://www.scottmcdaniel.com/?p=33 in which he undertakes a layout
similar to that you have proposed (example at
Jad,
If you were going to use a table for displaying users, then Patrick's
sample markup is the way to go.
As far as I can see, the sample code you return uses the table purely
for layout purposes. Whilst using an unordered list is the
semantically correct way to mark-up the list of posts,
It's just that you lose any semantic value in using a table without
the th. Using the table with th currently limits your layout
options.
Using dl means you can retain a bit of semantic meaning (by linking
the name, icon and info at least) and get your styling right.
This thread is getting a bit
the database is not actually preformatted beyond
linebreaks, why don't you do a search and replace on the text from the
database to format it properly. e.g. text_in_page = 'p' +
replace(text_from_db, chr(13), '/pp') + '/p'
...or use 'br /' if a new paragraph is improper.
Jachin Sheehy
On 10/25/05
It is possible to configure VS.NET to leave your HTML alone:
Tools Options Text Editor HTML/XML and have a look at 'Format'
and 'Html Specific' panels
As far as ASP.NET goes, the most annoying feature built into the
framework is its insistence on serving up different markup to
different
. A one row text entry area will attract
different responses than a 10 row area.
Regards,
Jachin Sheehy
On 6/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
The rows and cols attributes - mandatory for any textarea
element - defines the *VISIBLE* height and width of the
element. So why
You cannot reuse IDs within a document. Each ID must have a unique value.
Have a look at
http://www.456bereastreet.com/archive/200503/setting_the_current_menu_state_with_css/
It has a good example of what you are trying to achieve.
Regards,
Jachin Sheehy
Senior Web Developer
InternetFiji.com