|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi
I am move to table less design. The form alignment are getting nicely. I want to list contents from database and display with css (no tables). I tried the span but the height of each columns vary depending on the content. I have to get all the columns aligned correctly. |
|
#2
|
|||
|
|||
|
I'm also only designing table less, but sometimes using tables is the right thing to do. This is when you are presenting tabular data, so if this is what you are going to do, stick to the tables, but define everything about the tables in your css-file. (border, padding, margin etc.).
I know this isn't the answer you wanted, but tables still have it's function. Perhaps you can use list's to solve the problem (<ul><li>), but I haven't seen a solution with div's that work's when the height of the content is not equal. |
|
#3
|
||||
|
||||
|
I agree that while tables are on the way out for layout, they're sometimes appropriate for displaying tabular data. If you insist on using CSS, you could probably use floats and clears to achieve what you're wanting to do, but it can be very tricky. I'd go with EiSa's suggestion -- use tables to display tabular data, but use CSS to define the properties of the tables.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#4
|
|||
|
|||
|
Hai,
Thanks for your suggessions. Hari |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > list database content without using html table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|