close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

More efficient CSS

Thread began 5/19/2010 4:57 am by tom113673 | Last modified 5/27/2010 7:02 pm by tom113673 | 2020 views | 16 replies

tom113673

More efficient CSS

An area I hope will be improved in forthcoming products is better CSS implementation; currently the way styles are applied is extremely clumsy - in DataAssist for example. If CSS Form Builder is to be integrated witih DataAssist, things could get a lot worse. I tried Form Builder when it was released; when a two field login form created 1000 lines of CSS code, I knew this would not be a useful product as far as I was concerned. However DataAssist is useful, and hopefully will be better in the next release, particularly if it gets closer to ADDT.

For example:
Looking at the HTML taken from a dynamically-generated results page (created initially using DataAssist), there are 332 occurences of:
class="WADAResultsTableCell"
Obviously the number will vary according to the number of columns and rows, but the point is there no need for a single occurence. The same goes for class="WADAResultsTableHeader" etc..

Adding ".WADAResultsTable td" in the style sheet and removing the redundant class="WADAResultsTableHeader" would of course solve the problem.

Is there any reason for this approach (which is used throughout your CSS generation as far as I know)? Tidying up the CSS for this single page shaved 10k of the filesize. If many users page through many pages this becomes significant as far as loading times/bandiwidth is concerned, and it seems to be totally unnecessary. It also makes the pages very cluttered and difficult to work with.

I hope this can be considered in future updates. Perhaps there is some benefit to this approach (perhaps Netscape browsers work better with this type of CSS) but I find it frustrating and amateurish, and time-consuming to fix.

I understand that requests have been made for options to exclude CSS from code generation. This is a good idea but it would better if choosing styled HTML was a usable option (particularly if the styles can be defined).

Tom Dupre

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...