Can anyone tell me how to create the below structure using div
-
6you have to try something we are not here to write a code for you.Salil– Salil2010-07-01 11:00:57 +00:00Commented Jul 1, 2010 at 11:00
-
1You can do that using tables much easily. If you are using DIVs then it might become a messy code.Puru– Puru2010-07-01 11:01:51 +00:00Commented Jul 1, 2010 at 11:01
-
1if it really is a table of content go for tables, but otherwise don'tgblazex– gblazex2010-07-01 11:04:57 +00:00Commented Jul 1, 2010 at 11:04
-
Post your code what you tried already?Karthik– Karthik2010-07-01 11:16:42 +00:00Commented Jul 1, 2010 at 11:16
-
Without real textual content and images, no way to tell you if there are (table) headers, headings, etcFelipeAls– FelipeAls2010-07-01 12:21:41 +00:00Commented Jul 1, 2010 at 12:21
Add a comment
|
1 Answer
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.
3 Comments
Adeel
yes i have seen many people that are using div to show tabular data and at the end it becomes a messy code.
Ashwani K
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.
Rimian
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.