css3 - CSS: last-child selector won't work? -


  & lt; div वर्ग = "टिप्पणी लिस्ट" & gt; & Lt; लेख वर्ग = "टिप्पणी" आईडी = "कॉम 21" & gt; & lt; / आलेख & gt; & Lt; आलेख वर्ग = "टिप्पणी" id = "com20" & gt; & lt; / आलेख & gt; & Lt; लेख वर्ग = "टिप्पणी" id = "com19" & gt; & lt; / आलेख & gt; & Lt; / div & gt;   

कोई भी विचार क्यों निम्नलिखित अंतिम-बाल चयनकर्ता मेरे लिए काम नहीं करेगा?

  .comment {width: 470px; सीमा नीचे: 1px बिंदीदार # f0f0f0; margin-bottom: 10px; } .comment: अंतिम-बच्चे {सीमा नीचे: कोई नहीं; margin-bottom: 0; }   

तो इस मामले में # com19 को बॉर्डर नहीं होना चाहिए और तल पर मार्जिन होना चाहिए। मैं यहाँ क्या गलत कर रहा हूं?

धन्यवाद

ऐसा लगता है कि सब कुछ है सही - मैंने बनाया है

समस्या कहीं और है - "सीमा" का मूल्य क्या है? (क्या यह PHP चर है?) यह सुनिश्चित करने के लिए कि आपके कथन का उपयोग किया जाएगा, आप जोड़ सकते हैं! महत्वपूर्ण

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -