Best way to learn CSS?
Best way to learn CSS?
Out of context: Reply #46
- Started
- Last post
- 64 Responses
- Projectile0
ok another quick one. Not sure if I missed something out, but in this example, there's one css element of
div.img (the box that the image sits inside)
and another:
div.img img (the actual image)http://www.w3schools.com/css/try…
can anyone explain what this is about? Do they literally just act as 2 different names? surely not- nowhere in the HTML soes it have "img img"
also, if I stretch and image to be, say, 160px wide, what would be the best way to get the text centered in the middle? (well ro do that I'd have to get div.desc centered below the image)