core
core

Reputation: 33087

What is the "box model?"

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?

Upvotes: 1

Views: 2645

Answers (5)

MAP
MAP

Reputation: 101

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

Upvotes: 1

aviraldg
aviraldg

Reputation: 9154

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.

Upvotes: 0

jmohr
jmohr

Reputation: 4766

The interviewer was likely refering to the CSS Box Model

Upvotes: 0

Karl T.
Karl T.

Reputation: 502

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

K

Upvotes: 0

ChssPly76
ChssPly76

Reputation: 100736

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

Google has quite a few other links as well.

Upvotes: 7

Related Questions