Why is the CSS for data tables on the page and not in a file?
Just wondering what the reasoning behind having the WADA data table CSS code embedded directly onto the page is? Would this not be a lot more efficient within a separate CSS file?
Just wondering what the reasoning behind having the WADA data table CSS code embedded directly onto the page is? Would this not be a lot more efficient within a separate CSS file?
I don't know the answer to that, but would just like to mention that I prefer it that way (most of the time).
As I use DataAssist in various areas of my sites - both in Admin and public-facing pages (results/search/insert) the styles are often different for different areas. If every time I ran the wizard (maybe 6 - 7 times per site) it created a new stylesheet or overwrote the previous ones(s) I would have problems. I also find that different kinds of results sets require individual styling to fomat & suit the kind of data being returned.
If I didn't want the styles/per page, it would be easy in code view to export the styles to a new or existing stylesheet - a couple of clicks.
Interesting, I can see your point - and I guess that in some cases this makes sense for the data table side of things, however, for efficiency and consistency sake I would still prefer to have them in a seperate file. :)
The number of times that I want these tables to look different is quite small compared to other times, besides, I believe that you could just as easily create a new template to choose from the get go in the Wizard, which would easily deal with the public / private pages issue. :)
Perhaps you could post this in the 'wish list' forum as a feature request, it may be considered for the next release.
Well yes, I could and I will, however, I would also like to know the official reason that they are the only pages that seem to have this localized CSS :)
Andrew, there really is no reason for the css to be embedded rather than have a separate CSS file created.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.