html - How can I set a border in alignment with other borders -


मेरे पास निम्न कोड वाला विषय है:

  table.alt {border-collapse: अलग; } table.alt tbody tr td {border: ठोस 1px # e5e5e5; सीमा-बायां-चौड़ाई: 0; सीमा-चौड़ाई: 0; } table.alt tbody tr td: प्रथम-बच्चे {सीमा-बायां-चौड़ाई: 1px; } table.alt tbody tr: प्रथम-बाल टीडी {सीमा-चौड़ाई: 1 पीएक्स; } Table.alt thead {border-bottom: 0; } Table.alt tfoot {सीमा-शीर्ष: 0; }   

जब मैं अपने एचटीएमएल में अपना सीएसएस जोड़ता हूं, तो सीमाएं सही ढंग से गठबंधन नहीं होती हैं। मेरा कोड है:

  table.alt tr th.rightAlignBorderLeft {text-align: right; सीमा-बाएं: ठोस 1px # e5e5e5; }   

यहां एक स्क्रीनशॉट है:

छवि विवरण दर्ज करें यहाँ

मैं ढहने के लिए सीमा-पतन स्थापित नहीं करना चाहता, क्योंकि मेरा डिफ़ॉल्ट थीम कोड बदलना मेरे पृष्ठों को अपनाने के लिए संभव है। मैं इसे कैसे ठीक कर सकता हूं?

संपादित करें: यहां मेरा (नया) बेला है:

मैंने यह तय कर लिया है। मुझे यहां जवाब मिला:

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -