Difference between revisions of "Template:Boxstyle"

From Wurmpedia
Jump to navigation Jump to search
(Usage example)
m (Updated for cross-browser compatibility for rounded corners.)
Line 7: Line 7:
 
text-align:{{{align|left}}};
 
text-align:{{{align|left}}};
 
-moz-border-radius:10px;
 
-moz-border-radius:10px;
 +
-webkit-border-radius: 10px;
 +
border-radius: 10px;
 +
-khtml-border-radius: 10px;
 
"</includeonly>
 
"</includeonly>
 
<noinclude>Basic styling for table boxes. Usage:
 
<noinclude>Basic styling for table boxes. Usage:

Revision as of 14:36, 17 July 2011

Basic styling for table boxes. Usage:

{{boxstyle
|width=500px (default 60%)
|bgcolor=red (default inherit)
|bordercolor=blue (default black)
|align=right (default left)
}}

All parameters are optional.