Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5944 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

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

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


Regards

Ảnh đại diện
Huỷ bỏ
Tác giả

thank you so much cybrosys

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 22
4304
0
thg 9 22
2016
0
thg 8 23
1773
1
thg 6 25
1533
3
thg 7 25
3211