CSS背景颜色显示另一种颜色

时间:2015-07-15 06:47:48

标签: html css

我有一个工具提示。

工具提示背景颜色为#FFFFFF(白色)。

enter image description here

如果您在工具提示黑线中也看到上面的图像也显示出来。如何使用css删除工具提示中的黑线。

这些是我正在使用的CSS。

.tipsy-inner {

     background-color: #FFFFFF;
     color: black;
     height:30px ! important;
     max-width: 400px ! important;
     padding: 1px 12px -3px 0px ! important;
     text-align: center;
     border: 1px solid black !important;
     border-radius: 8px;
     font-family: Open Sans !important;
     font-size: 1.2em;
     font-weight: normal !important;
}

1 个答案:

答案 0 :(得分:-1)

尝试给你的CSS:

def save(self, *args, **kwargs):
    super(Invoice, self).save(*args, **kwargs)
    invoice_lines = InvoiceLine.objects.filter(invoice=self.pk)
    self.total = 0
    for line in invoice_lines:
        self.total=self.total+line.line_total
    super(Invoice, self).save(*args, **kwargs)
相关问题