Skip to Content
Menu
This question has been flagged
1 Reply
1168 Views

i'ld like to understant more how css syle can be customise.

ex: let's take this views: ...

<div><table><tr><td>...</td></tr> ...</table></div>

if my style is:

table{border-collapse: collapse; border: 2px solid black; width: 100%;}

nothing happens

but when i use attribute class like <div><table class="table"><tr><td>...</td></tr> ...</table></div> and .table{border-collapse: collapse; border: 2px solid black; width: 100%;} thing are like what i want.

i'ld like to use the first case because it avoid me call many times the attribute class (class="table") on balise.

thanks .


Avatar
Discard
Best Answer

You can use the attribute 

style="..."

instead of class. Please check the existing views (using the website builder by choosing "Customize HTML", or by checking QWeb Views under "Technical/Settings/User Interface/Views" in the backend).

Avatar
Discard