|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi, you guys are so helpful. Does anyone know if there is a way to have a table within a table?
thanks coke |
|
#2
|
|||
|
|||
|
can you be more specific cause a table in a table is like one table whit a
lot of cells. Regards, Max |
|
#3
|
||||
|
||||
|
html can handle it:
<table border="1"><tr><td>table cell</td><td><table border="1"><tr><td>table cell</td></tr></table></td></tr></table> |
|
#4
|
||||
|
||||
|
you put content into tables in the <td> tag, right? So, if you want to put a table in a table then you put the code for a table, inside a <td> tag.
Code:
<table>
<tr>
<td>
After this text is the inside table
<table>
<tr>
<td>table inside table</td>
</tr>
</table>
Before this text was the inside table
</td>
</tr>
</table>
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.
|
|
#5
|
||||
|
||||
|
yep - that's exactly what I demonstrated in my code, but with no explaination - executing the code would explain everything...
![]() |
|
#6
|
||||
|
||||
|
when you learn things for the first time an accompanying explanation can be very valuable for someone and take only 2 minutes of your time
You don't learn how to program in objective-C if you're a noob by someone throwing code at you.... at least most people probably don't. Going the extra step can make all the difference between someone not understanding but being afraid to ask again, and someone that understands. We have the benefit of being able to go the extra step for people. |
|
#7
|
||||
|
||||
|
indeed... but html code should be obvious - it's not even programming.
![]() |
|
#8
|
||||
|
||||
|
"should be" is different than "is" and no, it's not programming but if it's new and/or difficult for someone it doesn't matter if it's programming or not. It's all about considering the other person's viewpoint on the subject matter.
|
|
#9
|
||||
|
||||
|
But it also helps to give them good practice tips as well
I'm guessing this guy wants to know how to do a tabular design This is usually where I tell them they're not meant to use tables for layout, then fight off the un-informed opinions from the other HTML beginners who insist that you "cannot layout a page without tables" |
|
#10
|
||||
|
||||
|
so you're using no tables??
![]() maybe they're not perfect, but using them is very simple after all, and I think it's best for simple design. fancy page design requires more than this, and I agree that using tables for more complicated layout is not good idea. using css is obviously best, but for those who are not used to it, it might be a problem. |
|
#11
|
||||
|
||||
|
Actually, even "simple" designs can be accomplished with CSS with a *lot* less code overhead
Some guys over at ALA managed to redesign Microsoft.com without tables, reducing the downloaded content by 83%, whilst maintaining the layout |
|
#12
|
||||
|
||||
|
one of the ideas behind using an entirely CSS layout is that by modifying the CSS you can make dramatic, universal changes to the layout and structure of your website without having to update any files. XML & CSS is the next step for better-accomplishing that goal.
|
|
#13
|
||||
|
||||
|
But I still see a problem with the "semantic web"
Currently, there is no client-side way to address the issue of a common document structure change globally Right now, ASP.Net's "Master Pages" is what I'd like to see available, but a client-side version... Hence why so-called "flat-file" sites are so popular, if you want to add a new column to the design of all your pages, you need to add the <div> to each and every page. What would be useful, would be a web concept split into: Content: XHTML Document Structure: XML Styling: CSS Layout: XTables anyone? Hence, you could use the same layout, styling, and structure files for the site, except change the XHTML file for each different content set. Or maybe a page that does the equivalent of a Server-Side Include and loads different XHTML files for different content sections? This just fuels my conspriacy theories about the W3C |