(2011-09-27, 01:57 AM)Sama34 Wrote: [ -> ]Yes I know, and if there are three divs, the middle one will have the normal formating.
It is just that sometimes :first-child and :last-child don't do what I want they to do 
table tr:first-child td:last-child{
color:red;
}
![[Image: 20110926185507.png]](https://camo.mybb.com/1182b84ddbf29619b365b4c9bbab11b1e7df66bf/687474703a2f2f696d673834372e696d616765736861636b2e75732f696d673834372f313435302f32303131303932363138353530372e706e67)
nth-child is your friend ;D
@Jason: already knew about this, but it's a nice tutorial anyway

Bumping to share knowledge

.
what is the use of this tut? can you explain please
(2011-10-21, 06:47 PM)adityapavan Wrote: [ -> ]what is the use of this tut? can you explain please
Please read the first post for an explanation.
What else that is cool for css3
(2012-02-11, 10:30 AM)Crypter Wrote: [ -> ]What else that is cool for css3
There is a lot of new stuff in CSS3 thats cool! Some of my favorites are transitions, box-shadow, border-radius and lots more! CSS3 has wonderful possibilities. Maybe I will write up a few more articles on some CSS3 tags when I get more time

.