CSS Toolbar doesn't add semi-colon

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
clarkedesign
Posts: 29
Joined: Tue Aug 23, 2005 11:29 am
Location: Solihull, West Midlands, England
Contact:

CSS Toolbar doesn't add semi-colon

Post by clarkedesign »

When using some of the CSS toolbar options, like bold or align left, the code inserted doesn't end with a semi-colon.

So you need to add it yourself. Seems like a bit of an oversight not to add this omatically as this is ALWAYS required to create good CSS syntax.

For examples: Click the CSS Toolbar icon to Align Left.

You get "text-align: left"

it should be "text-align: left;"

Subtle difference (just a semi colon at the end) but a huge time saver.
Helping your business untangle the web - www.clarkedesign.co.uk
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: CSS Toolbar doesn't add semi-colon

Post by Aivars »

Blumentals Software Programmer
User avatar
clarkedesign
Posts: 29
Joined: Tue Aug 23, 2005 11:29 am
Location: Solihull, West Midlands, England
Contact:

Re: CSS Toolbar doesn't add semi-colon

Post by clarkedesign »

OK,

so what if i'm in the middle of a CSS definition, or what if I want to add two things at once, like Bold and text align left....

It still doesn't add semicolons so then it doesn;t work.

yes the definiton you refer to might say that you don;t need them biut it makes your life so much easier and more consistent.
Helping your business untangle the web - www.clarkedesign.co.uk
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: CSS Toolbar doesn't add semi-colon

Post by Aivars »

Hmm, that might be a bug, because I just tried to add Bold and Left, and it added the required semi colon. Are you sure it doesn't add them for you?
Blumentals Software Programmer
User avatar
clarkedesign
Posts: 29
Joined: Tue Aug 23, 2005 11:29 am
Location: Solihull, West Midlands, England
Contact:

Re: CSS Toolbar doesn't add semi-colon

Post by clarkedesign »

Hey - you're right, it does add all of the necessary semi-colons, when using the functions.

Just felt that for consistency, always adding one would be easier - even if propotcal suggest that the last one isn't necessary.

Yes, the functions add them if required, but us humans sometime forget that the preceeding line may need a semi-colon, when maunally adding an item to a CSS definition.
Would be nice if they were always added, so that we didn't miss adding one if we extend a CSS class
Helping your business untangle the web - www.clarkedesign.co.uk
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: CSS Toolbar doesn't add semi-colon

Post by Aivars »

This unfortunately is one of those theological issues - I know that some people write scripts to remove the final semicolons from any css file they get their hands on... So at most we can make an option that regulates this. I personally agree with you that they should be added to every line, that's what I do in my stylesheets.
Blumentals Software Programmer
-Tom-
Posts: 3
Joined: Tue Oct 17, 2006 11:08 pm

Re: CSS Toolbar doesn't add semi-colon

Post by -Tom- »

I asked a couple of years ago to add auto ; to every line, at least as an option... but without success.
It was removed from the 2007 version because some guy decided to do a parody of a "big software company" and "smart" Customers Poll (remove software features... :shock: :evil: ).
I just threw the money in the trash when I bought the WeBuilder 2007, and I still using the version WeBuilder 2006.
Post Reply