Introducing Boks, my latest and most ambitious AIR app to this day!
Do you design web pages? Do you write HTML and CSS? Ever heard about the Grid System and Blueprint CSS? Thought it was a pain to implement? Think again, fool!
Boks is some kind of WYSIWYG to help you setup a grid and baseline rhythm, build and fill your layout and export all this to HTML and CSS in no time.
Got your own CSS style already? No problemo, Boks can use them and eventually merge and compress them within a single “screen.css”. Your styles use images? Simply point to your asset directory and it will be included too! Afraid of breaking the baseline rhythm with you randomly sized images? Just select the “Add JS to fix baselines” option and you’re good to go!
Enough. Just go grab it (or just have a look at the lovely screenshots) and send feedback!
Apr 01, 2009: Update! I’ve done some wacky video screencasts that can help you understand everything about Boks, go and have a look! Yes, the sound is not perfect.

Looks like this could be something really cool once it matures a bit. I liked the live preview system. Though, it was a bit hard for me to understand what the output should be. But then again, I don’t usually do html development these days, so not very familiar with the grid. :)
One suggestion though. I’d try to implement an undo/redo in there. I found myself wanting to remove something I added and automatically hitting Command+Z, but nothing happened.
Yes, I’ve thought about it but it’s a pain to implement… Maybe one day!
Available at the Adobe AIR Marketplace! This one’s been quick!
You could have an API, so people could create plugins to export stuff in other css frameworks, like 960.gs or YUI Grids.
awesome.
Great idea and awsome app. I’d second Jens’s idea of undo though to make it more useable.
@Jens @Selig: I’ve added History Management (Undo/Redo) to my todo list! So expect a nice update…
This is great, I’m definitely going to use it next time I need to create a layout.
Big update!
0.2.1 brings history management (undo/redo), PDF export (to use a guides in Illustrator or Photoshop), visual feedback for borders and bug fixes…
Go grab it!
Nice!
Very nice! Is it possible to use a custom doctype, or base template ? (Adding meta…)
Nice job anyway !
If you want to add things to the output.html you can either edit it after exporting or edit the C:\Program Files\Boks\data\page-template.html (sorry, I don’t know the path on Mac/Linux) file. But notice that it might be overwritten when updating the app!
Two thumbs up.. way way up!!
Hi, great app. One issue I have, copy paste txt (in html window) does not seem to work. I am using OS is 10.4 on mac, is this what is causing the issue?
Many thanks.
Is your bug in the Live Preview window or in the HTML Content text area?
What about right clicking, do you get the Copy menu item?
You’re right, it works when using the ctrl+click menu. Just not when using the shortcut command. The same issue occurs in the html text editor, as well as all other text editing fields.
Thanks
Amazing app, very very useful, congratulations.
I check all your screencast and I cannot resolve this problem…
I see in the “markup type” only “divs”… but in your screencast “filling your layout” you show different markup elements like
Check this “screen“
http://skitch.com/maty/bm3di/only-divs
Thanks in advance…
Yep.
As the FAQ says (but I admit it can be surprising), an element can only be a DIV one if it’s not as wide as its parent. In your example the selected element is smaller than its parent… So if you want to have, say, a P element to be this size, simply draw an element in your DIV so it’s as wide as the DIV and then choose P in the Markup Type dropdown.
That should do the trick!
Yes!
You was right, thanks a lot…
Having trouble adding style to a id selector.
html:
css:
div#topbox {background-color: “orange”; }
Can this code be added to screen.css? Or must it be an external “style.css”? I’ve tried both approaches several ways without success. It is probably something simple I’m missing. TIA
never mind…operator error ‘_’
Available via Softpedia, yep.
Just discoverd your app, the more i m working with it the more i love it. This could be my missing link between gridbased design and good markup. Just wanted to let you know..have to go now and continue with to play Boks;-)
Well, thanks very much!
I think I should setup a section on the project’s page with links to pages done using Boks…
Got one? Share it!
When the app works out the way i hope it will, im gonna use it as a standard in my workflow. As soon as i ll have a project finished, just started today to fiddle around with it, i ll let you know. Thanks again for your work!
Great , awesome, Beauty, now i don’t’ need a Dreamweaver. thx for making such a useful and beautiful application. making a grid layout was never easy before this. you did a great job and people will love u.
Some advice
1. Add a dummy text (lorem ipsum) generator
2. Add a dummy image place holder generator
3. Add html comment like automaticaly after every div closing according to div id for example : where header div would be closed.
The Lorem Ipsum generator was in my TODO list… Plus I’ve already got the API for it. It might happen!
Could you tell me more about your 3rd point? You can mail me if you like.
To understand my #2 see this http://tinyurl.com/c5vwch
for #3 see the source code of this url how he added comment as a indication of closing div. it would be a good thing http://tinyurl.com/da994w
some more thing if you can
4. Add a PX to em converter like this http://tinyurl.com/7p3h75
5. See this for some more ideas to make BOKS more timsaver http://tinyurl.com/dcdv44
6. Give us a option to include a code of Google hosted JavaScript libraries. http://tinyurl.com/aqxe6w
one question
Are you making this on more specific Blueprint CSS framework or for all grid based framework?
uhmm.. it seems that the maximum column width is 100px. is that correct? I would like to make a grid that has a total width of 750 pix, divided into 3 koloms of 250 px with 10px gutters. Could you point me a direction as how i could work that out? Thanks!
please give us a jquery solution of image baseline fix.
@Jitendra:
All this looks nice but it’s quite out of the scope of Boks… But you can still edit the HTML template if you want!
At first this app is aimed at Blueprint as it’s the most popular CSS framework, and I didn’t really dive in 960.gs for example…
I never used jQuery but I could have a look. But if anyone can convert my MooTools version to a jQuery one, I’ll add it!
@Daphne:
You’re right! The trick is to have more columns in your layout but to spread elements over more than a colmun… You could turn your 3 column layout in a 6 column one, for example.
I think I’ll push these limitations in the next release. I’ll have to test that beforehand!
@Daphne: I tested my suggested solution and it doesn’t work well enough! I’ll push an update this week end with this 100px limitation removed (or pushed up).
I already embarked on the 6 column:-) Would be great if you manage to push the limits even further, untill then i ll work my way around it and well …allright then.. i ll open dreamweaver to adjust things;-)
wow you re fast!:-)
App updated! See project’s page version history for details.
Please send bug reports if any…
Thx for update and comments on closing div.
Do we need to remove older version to install newer?
The new version will automatically replace the previous one. No worries!
Amazing app..
Here’s the jQuery version of the fix images…
Google code path (for script include) http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
The js in the post was cut of..
Here’s a link to the function :
http://paste2.org/p/187118
Short on time today so will check it out tomorrow but on forehand: thanks for the update, Quentin! Great 300px column width!
thx erik
I’m working on the next version of the app that lets you choose either the MooTools or the jQuery version…
We (Erik and I) have some trouble with IE6 Win where the calculated baseline is wrong. If any jQuery guru is interested in fixing it, here’s Erik’s latest JS for jQuery version: http://paste2.org/p/187190
Anyone knows a good service to host JS files (that would provide hotlinking and updating files)? I’d be nice to be able to update them without having to push a new release every time… Pointers?
So!
I’ve pushed the update (yes, that was quick!) which provides the ability to choose between a MooTools or a jQuery version. Those JavaScript files are hosted on a brand new Google Code Project where I will be able to commit updates and where you can eventually grab the raw files if you want. Nice, huh?
The jQuery version still needs some love, though.
Fixed it? Send it right away!
Just like to say a very big thank you. It’s a great time saver.
Thank you for this tool. I love it!!! It’s a TIme Saver!!!
Respekt!
This is a non-disputed most useful application for Blueprint CSS Framework users. I’ve already Done and request to all to give some small contribution to respect and encourage Quentin T and his knowledge and time.
Pls Donate here : http://toki-woki.net/donation.html
Thanks again Quentin T for such a wonderful application.
Just added in Blueprint CSS Wiki http://is.gd/uf5X
Great Job. Thank you so much.
I used this tool for 2 days so far. It is just what I need.
for improvement, I suggest:
1.Please consider RTL support. There is an RTL plugin for blueprint.css.
2. Add function to preview.
3 Output.html gets overwritten every time I export a layout. I suggest adding function to rename the HTML and the css folder.
Thank you for sharing this helpful tool.
Thanks for these suggestions! When I get some free time i may try to look at the RTL and ouput options…
About your second point: there is a preview window already! Look under “Window>Live Preview”.
Can you recompile so that the application doesn’t require unrestricted access to my file systems? On install, that warning wigs me out.
Don’t worry, all AIR apps will warn you this way. I can’t remove it so you have to trust me…
Do so, there’s nothing to fear!
i saw your tutorial that you post
there’re error on the 3 tutorial that I am not able to check
is it possible that you can fix them?
thank you
What’s the error?
Please tell me more so I can try and fix it…
D’abord bravo pour cette application. beau travail !!!
Je suis en train de tester ça mais je bute sur un truc tout bête, à savoir une insertion d’image. J’ai bien notifié un dossier source image ainsi qu’une css personnelle.
Et je tombe toujours sur un “?” dans dans un carré dans la preview.
Merci de me donner des pistes pour dépatouiller de ça.
Dans mon exemple :
dans la seule div sur la grille.
C’est assez simple, pour faire ce que tu souhaites je te propose 2 options : soit tu stockes tes images dans le répertoire vers lequel tu fera ton export (donc tu les appelles directement :
), dans ce cas tu ne les verra pas lors du preview. L’autre option est de l’ajouter via l’onglet More de la fenêtre de réglages (via “Add a folder”, en ajoutant le répertoire dans lequel tu as tes images, par exemple “medias/”) et d’y faire référence en supposant qu’elles sont dans le répertoire en question, qui lui, sera dans le répertoire “css/”. Ce qui donnerait
.
Voilà, en espérant que ça aide !
Merci beaucoup pour ta disponibilité. Je viens de trouver mon erreur de débutant. Pour contribuer à la communauté Boks, c’était la suivante : il faut préciser la taille de l’image (en ayant choisi le cas de déclarer son dossier images dans le settings).
Exemple :
Et là, on a bien son image dans la preview !
Bon, après plusieurs essais, je note que “live preview” est très aléatoire. En tous cas “le open preview url” de cette fenêtre semble fonctionner correctement.
Peut être une mauvaise installation ou paramétrage de ma part, c’est bien possible. Est-ce que d’autres personnes on rencontré ce problème?
Hi Quentin, thx alot for the app, it’s amazing:)
I’ve been working on a new layout for my online portfolio, and it works really well, except for the the navigation.
http://www.jacobbalslev.dk/projekt/index.html
The 2 links WORK and INFO below my logo changes position. It’s not a big deal, it’s like a couple of pixels, but I can’t figure out how to fix it. Maybe you can help me out?:)
Thanks in advance Jacob Balslev
In your WORK page the header links contain images and in the INFO one they are replaced by DIVs, probably because you activated the “js-fix-image-baseline”. Simply uncheck this option or change the image replacement CSS selector so that it doesn’t mess with those images…
Thx alot Quentin:)
Hi, I saw your AIR app on refreshingapps.com, I realized a little logging library for flex/air developers which allows to write, read, display, filter and backup log files.
You can get it here http://www.daveoncode.com/2009/05/11/air-application-logging-flex-extension
I hope you will find it somehow useful and you will try to integrate it in your work.
Any feedback is welcome.
Thank you
Great work! One simple issue though:
After export, I am looking to make further changes to the CSS. However, whatever programme I open the CSS files in, there are no line breaks. Is this intended? All the CSS code just runs continuous. Is there anything I’m doing wrong?
This is absolutely intended, at least if you checked the Compress CSS option in the Export tab of the Settings window!
If you want your CSS to look readable and editable, simply unckeck this box…
Apologies, you’re right :)
Really love Boks. I’d ideally like to incorporate this into WordPress. But how easy is it to use the CSS from Boks over to WordPress. Like your have for this blog I guess.
No this blog’s theme hasn’t been designed with Boks, nor with Blueprint (I made it before I even heard of Blueprint), but it should not be too hard…
Simply build your page/layout with Boks and use it as a base document for your WordPress theme!
Thank you Quentin for your quick and helpful reply. I’ll have to play and see how it looks.
Is there any reason you didn’t use it for your Blog though.
Just quoting myself:
I hope this helps!
Thank you again Quentin.
Just one more question. Can you reopen your exported pages in Boks?
No, but you can save your layouts (.bok files) and re-open them…
HTML+CSS files are only exports of the layouts so you won’t be able to load them in Boks.
great app, I use it a lot.
one small thing though: copy and paste via the keyboard doesn’t work. is this an Air issue, or something wrong on your side?
Hi and thanks!
Copy/Paste is not implemented for elements but it should work fine for text fields…
I hope this helps!
Hi Quentin
I can’t copy/paste using shortcuts keys in the HTML code field — I have to use right-click/control-click.. I’m on Mac/OSX.
It would be nice to able to size HTML content/base divider upwards a bit too — a pane-resize ability would be great.
Thanks again for a cool app.
Alan
Oh yeah: A CTRL-R to refresh the Live Preview would be my last request (of the day)!
Thanks for your feedback, let me add all of this to the ever-growing to-do-list!
Quentin,
Thanks for this great app. Blueprint CSS has recently been updated to version 0.9. Are you going to update Boks to this latest version of Blueprint CSS?
Thanks.
I will try to push an update this week-end with some fixes and Blueprint’s latest version!
Thanks..
/k
Hey Quentin
Thanks — I just updated to 2.3 and so far, so great!
The lower pane resizes, the copy-and-paste via right-click on a mac works, and the shortcuts for refreshing all work too.
Thanks again — you just made my weekend!
All the best,
Alan
Nice…
Thanks for testing on a Mac!
Just curious why the generated css doesn’t include the input and textarea spans that are in BP 0.9. Are they not specific to the grid?
Well, I think it does!
Make sure you have Boks 0.3 and double-check the generated screen.css (should be around the 200th line in an uncompressed version)… And punch me in the face if I’m wrong!
Hi,
very nice work, this is a good way for webdesign.
I have attach an external CSS for editing my personal styles after export but this CSS is always reset after a new export.
What do you mean with “reset”?
Tu peux me répondre en français si c’est plus simple !
merci pour ta réponse,
“reset” n’est pas le bon terme, je reformule ma demande.
1 — J’attache une feuille de styles externe
2 — Je fais un export
3 — Je modifie ma feuille de styles externe
4 — Je modifie mon fichier Boks
5 — Je fais un nouvel export
6 — Ma feuille de styles externe a perdu les modifications faites en étape 3
J’aimerai donc pouvoir garder une feuille de styles autonome avec toujours la même URL.
Merci et encore bravo.
Hum… Je ne vais pas avoir le temps de regarder ça maintenant mais je note !
Je pars à l’étranger (3 semaines), je vais essayer de jeter un coup d’oeil au plus vite et de te tenir au courant…
Merci pour ce retour et à bientôt.
Hi Quentin
Sorry: seems like I got my bug-list mixed up.
On a mac: in the html field Apple C,X,V still doesn’t work to copy/cut and paste.
The odd thing is that Apple Z, Y for undo/redo works, and Apple-S works to save, etc. Could it be because these commands are also detailed in the Edit (and other) menus, and the cut/copy/paste commands are not?
These commands all work via the right-click/control-click.
OK alan, I’ll have a look into those shortcut bugs when I have some time, thanks!
Has anyone managed to figure out where on a Mac/OSX the ‘page-template.htm’ is stored? I’d like to edit that, but can’t find it.
This is also quite handy — http://davidwalsh.name/google-load — if you are looking at including libs by default..
Greatest app of the year from my P.O.V
RTL within it will be great.
I’m going to use it for my next layouts
thank you so much
Eden
I’m new to all this, but I love your Bok. Question: when I go to live preview, my paragraphs repeat throughout the length of the screen. How do I cut it off, so that I can see just what I formatted? I hope that makes sense. I’m still on the tit as far as geek squawk. ;)
Not really sure what you mean…
Could you tell us more?
Hi, thx for this great app, first !!! It’s really nice to could create bluePrint web templates with Bocksin train on a EEEpc running Ubuntu ;=)
So , i ve a question about additionals class : append and prepend, i don’t anderstand how it works in Bocks. when i test this i’v a prepend class added automaticaly on an element when there is an empty column on left … but don’t add a append class when there is an empty column on the right of the element. When i had it manually it break all the design when i do a preview.
– i’ve mess something ?
– may it ‘ll be nice to have a spécific margin color or a preview for this type of elements ..
Thx for your answer
Not sure how to explain it. Ok, let’s see…I enter 3–4 paragraph areas, with the dummy content, but when I go to preview, I have multiple paragraphs with the dummy content. Maybe this isn’t a problem. Maybe it’s something that’s there the back end, but won’t be there on the front end??
Great program — thanks for putting this together.
I’m trying to use the jQuery plugin to adjust the images to keep the baseline consistent. It works great except for images that are floated left or right within a . For some reason the left, right info is being ignored. The baseline remains consistent but now all the images have their own paragraphs.
What should I do?
Managed to get it to work by only applying it in cases where an image is not floated left or right.
My question now is about using the fix baseline on QT movies. I set up a div for the JS to fix, and it does, but unfortunately it wipes out the movie as well (just disappears). Any ideas?
@Dee and @Jim: Could you send links to example pages? Or better: the .bok files?
@Eden: thanks a bunch!
Well, it might be too late for me. I managed to fix the baseline QT problem through some math operators already present in my CMS (ExpressionEngine). In other words, I turned off the jQuery fix for the QT images. The javascript works great though for centered images — thanks!
Great app — for those of you looking for page-template.html — it is in applications/Boks.app (right click and select “package contents” then contents/resources/data). Hope this helps :)
thanks kyle, nice one.
hello — really like boks as a potential timesaver but like many i guess, am having problems with floated images — have tried all the seemingly logical ways of pointing to the fix baseline updates but to no avail in any browser — is there an idiots guide to doing this out there? — i’ve looked all over but can’t find one — help! — it’s putting me off an otherwise excellent idea — thanks
What’s the problem you’re facing?
If your floating image doesn’t float anymore I guess I’d have to fix the baseline JS…
Any link to share?
Thanks Quentin for the nice App. Its the first time I really enjoy CSS layout! Blueprint alone is already excellent and Boks makes it even nicer. I didn’t expect that the Adobe Air UI would be so responsive.
I see your app is mostly build on OSS software; when are you going to opensource Boks ;-)
Is it possible to run this application online? If so, can you provide the steps. Thanks
Boks is a desktop app so you won’t be able to run it in your browser, sorry!
wow — I cracked a nod in the credits! nice one Quentin!
Great app! Just one issue: After the successful installation on my Kubuntu system (64bits), when try to run the application (via desktop shortcut), it won’t.
It prompts the following error on the shell: $ /opt/Boks/bin/Boks
Error loading the runtime (libadobecertstore.so: cannot open shared object file: No such file or directory)
Maybe a Adobe AIR installation issue on 64bits systems so a workaround is creating a synlink through the following command : sudo ln –s /usr/lib/libadobecertstore.so /usr/lib32/libadobecertstore.so .
And Boks will run fine.
Thanks man, I’m sure this’ll be very useful to lots of folks!
Bonjour,
Tout d’abord bravo pour cette excellente application qui rend de nombreux services pour une mise en page claire, simple et efficace… Merci
comme il est souligner plus haut au sujet de l’utilisation de la construction Css 960, est-il possible dans un futur proche de pouvoir choisir parmi les deux types de construction (blueprint ou 960) lorsque cela est possible ?
Merci d’y penser.
Merci !
Ce n’est malheureusement pas prévu, il faudrait que je me plonge dans 960.gs et je risque de ne pas avoir le temps suffisant avant un petit moment…
Ceci dit, je note tous les souhaits et je m’y intéresserait plus sérieusement quand le temps me le permettra.
Et je vous tiendrai au courant !
Awesome! Thank you for creating this.
+1 for adding 960.gs option
Hey! Boks is running for Best RIA of 2009 on InsideRIA, please vote for it!
You’re welcome Toki Woki! Great app indeed. I voted too.
Hi!
Thanks fpr the great Tool!
I don’t know blueprint very well, but it’s possible to have a font switch to choose other fonts like Helvetica/Arial?? It will be great.
Sorry, no…
This is not the purpose of the app, which is mainly to manage a layout. But that’s easy to do! Simply use your custom CSS file in the “More” tab and you’re all set!
I hope this helps.
Voted.
Your app is the only grid/css generator I’ve used that made me feel like I was fully in control of my grid. Thanks! Voted (2.8% at the moment).
Hola :)
I really like your idea and application.
And I would like to contribute. You say it’s on google-code, but couldn’t find the source anyhwere.
1. Would like to add profiles option to target cms’s and make it possible to add cms variables (to put in content in that section in example).
2– If you design that part modular as eclipse, one can extend the module and all benefit from it. (more cms support in example)
3. The ability to change the grids technique from yui/blueprint or 960.gs or custom.
I find the 1st point the most important to me. I couldn’t find a bug in your application yet.
It would be very kind of you if you could make the source available in google-code, I could fork it and push changes back to you and you decide if you like it or not.
Respects sir :)
@Blake Watson: Thanks a lot man!
@ Xsss4hell: Only parts of the app are opensource (see the “Source Code” section on the app’s page), the main UI and logic isn’t, sorry.
I probably won’t implement any CMS option or Eclipse plugin: I’m too busy!
I updated the app to 0.3.2 and removed the call-to-action button, since the InsideRIA vote is over.
I voted for BOKS!
Hi! Great job… I’ve given a lot of twitter love since I found Boks.
One feature-request would be to remove redundancy when using ids kind of like compress.rb’s semantic classes. (http://jdclayton.com/blueprints_compress_a_walkthrough.html, scroll down a bit)
This is an awesome app. I’ve been using it to rebuild a webpage that is bloated with tables and inline CSS and have been making great progress. Good Job
Great product! Is is possible to extend the export process to include support for running an XSL transform against the generated XHTML code. It looks like there is support for performing an XSL transform in Adobe Air. See link below.
http://blogs.adobe.com/briggs/2008/05/using_air_for_xslt_processing.html
If you could perform an XSL transform, developers could then perform post processing on the generated XHTML In our case, we could transform the following BOKS generated statement into something we could use with our CMS platform.
BOKS GENERATED STATEMENT
ITTRIUM TRANSFORMED STATEMENT
I know I can manually insert our code in the HTML content window, but when the code is more complex, it is easy to code errors. We could eliminate many errors by running a transform against the BOKS generated code.
With this solution, developers could easily extend the BOKS support for their own needs.
Thanks for your consideration. If there is source code that we can modify ourselves, we would gladly implement and shared our solution.
@Craig Summer: That’s pretty interesting, I’ll have look into that when I find some time… Thanks for the idea!
@quickredfox: I thought about doing this at first but I’m not a big fan of compress.rb’ semantic classes… And I wouldn’t call setting both CSS classes and ID on a tag “redundant” : I like to think of Blueprint’s CSS classes as the layout managers and your IDs as the actual “style setters”.
But that’s my point of view and we can discuss it! What do you think?
Would some one make the first video of a site being completed with BOKS? Lets build a library of tutorials which I believe would further expand the popularity of this system hence more plugins.
Hi, i tried to install boks on my pc and but my norton AV (norton Internet Security 2010) block and remove it automaticly. Norton identifies boks.exe as “A program was behaving suspiciously on my computer”
Any idea?
Never heard of this issue…
The only thing that Boks does do that may look strange to Norton is that it checks for updates right after being launched. But that’s all, and I wouldn’t call that suspicious… Did you try one of my other AIR apps? They all have the same update routine so it could be interesting to see how Norton reacts.
Thanks for the feedback and please keep me informed if you’ve got news!
Hi Quentin,
Thanks for your response
I’m having the same problem with your WebKut app but no problem with Kuler adobe app.
Here’s screenshot of my desktop : http://img27.imageshack.us/img27/5299/bokks.png
Wow, that sucks.
I’ll have a look into this…
Great app! Nice work.
It would be great if the export process didn’t blow away all the files in the css directory. That way you could keep all of your custom css files in there as well.
What do you mean when you say “blow away”?
Do you use custom CSSs in the More tab? Did you check the “Merge CSS files within screen.css”? Did you choose to “Compress CSS” in the Export tab?
Yes, I’m using the Merge CSS files within screen.css and it works fine, except if I store my custom css in the css directory created during the export process, it gets deleted when I export again and is not included in the screen.css file. It works fine as long as I put my custom css files in a different directory. It’s not really a big deal, but boks uses the same directory structure that I have used in the past (applicationRoot/css/) and I didn’t make allowance for that.
This is true, you should not store anything in the folder you export to because files will be deleted/overwritten! If you put your custom CSS elsewhere things should be OK…
This app rocks, Kudos Quentin :)
Just one comment: i noticed that the output is not latest Blueprint version 0.9.1,.or at least the IE conditional condition in the outputted HTML page does not reflect it. May i ask on which BP version is BOK based?
Thanks!
Boks’ latest version uses BP 0.9, I will try to update it to 0.9.1 as soon as possible.
If you can’t wait you can manually update template files in Program Files/Boks/data/ to suit your needs… If you know exactly what changed I’d be interested, that would help me update the app faster!
Could you make Open/Save buttons for the layout? Right now, you can only save project when closing the app.
Not really sure what you’re looking for, but did you try the “File” menu?
You’ll find “New”, “Open…”, “Save” and so on in it!
Yep, sorry, saw it later (I’m on a Mac, and since I did’t see the app name in the menu, I thought it wasn’t this app’s menu… Silly me)
This app is a complete breath of fresh air! Thanks so much for sharing it with us.
Thanks for this good and usefull works.
Do you think it’s possible to integrate sass syntax stylesheets support in Boks? Sass a great way to write css (see http://sass-lang.com) and it would be a perfect complement.
What kind of feature would you need?
I think that would be lots of work and I don’t have much time these days… But I’m going to have a look into Compass (Sass+Blueprint) and see what it looks like.
Thanks for the suggestion!
Sure, it’s a big job to integrate Compass, but there is a shortcut : Boks can accept additional sass files to be configured (+sass), and convert them in css style with the sass command “sass style.sas style.css” before mergin and before a live preview.
AIR’s current version doesn’t allow invoking apps but AIR 2.0, will so I will have a look into that when it drops!
Allowing .sass files should be easy, though.
Ok, nice to you.
After over 10 years of web development I can tell you that this is the most impressive little tool I’ve seen. I hardly ever used any visual editors. Most of the tools I used were self developed. I stopped working on web pages about 3 years ago, probably because I didn’t have a tool like that. :) Congrats! Keep up the great work. I can’t wait to see what this evolves to.
Wow, that’s a nice comment…
Thanks!
Does Bok only support BluePrint or does it also support 960gs ?
For now it only supports Blueprint…
hi Quentin. just a quick question here. what version of blueprint u currently use?
i found the template files u mention earlier, and i compare it side-by-side with BP 0.9 and it has some differences.
btw, on a Mac the template files is inside the app itself. just right-click, choose “Show Package Contents”, and it’s under “Contents > Resources > data”.
I have one problem: yesterday i saved a project (my first) to .bok file. Today i can’t open it. Any thoughts?
@Rizky: You’re right, Boks doesn’t use the latest Blueprint version yet. I might update it anytime soon!
@Michael: Could you send me the .bok file so I can have a look?
Hi Quentin
Tell me where to send it please, you have my e-mail address. Thanks!
oic.. thx for the quick response :)
btw, if i want to update it myself. is it safe to replace the template files with the latest version of Blueprint?
thx
Sure, as long as you make sure the variable placeholders remain!
nice :) will try it. i’ll get back to u if i have any problem :P
thx!
first: very nice software!
in a saved .bok file i can’t lower the amount of columns under grid>grid settings
That’s probably because you have boxes that go beyond the number of columns you want…
Try removing or resizing them!
Yes, indeed! that is the thing. it would be a nice addition to indicate that in the application, either visual, either by a message.
True!
I like Boks and I use it.
Is there a way to use boks with css sprite (http://www.ajaxbestiary.com/Labs/SilkSprite/)?
I didn’t suceed to do it. Where must I put the sprites.png and sprite.css?
Fine, I found it : I only need to change the path of sprites.png in sprite.css. Bock is even greater now!
Hi Quentin,
Is it possible for a boks “gutterless blueprint version”.
gaurav
http://github.com/baldwindavid/gutterless_blueprint_css
That’s possible, I will allow 0px gutters in the next version!
I just updated Boks!
See project’s page for details.
great! thanks for the new release. keep it coming!
Hi Quentin,
thank you very much for your acknowledgment and time.
this upgrade did it !!!
Best,
gaurav
Hi Quentin,
Some feedback on the new update : Looks like the maximum columns you can have is restricted to “50”. Is there a way to make this flexible?.
I am linking a screen-shot which shows where the column numbers are locked.
Max containe size is 500px and max span limits to 50.
http://www.richbyte.com/srceen.jpg
big thanks,
gaurav
I put some limits on the numeric steppers to avoid too many calculations in the column width+gutter suggestions…
How high would you need the column count and width steppers to go?
I understand your approach to set up the limits to the numeric steppers.
This is what I see at the gutter-less blueprint grid file as the last span-x value.
“.span-150, div.span-150 {width:1500px;margin:0;}”.
I think this might be a feasible limit for average web layouts width which are recently ranging to 960 to 1000px widths.
What do you think?
best,
gaurav
OK, so that would push the limits to 150 columns…
I will try that and submit an update if it works smoothly!
I just published an update with that maximum column amount pushed!
Hi Quentin,
Thanks for the update. This has made Boks more versatile.
Best,
gaurav
Gotta tell you — Boks and your excellent video tutorials have been the most helpful of all the hundreds of web pages/sites I’ve visited in order to learn about frameworks. I’m not the smartest CSS kid on the block and using your Boks utility I’ve not only gained some practical understanding of how frameworks work, but I’m well on the way to doing stuff that a week ago seemed impossible to me.
Boks is great and the time and energy you’ve put into Boks and your tutorial vids is hugely appreciated!!!
I’m definitely a fan :)
I’ve yet to understand why so many web designers are so negative about css frameworks. Maybe they feel threatened by the fact that now we can break free of three-columnitis :)
Hey, the ultimate version have a problem on my iMac running snow leopard, when i run settings i can’t see nothing anymore.
See here: http://skitch.com/rubenrojas/nmypu/boks-settings
Thanks for sending this, I will try to have a look into that…
I can’t find the words to thank you. I have been looking for soooo long for a program that would do what yours do. I feel in heaven!
Hi, I’m having the same problem with Norton detecting, blocking and removing the Boks executable from my PC. The only information Norton offers is that is behaves suspiciously (it doesn’t say exactly how) and then removes the boks.exe file automatically. I can provide the information Norton gives me, but I doubt it will be of any use.
Thanks Rob, I’ve looked for answers here and there but couldn’t find anything so I’ve posted the question on the Adobe AIR Forums.
Let’s hope the AIR gurus can help.
By the way if you can e-mail me what Norton exactly says, I think this can be interesting too.
Thanks in advance.
This thread on Norton’s forum might also be interesting to you guys…
Let’s hope Norton gets patched for Boks!
Here are news from Robert Christensen (Adobe AIR’s Product Manager):
So if some of you guys get feedback from Norton, please share!
Hi, boks is awesome, thanks for share it! i use it in all my new projects!!
quiestion: do you intend to make a version for eslastic templates?
I have implemented blueprint to work with percentages rather than fixed width, so I think it shouldn’t be so complicated boks not deploy it? what do you think about it ?
best regards!
The idea sounds great and this is probably feasible, but sadly enough I really don’t have much time these days…
Added to the list of things to do later!
Is boks fully portable? I’d like to run it off of a usb key.
I’m not really sure what you’re looking for, but as far as Boks is an AIR app it has to be installed. So I guess it’s not portable at all!
I hope this helps…
Hi, i want to try your software, but can’t install it in air. It’s say “Sorry, some error occurred. Error# 2004″.
Do you have any suggestion about this air problem?
Thank you.
Are you on Linux?
If so, this could help!
Just found this sweet software, and must say i am impressed. looks very solid. are you still working on this ?
if so, i’d like to ask for a little enhancement: could you please check if it would be possible to choose between:
a) use Google CDN or offline
b) than choose some different versions of js-libs (if we’re on CDN)
c) add jquery-ui lib
Thanks for the suggestions and kind words!
I am not really working on it anymore as I don’t have much free time these days, but I appreciate feedback and store it to improve that app when I can…
Here are my reactions to your suggestions:
a) Why not, we could imagine a way to link to local and/or remote JS files
b) Which libs would you like?
c) If I implement point a, that would then become useless, right?
Bye!
a) if the user decides to use local ones, why not just let him point to some (and copy them automagically into the project … )
>b) i was just thinking about http://code.google.com/intl/de/apis/ajaxlibs/ those, either compressed or uncompressed (? or will compressed be good enough ? i guess so — KISS!)
>c) yes, point c is useless to some degree.
but let me add some other points:
d) add html5 doctype
e) would be nice to save some preferences as ‘projects’ although one can manage that already … it’s just not that “visible”.
Yeah, if you could implement google.load() with some options it would be perfect, just to give a choice. Keep working on it, it’s a great tool! (waiting for HTML5 + CSS3 implementations)
[bragging]
I just redesigned my site (portfolio and blog, different platforms) using Boks. It reduced my building time with more than two weeks. Great job!
[/bragging]
Wow.
You guys have ideas!
Don’t know when I’ll be able to work on that, but some of those suggestions would definitively be nice additions…
Thanks!
I just used Boks (and Blueprintcss) for the first time yesterday. Wow! What a powerful combo. You just brought the joy back into web design. Thank you!
Thanks for producing this fine software!
It would be nice to load an image as a backdrop. I could sketch a layout and then use boks to create it.
Hi, first of all, great application! I have a question for you. If you generate for instance a grid with 16 Columns, 40px for the width and 20px for the guttter, you will get a 960px layout. Can you tell me why does the grid.pdf have gutters of 21px and columns of 39px? This error is caused by a 1px on each side of gutter columns. Why are you adding these borders to the gutter columns in the pdf? Thanks for your help on this.
Hey!
This is a good question you’re asking, basically it’s because of a bug in the script I use to generate the PDF… But I know this script has been updated and I’m working on a new version of Boks, so I’ll try to integrate it and see if I can remove those borders.
Stay tuned, it might drop in a few days!
Big update! Boks 0.5 just out!
See project page for details.
Wooohooo! Nice, you’ve put the Google AJAX CDN, thanks!
Quick update for Hugo and those annoyed by the strokes in grid.pdf!
Check 0.5.1 on the project page.
Hi! That’s great! Checking that out right now. By the way, a couple of days ago I thought asking you to consider including the possibility of adding empty lines to the layout to work has empty space between divs. I thought that it was too much to ask but since you have added the possibility to insert an empty row in the top, why not allow to insert empty rows anywhere directly from Boks?
The simplest way to do this is to add an HR box with a “space” class!
Thanks for updating! I’ve used boks several times now and it lets me make great layouts fast!. Fantastic.
Wow! a lot of great improvements since I last checked out Boks (v.1.6a). Just playing around with the latest version (v.0.5.1) something that occurred to me might be a useful addition on the Grid Settings dialog > Grid tab is a reset to default Blueprint CSS button/option.
I found myself playing around with various grid settings and then wanted to reset to the default Blueprint CSS dimensions but couldn’t immediately remember what they were.
Just a thought.
Another idea — which I realise takes it slightly outwith the Blueprint CSS realm and closer to 960gs would be an option to define an outer margin, i.e. left and right of .container, and set its width. That would certainly make this a much more flexible tool for those folks who like the 960 grid but are more familiar with the Blueprint CSS framework.
Hey, thanks for the update!
Is there any way to get baselines on the Grid.pdf?
I’ll try to add that in the next drop!
What about a checkbox to make the grid liquid based rather then fixed?
Hi there,
Just wanted to say thank you for spending your energy writing this application, I am not a designer but toying with it and it has helped me greatly. Very nice work.
Thank you and all the best
I’m rebuilding my website and have used boks to do it. Mind if I give you credit?
Sure do so!
And drop the link here! Thanks.
Thank you, it’s a very handy tools
I’ve just downloaded Bok and watched your videos.
I would just like to add my thanks for making this excellent tool available.
I work on Mac OSX 10.5.8
I’m trying to paste text into the HTML Text box but it doesn’t accept paste. Not sure if it should accept paste but it would be nice if it did.
I think I’ve heard about this bug before… Does right-clicking > Paste work better?
I’m writing an article about Boks and thought you’d like to know! I love the app and wanted to help you out with some exposure.
I’d love to see some extra options for stripping out any of the Bluprint CSS that you don’t want. In fact, an additional option for using the 1KB grid would be awesome (http://www.1kbgrid.com/).
Thanks for making such a great fee tool, keep an eye out tomorrow for the article.
Josh Johnson
http://www.designshack.co.uk
hi, how would i integrate / specify a 100% pagewide div?
thx
Neither Blueprint nor Boks are design for fluid layout, at least not in the official versions; so you won’t be able to do that, sorry!
Would you consider doing something like this for boks — http://www.danclien.com/psd-grid-layout-generator/
A Photoshop PSD layout generator? This one only conforms to 960gs. It is unfortunately inconsistent with Blueprint and doesn’t offer as many options as it could. I believe once we have this, we can take over the world.
Boks can generate a PDF for you (see export options), just open it in Photoshop or in Illustrator and enjoy your grid!
Any luck adding baselines to the generated PDF?
In that case, I just exported a PDF and it’s width is smaller than the width should be.
@Eimhin Yeah, I should implement that… Probably in the next update!
@estevan Where did you import/open it?
Thank you for the great app!
Hi,
I have just updated to version 0.5.6 of boks, its a great app thanks for that, however there seems to be a problem with it.
If you open up the grid settings dialog to make adjustments and then save those adjustments it works fine but, if you try to open the grid settings dialog again to make say further adjustments you are presented with a blank dialog box.
It seems that you can only open the grid settings dialog once per session, is this by design or a bug
This is indeed a bug, I came across something weird like that, too; but couldn’t reproduce it…
I’ll fix this as soon as possible, thanks for posting it.
You’re welcome
As I said it is a great app
I’m experiencing the blank settings after making changes too. I’m able to get it back by closing the project & reopening it.
Also, a suggestion:
Include an option for starting/ending the layout with a gutter.
Probably only needing the starting gutter as the end is virtually irrelevant. Our grid overlays start with a gutter.
Love the project & will be immensely helpful getting off the ground quickly with Blueprint!
I’ve just uploaded a new version of Boks (0.5.7) which should fix this (big) issue. Kudos to Jon who helped me track this stuff down.
Boks 0.5.6 will probably prompt you with a blank update window in which you won’t be able to do anything (yes, that’s wack). So make sure you go to the download page and get the fresh update there…
Sorry for the inconvenience, folks!
Thanks for the quick update!
Do you think the start with a gutter option is feasible?
Huh, I forgot about that!
But I realize I didn’t really understand… If you want an empty gutter on the left and right of your layout, why not add a custom CSS adding a left and right margin to the “.container” selector? Thoughts?
Ok, I’m experiencing something else & I’m not sure if this was part of the bugfix for the blank windows … but …
I can’t close the settings or preview! Sure they disappear, but they are still listed in the task bar. I don’t recall having 3 windows open yesterday when I had the app open.
You’re right, the “blank bug” happened when closing the windows; so I decided to minimize them instead of closing them. I know it can be annoying but it’s the best I can do right now…
No other fix worked, sorry!
Ahh no problems. I figured it was part of the fix. Hope you can get that sorted out.
As for the gutter. A gutter before the first column to the left is more important. Yes adding it to the CSS of the container would work, but I’m just saying make it part of Boks because I’m not the only person that would want that.
Our total width is 1152 w/16 columns, 54px wide per column, 18px gutters. In Boks, I can only get to 1134 with 54+18. 1134 + 18 = 1152.
Thinking about it, having a gutter to the right is irrelevant because the content ends where it ends, but having one to the left where the start of the design begins would be nice within Boks.
@Quentin
Glad I could help
Hello
Thanks for Boks.
Version: Boks 0.5.7
Just wondering what happened to css comments in the latest versions. I could be wrong but I’m sure that in earlier versions there were comments in the CSS that reflected the original BluePrint CSS.
Also, could you tell me what version of Blueprint Bok s0.5.7 is using?
Regards
Hey Tony,
be sure to uncheck “Compress CSS” in the “Export” tab to preserve comments in CSS files.
Boks uses Blueprint 0.9.1 since 0.3.3, and apparently it’s still the latest version around.
I hope this helps!
Thanks Quentin
Really appreciate the fast response.
I saw above the you used minimize to hid a bug, but I’ve found that it minimizes the system settings when I press ok and I can’t draw any boxes on the main window either, presumably because the system settings window is still open. Do you have a fix for this?
What you describe is not normal, you should be able to edit your layout, even if the Settings window is not closed (minimized). What happens when you try to do so? Could you send me a screenshot?
Thanks for reporting this.
@Quentin, I’m sure you’ve seen GridFox, which will display an opaque grid overlay on your page. They implemented what is called “horizontal offset” which is essentially what I’m looking to see if you could implement. The offset allows a gutter to start on the left hand side instead of a column. I hope that makes more sense when you see that.
It looks like I got it working. Looks like it was just UI qurkiness. I expected to be able to create a box when I click and drag on the whte area. Suggestion for future versions. In the min Boks window expand the columns overlay to the fully extend to the bottom of the window, and allow you to click anywhere to create boxes, but have it still snap to right below or next to the previous block. You know what I mean?
Having some problems with 5.6 and 5.7. Both versions open the grid settings dialog automatically and 5.7 opens the preview dialog automatically. When I try to close them, they are minimized, but do not close. I’ve rolled back to 5.1 for now.
Has anyone else experienced this problem?
@Iam: I see what you mean but I’m afraid I won’t change that. (Warning tech content ahead) Boks was written for Flex 3 which is now an old framework and big changes might do more harm than good. The “blank window” issue is a good (well, bad, in fact) example, sadly.
@Craig: Yes, this is normal. See previous comments (and my e-mail)!
I really love boks and now that I see it’s updated I love it even more. What I’d love to see, but I’m not sure how hard that would be is Compass integeration.
It would be great because compass can work with Blueprint but output more semantic CSS without the need for the special blueprint classes. If that could be integrated somehow you’d have a killer app.
There is a bug when I start a project and want to change settings. The window of settings is empty.
Are you sure you’re using the latest version (check from the project page)? This issue has been reported and should be fixed, tell me if that’s OK.
Yes, Boks 0.5.6.
Mac OS X 10.6.4.
Settings empty.
My fault: I recently updated the site and didn’t upload the latest project page version. Should be fixed now, 0.5.7 is what you need!
Merci ! ;-)
I was trying to install it in centos 5. I just clicked install in the home page. But it says download error. I have installed flash plugin. I also tried downloading the source code and install it using Adobe installer. But nothing happens.
I’m not sure AIR runs on Centos, or does it?
Is it possible to update the version of Blueprint shipped with Boks (by overwriting the CSS files with those from a newer version) or have you modified Blueprint in any way that would prevent doing this?
Boks *should* use Blueprint’s latest version (tell me if I’m wrong). But if you want to customize it, you can.
Just locate the “application storage directory” (depends on your OS) and you’ll find Boks’ template files. You can cutomize them but make sure you keep the variable placeholders, and optionally backup those changes as they will be overriden if/when Boks updates!
FYI — via email from http://www.dmxzone.com/ DMX have developed a free 960 Grid System Dreamweaver Extension. I have not yet tried the extension.
Perhaps a Dreamweaver extension is a possibility for Boks?
Reading an earlier comment, I think Boks-0.5.7 uses Blueprint-0.9.1. I did a “diff” against Blueprint-1.0 and there are differences. I believe the latest Blueprint was released 29/09/2010.
@John: The extension looks good but I’m afraid Boks is really designed to be a stand-alone app.
@Neil: You’re right, I didn’t notice Blueprint had been updated! Is there a newsletter or a feed I missed? Anyway, I’ll update Boks soon and integrate the changes.
Just updated Boks with Blueprint 1.0!
The nasty “update window bug” is still here so you’ll get a blank (well, blue/green) window: that means you need to update. Go to the project page to get it!
Hello, after version 0.5.6 I cannot select another markup type for some elements because of blank list. Please check this bug.
In 0.5.8 version you have <a> tags with color
settings. It would be great if Boks had an option to change this
default color.
@Netflash I recommend you override this setting by specifying a custom CSS file. Or you can find and edit Boks’ template files (in Program Files, on Windows)!
Hi Quentin
I would like to take this opportunity to wish you (and your commenters) a Merry Christmas and a Happy New Year
I’m having trouble installing Boks on ubuntu 10.04, the install button gives an error at the AIR install stage. I’ve installed adobeair from a repository. Can I download Boks by itself?
Yes, you can access the .air files by clicking on the version numbers in the “Versions” list (on the project page)! I hope this helps.
That worked. Thanks for your help, much appreciated.
Great tool and have been using it for a few months now but since the recent Air and software updates its stopped working for me — live view doesn’t display anything. Open URL doesn’t work or adding dummy text. Help! Am I missing something simple?
What operating system are you on?
Did you try uninstalling and re-installing the app? Or the AIR runtime?
Thanks — that seems to work. One thing — I am unable to close the Live preview or setting windows. They are always open now. Not a problem just different from before. I’m running Vista :(.
That’s right, this is not a bug but I admit it’s a strange way to bypass one. Couldn’t find a better way to fix it!
Love it. I think it really has potential to vastly improve my workflow.
Would be nice if it allowed importing of arbitrary html in addition to css, but i understand this may be considerably harder to implement.
Keep up the excellent work!
Found a small but important export “bug”: When you export the CSS, you have REMOVED the following definition:
.last{margin-right:0;}
…that MUST come AFTER the .column,.span-1, etc definition block because it adds a right-margin to all of those classes.
Please DISREGARD last comment…I think my CSS Editor removed it as redundant.
Boks is a great tool, no doubt about that. I would really like to be able to set left margins as well as right margins. I realise Boks was written to work with Blueprint and not 960gs or the 1kb grid. Please consider incorporating alternate css frameworks, or at least, offering left/right margin options. This air app really is worth further development. Everyone who has commented here has agreed with that.
OMG, with a nice php framework i built a site in hours. Thanks for the awesomeness. Keep good work.
I like to use 0 gutter width. Is there a way to color code the blocks to distinguish the columns? It all goes to one solid color when you don’t have a gutter width.
No, not really.
What I can suggest is that you set your gutter width to 1 when designing and then set it back to 0 when exporting… I hope this helps!
thanks, that’ll work :)
I’d like to see Boks modified so that the entire directory is not deleted before an export. By deleting everything in the directory, I’m prevented from putting the output directly under source control because things like .svn directories get deleted. That causes all sorts of trouble with subversion. It would be great if Boks just overwrote the files it needs to change.
Hey Mike!
I understand your needs but unfortunately I won’t have time to do that… Sorry!
i cant install it in my linux, i instaled the adobe air, and indicate error on install tha program…i use ubuntu 11.04, i alredy installed the adobe air, and now? what i can do?
I think (and hope) this could help!
Hi Quentin ,
I was wondering if time has come to make Boks capable of adaptive layouts with media queries. We can get some ideas from Less framework and make CSS outputs in context of landscape, portrait and device widths.
Just some food for thought.
Best,
Gaurav
Well, the idea has always been, and still is, great!
But unfortunately I don’t have enough time in my hands… I have a project to re-write Boks from scratch in order to make it more stable and handle more CSS frameworks. But this is only a project and I have no idea when and if I’ll be able to develop it!
By the way, if anyone wants to do so I can help him/her/them!
I love Boks. I tell everyone I can about it! The only thing in my wishlist is I’d love to be able to activate/deactive via checkbox the left and right outer columns as well. Amazing, lite and ultra efficient GUI.
now blueprintcss is Latest version: 1.0.1
when press cntrl-z all css that was added in settings goes away.
Salut Quentin. Excellent travail en passant. I just wanted to point out that on my system, when selecting the “Markup type” dropdown, I always only get DIV type, and it is valid for other types. All other items seem there but are blank. V. 0.5.8 Merci.
Yup, this is a Flex bug! First make sur the selected element is a wide as its parent (details about this on the FAQ page). If so, save and re-open your file, this could fix that…
I hope this helps.
Any chance of packing the app so it runs on top of Air for Android? It would be great on the Galaxy Note Tab or my Transformer Prime… :-)
Hey César, I’m afraid not: it would –unfortunately– not be as easy as it sounds.
Sorry about that!
1 Trackbacks