peter schotman wrote
My page hierarchy was a bit large (approx 400 pages). So I used this control and it proved to be extremely slow.
This appears to be an issue with the module not tables vs CSS.
For speed of display, you would be hard presses to find optimized examples where CSS isn't far faster….
- the page is much, much lighter, (by terabytes)
- the way browsers render tables will make it appear slower to the visitor (versus progressive rendering),
- They often require a single image is in multiple fragments, each adding to the request time.
- with caching the first point also dramatically speeds up the rest of your site,
The speed gap really in the learning curve - and understandably so. People with rudimentary understanding of CSS routinely make the mistake of thinking it is about logistics. "Table are a faster, pain free way to show my data." But the core argument for CSS is actually about data presentation.
HTML was always intended to be a design neutral language for transferring data. The tags have meaning, semantic meaning, that helps the viewer understand the nature of the content. For instance, h1 is meant to convey "first level heading" and that meaning is supposed to be the same on every device. When you take the tabular data tag TD and make it mean "align right" you break the semantics and create a dialect of HTML. The longer you keep misusing the tags, the worse the problem will be. Soon you have Ebonics or another dialect where you need to translate basic words to have all people understand a sentence.
This is somewhat the case now with IE6 and Firefox et al. Thankfully, many brilliant people have written the translation dictionaries so you don't have to be fully bi-lingual.
A nice thing about pure CSS is it actually makes programming much, much easier. You don't have to spend any time worrying about the design: put your content in the appropriate semantic container, allow a designer to move the containers around a little then leave the rest to them. As CSS is a much easier language to understand the C# so many more people can get the heads around it. Combine this will the simplicity of the elements and the level of design innovation goes through the roof.