Author |
Topic |
|
Martin1
Super User
Netherlands
626 Posts |
Posted - 13 Jun 2006 : 12:38:44
|
There are a few things I would like to go over with you Davide if you don't mind.
I did a check on w3c of the css on my site and found a rather large ammount of errors. Your site has them as well http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.hexagora.com%2Fen_home.asp
Some of these errors I have pointed out to you in another thread on this forum but the fact that I saw them now in a row made me realize how many there are and kinda shocked me.
I do understand your need to get new features implemented into DHE but I also would like to point out how important it is to get the program as flawless as one possibly can get. This obviously especially goes for the code it produces of course.
If you want to attract the professionals among us that still use Dreamweaver and Golive this is a very important issue. Like the program did for me[2 H:)]. I hardly ever touch my version of GoLive anymore.
I also would like to suggest that it is incredibly usefull to replace the class name that is used now (like for example span class="arial1064756CFFFFFFt" to the name of the id of the object. That way it is easier to find the approriate css that belongs to a certain part of the html page. Maybe not usefull for the average user but for the more professional working users it is!
Now it's like looking for a needle in a haystack. Very confusing. I was trying to get rid of the css errors but just couldn't do it because it was waaaay to confusing with these strange and non descriptive class names.
I noticed that the javacall for opening a new window hasn't changed yet to include the width height size scrollbars (yes/no) toolbars (yes/no and so on. Maybe this is part of the new version and am I getting back to it to soon but I thought I just mention it.
I would like to suggest to redo this whole javacall screen anyway. It's to difficult to use and to understand for those who don't get understand javascript. A totally seperate window from the other event options just for the javascript would be more usefull.
Another thing I would like to remark is that it would be usefull for your sales to make clear that the editor comes in different languages. I would advertise this very clearly because for a lot of folks this is very important.
A prominent place on the home page or on the page that tells about DHE would be a smart move.
Anyway for now this is it[2 H:)].
I hope you don't mind me mentioning these things because I just like to help and obvious hope that the editor get's better and better all the time and incorperates the features I think would make a huge difference (kinda selfish of course;-).
Martin
|
Edited by - Martin1 on 13 Jun 2006 14:59:12 |
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 13 Jun 2006 : 21:22:18
|
Hello Martin,
many thanks for the advices.
I think you're referring to the validation errors of the css. Can you suggest me how to remove these errors? the W3C validator says "You are encouraged to offer a generic family as a last alternative"; ok what are these generic font families?
The previous errors "my.css" are made by me (not by D.H.E.) and permit to change the scrollbar color (for explorer) and some other things (css made by a program that I can't remember now :-( )
|
Regards, Davide |
|
|
Martin1
Super User
Netherlands
626 Posts |
Posted - 14 Jun 2006 : 16:35:43
|
Hello Davide,
As to the generic fonts. Generic font families are a fallback mechanism, a means of preserving some of the style sheet author's intent in the worst case when none of the specified fonts can be selected. There are five generic font families: serif sans-serif cursive fantasy monospace
You use these like this: font-family: Arial, Helvetica, sans-serif; or font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; or font-family: "Times New Roman", Times, serif;
You always place the generic font at the end of the font list.
If you want to make sure how to correctly set up these css things I strongly suggest trying Topstyle pro http://www.bradsoft.com/.
Just open a css file made with dhe in TopStyle and then choose Tools/Style Check. This will list all the errors with an explanation on how to solve them.
Most of the errors are created by missing background- and foreground-colors. For example: if one has a piece of text and you don't give this text a background-color it will create a missing background-color w3c error. I understand it is not always usefull to have a background-color so to avoid it showing up you could add the css: none.
Example: .verdana100FFFFFFt {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; color: #000000; background-color: #000000 none; text-decoration: none;}
I added by hand the generic font sans-serif to the font list and added the property background-color and added to this background-color property not only a random color (in this case black - 000000) but to make sure that color doesn't show up also added: none. This >>none<< makes sure it doesn't show the color. This way it's w3c compliant and not messing up the way I want my page look.
Obviously the same goes for the foreground-color (strangely enough in css only caled color without the word foreground added:-).
Martin |
|
|
Martin1
Super User
Netherlands
626 Posts |
Posted - 14 Jun 2006 : 16:37:25
|
I also again want to point out how very usefull it is to have the ID name of an object used in the css file instead of these strange and totally non-desriptive .verdana100FFFFFFt which make it very very very difficult to find out which part of the css belongs to which part of the html file.
I know I already said this but it's something I strongly believe would make the software for the professionals among us so much better and more usefull.
We like to mess around with the source as much as we can[2 H:)] hahahahaha.
Martin |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 15 Jun 2006 : 09:21:49
|
I've used TolStyle Lite ;-) In the next version I'll fix these errors. For the ID name in the css file I think this is not a very good idea because by using the ugly "verdana100FFFFFFt" I can reuse the class many times in a page. By placing the ID in the class I have to create many copies of the class for every text object... Maybe I should think a manner to permit users to change the css class name ;-) |
Regards, Davide |
|
|
Martin1
Super User
Netherlands
626 Posts |
Posted - 15 Jun 2006 : 12:31:28
|
Hello Davide,
maybe your better of trying topstyle pro hahahahaha.
quote: In the next version I'll fix these errors.
Excellent!
quote: For the ID name in the css file I think this is not a very good idea because by using the ugly "verdana100FFFFFFt" I can reuse the class many times in a page. By placing the ID in the class I have to create many copies of the class for every text object...
But what's the problem with that? The css files are so small this wouldn't create any issues as far as I can see. Could you explain why this would be a negative thing?
Martin
|
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 15 Jun 2006 : 17:46:09
|
I think it's negative to have many identical css classes ;-) |
Regards, Davide |
|
|
Martin1
Super User
Netherlands
626 Posts |
Posted - 15 Jun 2006 : 17:58:35
|
For whom?
Not for the average user because they wouldn't even look at the css and for those of us who take webdesign a step further it would make life easier.
It might look a bit strange to have the same css classes but having the classes better defined so one could see which class goes whith which style would be preferable.
Looking good just isn't as important as usabillity (Except for me of course. I look extremely good almost like Adonis himself and am usable[3 up]).
Anyway if you still find this to be an issue for you and you really really don't want to change this (you stubborn little Italian you[3 ~-)]) at least you could add the feature you mentioned.
Permitting users to change the class names.
This would be a step in the right direction.
Well I won't bother you anymore with this[3 :p].
Greetings from me,
Martin |
Edited by - Martin1 on 15 Jun 2006 18:03:24 |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 15 Jun 2006 : 22:52:04
|
I'll put these advices in my list (very long list )... |
Regards, Davide |
|
|
|
Topic |
|