tags:

views:

165

answers:

5

During a recent interview for a front-end developer position I was asked what the box model was. I thought the interviewer was referring to testing (i.e. white box testing, black box testing). I was wrong.

What is the box model, in reference to front-end development?

+5  A: 

Here's a great tutorial on CSS box model by BrainJar.com

Google has quite a few other links as well.

ChssPly76
+1 The BrainJar article is an awesome and really helpful read.
balpha
A: 

It has to do with web application development and css. See this: http://www.w3.org/TR/CSS2/box.html

K

Karl T.
A: 

The interviewer was likely refering to the CSS Box Model

jmohr
A: 

By "box model", your interviewer was probably referring to the CSS Box Model. The CSS box model is a system of borders, margins, and paddings (and more recently , outlines) that surround block level objects and help the browser determine how to display them. Pick up a good CSS book for more info.

Aviral Dasgupta
A: 

Once they've asked you at the interview about CSS Box model, they didn't asked only for definition, but they rather expected that you had working experience with applying knowledge about Box Model and Layout techniques. I strongly recommend learning about Box Model from W3 CSS2 spec website, but also practicing CSS and table-less design, as well as checking best practices for websites Layout techniques Good luck

MAP