Could somebody explain difference between two question ? (CSS)


#1


`
I can't see difference between two question. are there any differences between both of them ?

ckticks above>


#2

yes,there is.

for the first question
apply the css to paragraph elements directly inside div.

look at your code first two paragraph elements are direct child of div.but inside li paragraph elements are not direct child div. so you have to apply the css for only first two paragraph elements.

for the second one
apply cursive font only to the paragraph inside div.
so here you have to apply the css for all the paragraph elements that are child of div no matter whether it's direct or not.


#3

i think i figured out just now ,

thanks: )


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.