Template:Navbox: differenze tra le versioni

Da wikiort.

(+ clear:both;)
m (padding + width)
Riga 8: Riga 8:
 
Dear editors, if you wish to add more items, please make sure that they are in one single line, delimited by space. Otherwise, consecutive boxes made from this template would have space between them.
 
Dear editors, if you wish to add more items, please make sure that they are in one single line, delimited by space. Otherwise, consecutive boxes made from this template would have space between them.
  
--><table class="navbox collapsible {{{state|autocollapse}}}" style="clear:both; margin:auto; {{{style|}}}{{{bodystyle|}}}">
+
--><table class="navbox collapsible {{{state|autocollapse}}}" style="width:100%; clear:both; margin:auto; {{{style|}}}{{{bodystyle|}}}">
 
<tr><!--
 
<tr><!--
  
 
----------------------------------------Titlebar-----------------------------------------
 
----------------------------------------Titlebar-----------------------------------------
--><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center;
+
--><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; padding:0 5px;  
 
<!---deprecated:--->
 
<!---deprecated:--->
 
   {{#if:{{{titlebkg|}}}{{{color|#ccccff}}} |background:{{{titlebkg|}}}{{{color|#ccccff}}};}}
 
   {{#if:{{{titlebkg|}}}{{{color|#ccccff}}} |background:{{{titlebkg|}}}{{{color|#ccccff}}};}}

Versione delle 00:26, 31 dic 2007

Template:T

Template:Navbox/doc