According to http://stackoverflow.com/faq#close it seems ok to me
While this case is sort of marginal, I think it's a "lack of effort" type of closure. The relevant portion of the close reason is this (emphasis mine):
You have shown your code for the border, and a screenshot of what you would like to see, but you haven't shown what you have tried so far to get from your code to the screenshot.
A question being closed isn't the end of it, though. If you have tried a few things (even if they didn't work), edit your post to add those in! Explain your reasoning on what you attempted. That alone would make it a good candidate for reopening (in my opinion).
As Bart points out in the comments, this type of question is also covered in the How to Ask page (which is linked to from the Ask a Question page, and new users are required to read) under "Do your homework". I personally think it's good practice to point users here when voting to close as "not a real question".