Need basic CSS list to memorize

They have: 1 posts

Joined: Sep 2010

I am looking at a way to memorize CSS, of course dreamweaver drops it down as I code but I would like to have the basics in my head.

I looked at www3 schools but it's not always that clear...My biggest problem is don't know what selector can hold what property.I know that can hold "border" and that can hold font-size ect....

But sometimes I don't know and have to keep trying and trying until I get something working...
As pictured in my example,:

http://www.anonsolutions.com/web-design-questions.html

In a element:

This works:

style="background-color:pink"
style="border:dashed"

But this doesn't:

style="border:thick"
style="border-width:thick"

I hope I'm being clear but hard to explain...!

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I think it really just comes with practice. I still occasionally use the autocomplete feature when I can't remember what the values for a property should be.

There are some values that still aren't always supported. For example, for font-weight you can use numeric values as well as relative keywords (bolder, lighter), but I'm not even sure if any browsers support that. Or maybe it's dependent on whether those font variations are installed.... (haven't tested that in ages so I'm not sure). The same could be true for keyword values on border-width - it's just not supported (??)

Quirksmode.org is a good site to look up browser support for different properties.

wanrom's picture

They have: 3 posts

Joined: Aug 2009

Well the way to remember to these things is only practice.
The more you practice on tool the more you remember. If you try to memorize such things you would not be bale to after certain limit.
So it acquire working on toll.

He has: 13 posts

Joined: May 2010

you can get hold of a CSS cheat sheet for reference and it comes very handy.
here is a useful reference
http://media.smashingmagazine.com/wp-content/uploads/images/css3-cheat-s...

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.