0

Can anyone tell me how to create the below structure using div alt text

5
  • 6
    you have to try something we are not here to write a code for you. Commented Jul 1, 2010 at 11:00
  • 1
    You can do that using tables much easily. If you are using DIVs then it might become a messy code. Commented Jul 1, 2010 at 11:01
  • 1
    if it really is a table of content go for tables, but otherwise don't Commented Jul 1, 2010 at 11:04
  • Post your code what you tried already? Commented Jul 1, 2010 at 11:16
  • Without real textual content and images, no way to tell you if there are (table) headers, headings, etc Commented Jul 1, 2010 at 12:21

1 Answer 1

5

If you need a table, use a table. Just because tables shouldn't be used for layout, it doesn't mean they can't be used anywhere. Using divs for this purpose will give you lots of unmanageable and messy code.

Sign up to request clarification or add additional context in comments.

3 Comments

yes i have seen many people that are using div to show tabular data and at the end it becomes a messy code.
True the code will be little unmanageable as this is not a layout for the page instead i need this as layout for my list view items, if i will use nested tables for this page will be heavy....any help would be great.
Actually, tables can be very concise. It's a common misconception that tables increase file size. I've seen many div workarounds that have many many lines of superfluous code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.