CSS Test -- Want to bone up before interview

Hi. I’ve had two interviews recently where they tested my CSS knowledge–one verbal, one electronic. My CSS is pretty good, and I did OK on the tests, but now I have another interview coming up and want to thoroughly prep myself. Competition for jobs is pretty tight right now, so getting 90% of the questions right probably isn’t good enough.

Does anyone know of any online tests where I can review my basic CSS before my interview? I know that there is a CSS Test thread that is ongoing here, but that’s a little different from what I am referring to. I’m thinking more like a multiple choice with questions like “An inline element is…” I’ve seen them for other subjects and thought maybe something like this for CSS is out there.

Thanks in advance for any help.

Hi Mecha, don’t know of any online tests but I find just reading as much stuff as you can online and get an overall view of everything. Don’t try and learn everything in detail or you’ll just start getting confused… learn on the job :slight_smile:

From experience I find it best to browser over the things your not sure of and make a few notes of advanced features you can then reel off in the interview. Its always best if you explain what CSS you’ve done with examples, refer them to work and URLs you’ve done. And you might want to read up on CBI (Competency Based Interviews) lots of company’s are now using this interview process… very formal.

Good luck!

Thanks for the advice. The problem is, I’m not sure what I’m not sure of. I use a lot of CSS, and like I said, my skills are pretty good. But I’ve found that putting pages together doesn’t always prepare you that well for a verbal test. I know how to do many things, but I don’t always exactly follow conventions. And employers usually want a by-the-book, conventional type.

I’ve taken lots of multiple choice online exams for other subjects, and I thought maybe someone knew of a CSS one.

Hi, there aren’t any that I know of, other then the crappy w3schools tests, though they are more basic then anything else (aka how to change font colors…etc)

Post any questions you have (just try to think of as much questions as you can) and we will go over it :slight_smile:

Yeah, the ones I found online were pretty dated and awful. One kept asking about Netscape 4(!).

Thanks for the offer. I don’t have any specific questions, I was just looking for a resource to help me brush up a little.

To manipulate browser scrollbars, which element should you target - the body or the html?

What two rules do you need to apply to a container to enable it to contain it’s floated children (in ie6 + and modern browsers)?

Two maybe tricky questions:

What is the font-style option available in the “font" property that is not avaiable in the "[URL=“http://reference.sitepoint.com/css/font-style”]font” shorthand?
A: System fonts

What are the benefits of collapsing margins? What are the pitfalls and how to avoid them?
A: No cheating! :wink:

A few useful resources:
What a web developer should do for the client.
Brunildo’s CSS Experiments
Big John’s bug findings at PIE
Find more links at the Web Standards Group (WSG) Resources

This website may be of use to you, it’s run by WaSP (Web Standards Project):


My recommendation would be to skim through the contents page of the specification and then write down the items purpose, how you write it in code and the type of value it holds. It’s a pretty basic thing to-do but it’ll reinforce your knowledge on the formed specification so you’ll be ready for quirky questions. :slight_smile:

Look through the questions in the CSS FAQ for common problems and bugs (especially haslayout and float bugs) and then browse through the [URL=“http://reference.sitepoint.com/css”]Sitepoint reference to re-enforce your knowledge.

CSS is not really about remembering the exact minute detail of every property as that can be looked up in the reference any time you want. CSS is about understanding how the properties work together and how they are supposed to work and how to apply them correctly. As Einstein said “don’t bother remembering anything you can easily look up” - or words to that effect.

How many people can type a out a full doctype without looking? - and why would you bother? You just cut and paste from code you know is valid. However if someone in a test asks you to do this then the test is not really checking anything but memory.

However, I guess multiple choice type tests can determine whether you have a grasp on what is right and what is wrong and spot errors.

Good Luck :slight_smile: