438
edits
m (role="presentation" for layout table) |
m (13 revisions imported from wikipedia:Module:Side_box: see Topic:Vtixlm0q28eo6jtf) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 75: | Line 75: | ||
root:addClass(class) | root:addClass(class) | ||
end | end | ||
root:css{border = '1px solid #aaa', ['background-color'] = '#f9f9f9'} | root:css{border = '1px solid #aaa', ['background-color'] = '#f9f9f9', color = '#000'} | ||
if data.style then | if data.style then | ||
root:cssText(data.style) | root:cssText(data.style) | ||
Line 130: | Line 130: | ||
end | end | ||
root:newline() | |||
return tostring(root) | return tostring(root) | ||
end | end | ||
return p | return p |