Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5940 มุมมอง

How can i add inline css in xml tag? 
<fieldname="date"/>
the css i wanted to add is below 
.o_field_widget.o_datepicker > input {

  1.     padding-right: 25px;

}
i copied this css by inspecting the element for ta date field

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can add the inline css in XML as follows:-

<field name="date" style="padding-right: 25px;"/>


Regards

อวตาร
ละทิ้ง
ผู้เขียน

thank you so much cybrosys

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 22
4304
0
ก.ย. 22
2016
0
ส.ค. 23
1772
1
มิ.ย. 25
1529
3
ก.ค. 25
3210