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.
CSS Toolbar doesn't add semi-colon
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
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".
- clarkedesign
- Posts: 29
- Joined: Tue Aug 23, 2005 11:29 am
- Location: Solihull, West Midlands, England
- Contact:
CSS Toolbar doesn't add semi-colon
Helping your business untangle the web - www.clarkedesign.co.uk
Re: CSS Toolbar doesn't add semi-colon
http://dustinbrewer.com/your-last-css-a ... semicolon/
More formally: http://www.w3.org/TR/css3-syntax/#rule-sets
More formally: http://www.w3.org/TR/css3-syntax/#rule-sets
Blumentals Software Programmer
- 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
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.
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
Re: CSS Toolbar doesn't add semi-colon
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
- 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
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
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
Re: CSS Toolbar doesn't add semi-colon
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
Re: CSS Toolbar doesn't add semi-colon
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...
).
I just threw the money in the trash when I bought the WeBuilder 2007, and I still using the version WeBuilder 2006.
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...


I just threw the money in the trash when I bought the WeBuilder 2007, and I still using the version WeBuilder 2006.